Appearance
twine / MobModuleOpts
Interface: MobModuleOpts โ
Defined in: twine/src/mob/types.ts:7
Extra module metadata toModule passes straight through.
Extends โ
MobOptions
Properties โ
dimension? โ
optionaldimension?:Dimension
Defined in: twine/src/mob/types.ts:8
group? โ
optionalgroup?:string
Defined in: twine/src/mob/types.ts:10
Its page in the admin mob menu (/function <ns>:mobs). Defaults to "Other".
menu? โ
optionalmenu?:false
Defined in: twine/src/mob/types.ts:14
false keeps it out of the menu.
tags? โ
optionaltags?:string[]
Defined in: twine/src/mob/types.ts:12
More menu pages it shows on, one per tag.
tickEvery? โ
optionaltickEvery?:number
Defined in: spool/dist/plugins/mob/types.d.ts:6
How often, in ticks, the caller runs Mob.tick (default 2). Gesture timings are counted in these polls.
Inherited from โ
MobOptions.tickEvery
wakeRange? โ
optionalwakeRange?:number
Defined in: spool/dist/plugins/mob/types.d.ts:12
How near a player must be for the mob to run at all. Default 48, checked once a second.
Keep it above the mob's FOLLOW_RANGE so it wakes before it aggros.
Inherited from โ
MobOptions.wakeRange