dream
Contains all the behavior needed to play a kind of dream. All dream types get randomly selected from based on weight when an appropriate mobs dreams.
Vars | |
sleep_until_finished | Causes the mob to sleep long enough for the dream to finish if begun |
---|---|
weight | The relative chance this dream will be randomly selected |
Procs | |
GenerateDream | Called when beginning a new dream for the dreamer. Gives back a list of dream events. Events can be text or callbacks that return text. |
OnDreamEnd | Called when the dream ends or is interrupted. |
Var Details
sleep_until_finished
Causes the mob to sleep long enough for the dream to finish if begun
weight
The relative chance this dream will be randomly selected
Proc Details
GenerateDream
Called when beginning a new dream for the dreamer. Gives back a list of dream events. Events can be text or callbacks that return text.
OnDreamEnd
Called when the dream ends or is interrupted.