Adds a 'lists' system for convenience. Modified stealth and step up to use.
This lets talents / effects add themselves to lists at appropriate times. Bascially, just a quicker way than searching for all applied talents/effects for a specific tag. Talents can have a sustain_lists and a learn_lists field. Effects just have a lists field. Example: talent A has the following: learn_lists = {'red', {'blue', 'green'}} When you learn it, your character now has the following fields: self.red = {'T_A'} self.blue.green = {'T_A'} Modified stealth and step up to use this system. So, to make something break when step up does, just add it to the 'break_with_step_up' list.
Showing
- game/engines/default/engine/interface/ActorTalents.lua 52 additions, 0 deletionsgame/engines/default/engine/interface/ActorTalents.lua
- game/engines/default/engine/interface/ActorTemporaryEffects.lua 27 additions, 0 deletions...ngines/default/engine/interface/ActorTemporaryEffects.lua
- game/engines/default/engine/utils.lua 20 additions, 0 deletionsgame/engines/default/engine/utils.lua
- game/modules/tome/class/Actor.lua 23 additions, 19 deletionsgame/modules/tome/class/Actor.lua
- game/modules/tome/data/talents/cunning/stealth.lua 4 additions, 1 deletiongame/modules/tome/data/talents/cunning/stealth.lua
- game/modules/tome/data/timed_effects/physical.lua 7 additions, 2 deletionsgame/modules/tome/data/timed_effects/physical.lua
Loading
Please register or sign in to comment