| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Failed reactivation was causing error messages on travel to
off-level stashes, for example.
_loadlev_populate_stair_distances reactivates all markers, so
markers should probably handle reactivatiion gracefully.
Not sure this is the correct way to handle things, however.
|
| |
|
| |
|
|
|
|
|
|
|
| |
monster_dies now uses the full name of the monster, rather than the name
of the monster's type.
Fixed error with using slave markers.
|
|
|
|
|
| |
"listen_to_slaves" shouldn't apply to global events, only
position-dependent events.
|
|
|
|
|
|
| |
item_pickup_change_flags (and the underlying DgnTriggerable) can take
the item name "auto", in which case it automatically picks the item
placed on top of the marker.
|
| |
|
|
|
|
|
|
| |
Master markers can now listen to events happening at slave markers by
setting the property "listen_to_slaves", and can only trigger at the
slave marker which had the event by also setting "only_at_slave".
|
|
|
|
| |
And make it use lmark.marshall_table and lmark.unmarshall_table instead.
|
|
|
|
|
|
|
|
| |
Triggerable now handles listeners, and DgnTriggerer now handles turn and
entered_level events. For turn events, DgnTriggerer also handles
randomized, repeating countdowns.
Also added a TriggerableFunction class.
|
| |
|
|
|
|
|
| |
The Triggerable class can now handle master/slave marker logic. See
dis_mu in hells.des for an example.
|
|
|
|
| |
chained_fog_machine now performs relevant lmark.synchronized_markers modification to fog machines. Provided documentation for this. Cleaned up volcano.des, removed some unused functions and fixed some line lengths, other minor corrections.
|
|
|
|
|
| |
Start of triggerable/function_machine merger: use triggerable class
TriggerableMessage for messages instead of message_machine.
|
|
|
|
| |
DgnTriggerer now handles the dungeon event player_move and player_los.
|
|
|
|
|
| |
Use a method-dispatch type mechanism to deal with the different types of
dungeon events, rather than a long series of "elseif"s.
|
|
A new framework for Lua markers, similar to the observable/observer
design pattern, which decouples the thing being activated from the thing
watching for the activating condition. This makes it easier to create
new types of Lua markers which are triggered by dungeon events, and
easier to add new triggering conditions to already existing marker
types. Currently only ChangeFlags (clua/lm_flags.lua) and
MonsterOnTrigger (clua/lm_monst.lua) use it.
|