01a692ab5b
Added tests for the word filter store. Added qgen.NewAcc() to reduce the amount of boilerplate needed for creating an accumulator. Exposed the RecordError method on the accumulator. Added an Add method to PluginList and removed AddPlugin() in favour of that. More panel buttons on Nox should be styled now. Added the panel_update_button_text phrase for future use. More errors might be caught in the thumbnailer now. Removed ls from .travis.yml, it was there for debugging Code Climate.
30 lines
635 B
Go
30 lines
635 B
Go
// WIP - Experimental adventure plugin, this might find a new home soon, but it's here to stress test Gosora's extensibility for now
|
|
package main
|
|
|
|
import "./common"
|
|
|
|
func init() {
|
|
common.Plugins.Add(&common.Plugin{
|
|
UName: "adventure",
|
|
Name: "Adventure",
|
|
Tag: "WIP",
|
|
Author: "Azareal",
|
|
URL: "https://github.com/Azareal",
|
|
Init: initAdventure,
|
|
Deactivate: deactivateAdventure,
|
|
Install: installAdventure,
|
|
})
|
|
}
|
|
|
|
func initAdventure() error {
|
|
return nil
|
|
}
|
|
|
|
// TODO: Change the signature to return an error?
|
|
func deactivateAdventure() {
|
|
}
|
|
|
|
func installAdventure() error {
|
|
return nil
|
|
}
|