2018-03-21 05:56:33 +00:00
|
|
|
// WIP - Experimental adventure plugin, this might find a new home soon, but it's here to stress test Gosora's extensibility for now
|
2019-10-11 00:36:08 +00:00
|
|
|
package extend
|
2018-03-21 05:56:33 +00:00
|
|
|
|
2022-02-21 03:53:13 +00:00
|
|
|
import c "git.tuxpa.in/a/gosora/common"
|
2018-03-21 05:56:33 +00:00
|
|
|
|
|
|
|
func init() {
|
2022-02-21 03:53:13 +00:00
|
|
|
c.Plugins.Add(&c.Plugin{
|
|
|
|
UName: "adventure",
|
|
|
|
Name: "Adventure",
|
|
|
|
Tag: "WIP",
|
|
|
|
Author: "Azareal",
|
|
|
|
URL: "https://github.com/Azareal",
|
|
|
|
Init: initAdventure,
|
|
|
|
Deactivate: deactivateAdventure,
|
|
|
|
Install: installAdventure,
|
|
|
|
})
|
2018-03-21 05:56:33 +00:00
|
|
|
}
|
|
|
|
|
2019-11-10 02:37:53 +00:00
|
|
|
func initAdventure(pl *c.Plugin) error {
|
2022-02-21 03:53:13 +00:00
|
|
|
return nil
|
2018-03-21 05:56:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: Change the signature to return an error?
|
2019-11-10 02:37:53 +00:00
|
|
|
func deactivateAdventure(pl *c.Plugin) {
|
2018-03-21 05:56:33 +00:00
|
|
|
}
|
|
|
|
|
2019-11-10 02:37:53 +00:00
|
|
|
func installAdventure(pl *c.Plugin) error {
|
2022-02-21 03:53:13 +00:00
|
|
|
return nil
|
2018-03-21 05:56:33 +00:00
|
|
|
}
|