RunesOptions beta
Interface of @v12-engine/engine
ts
export interface RunesOptionsWhat the runes pack is made with (runesPack)
Members
every
ts
every?: number;How many ticks apart the ground is looked over for who walked onto a rune: 3 when left out
powerUp
ts
powerUp?: (item: ItemDef) => boolean;Whether an item is used as it is picked up, in code: its powerUp when left out
takes
ts
takes?: (world: World, entity: Entity, item: GroundItem) => boolean;Who picks one up by walking over it: any unit of a player's, not hidden, when left out