16 lines
403 B
Go
16 lines
403 B
Go
package conditions
|
|
|
|
import (
|
|
"github.com/inkyblackness/hacked/ss1/content/interpreters"
|
|
)
|
|
|
|
var gameVariable = interpreters.New().
|
|
With("VariableKey", 0, 2).As(interpreters.SpecialValue("VariableCondition")).
|
|
With("Value", 2, 1).
|
|
With("MessageIndex", 3, 1)
|
|
|
|
// GameVariable returns the description for a game variable condition.
|
|
func GameVariable() *interpreters.Description {
|
|
return gameVariable
|
|
}
|