-
- Downloads
dialogs.debug.SummonCreature, dialogs.debug.RandomActor:
Actors are fully resolved before added: including "addedToLevel", "on_added", "on_added_to_level" (except spawning escorts) updating for game difficulty, etc. on generation, before adding Uniques (including inventory items) are not registered in the game until the actor is actually placed. dialogs.debug:RandomObject: Can set the working actor to be a NPC (defaults to the player) New button/hotkeys to open the working actor character sheet and inventory screens Can select from one of several object resolvers, which will call the appropriate code and resolve the object. This works like other object generation, allowing preview/inspection before adding the object to the game, which is controlled by the selected resolver as normal Uniques created are not registered until actually added to the game. CharacterSheet: can always open the inventory dialog in debug mode
parent
2e731c01
No related branches found
No related tags found
Showing
- game/modules/tome/class/Actor.lua 146 additions, 31 deletionsgame/modules/tome/class/Actor.lua
- game/modules/tome/class/GameState.lua 100 additions, 45 deletionsgame/modules/tome/class/GameState.lua
- game/modules/tome/class/NPC.lua 37 additions, 49 deletionsgame/modules/tome/class/NPC.lua
- game/modules/tome/class/Object.lua 8 additions, 53 deletionsgame/modules/tome/class/Object.lua
- game/modules/tome/dialogs/CharacterSheet.lua 1 addition, 1 deletiongame/modules/tome/dialogs/CharacterSheet.lua
- game/modules/tome/dialogs/debug/CreateItem.lua 25 additions, 14 deletionsgame/modules/tome/dialogs/debug/CreateItem.lua
- game/modules/tome/dialogs/debug/RandomActor.lua 8 additions, 23 deletionsgame/modules/tome/dialogs/debug/RandomActor.lua
- game/modules/tome/dialogs/debug/RandomObject.lua 336 additions, 123 deletionsgame/modules/tome/dialogs/debug/RandomObject.lua
- game/modules/tome/dialogs/debug/SummonCreature.lua 35 additions, 0 deletionsgame/modules/tome/dialogs/debug/SummonCreature.lua
- game/modules/tome/resolvers.lua 391 additions, 184 deletionsgame/modules/tome/resolvers.lua
Loading
Please register or sign in to comment