Adding modding folder with a hacked build.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package conditions
|
||||
|
||||
import (
|
||||
"github.com/inkyblackness/hacked/ss1/content/interpreters"
|
||||
)
|
||||
|
||||
var objectType = interpreters.New().
|
||||
With("ObjectType", 0, 3).As(interpreters.SpecialValue("ObjectTriple"))
|
||||
|
||||
var objectID = interpreters.New().
|
||||
With("ObjectID", 0, 2).As(interpreters.ObjectID())
|
||||
|
||||
// ObjectType returns a condition description for object types.
|
||||
func ObjectType() *interpreters.Description {
|
||||
return objectType
|
||||
}
|
||||
|
||||
// ObjectID returns a condition description for object indices.
|
||||
func ObjectID() *interpreters.Description {
|
||||
return objectID
|
||||
}
|
||||
Reference in New Issue
Block a user