blob: 8c4c7523236ef0880a0ab18db80141638ef9efce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package object
import "thehouseoficarus/internal/action"
type UseInteraction struct {
Item string `yaml:"item"`
Condition *action.Condition `yaml:"condition"`
Message string `yaml:"message"`
Action *action.NodeAction `yaml:"action"`
}
type ObjectDef struct {
ID string `yaml:"id"`
Name string `yaml:"name"`
Color string `yaml:"color"`
BehaviorID string `yaml:"behavior"`
Hidden bool `yaml:"hidden"`
InRoomDescription string `yaml:"inroom_description"`
RemovalItem string `yaml:"removal_item"`
Description string `yaml:"description"`
UseInteractions []UseInteraction `yaml:"use_interactions"`
StealTable string `yaml:"steal_table"`
StealLevel int `yaml:"steal_level"`
StealXP int `yaml:"steal_xp"`
StealSpeed float64 `yaml:"steal_speed"`
GuardMob string `yaml:"guard_mob"`
}
|