Skip to content
Commit f110d8b3 authored by Hachem_Muche's avatar Hachem_Muche
Browse files

engine.zone:addEntity will not apply actor_adjust_level more than once

Updated resolvers.talented_ai_tactic to work correctly after multiple calls (solves an upvalue issue)

Added a new Dialog: RandomActor accessible from the SummonCreature dialog (" Random Actor"):
Randomly generates actors based on an input filter or Randombosses based on generation data and the current random actor (if available).

Added a new Dialog: RandomObject accessible from the CreateItem dialog (" Random Object"):
Randomly generates objects based on an input filter, randomly generates base objects ready for conversion to Randarts, and creates Randarts based on the base object (if available or random) plus generation data.

The new dialogs include context sensitive help and allow generated actors and objects to be previewed via tooltip, character sheet, and lua inspect.  Keybinds ctrl-c and ctrl-v allow Filters and Data (text) to be copied and pasted to/from the appropriate dialog inputs, facilitating development and testing of source code.

Entity generation uses the current zone's npc and object lists and runs in the Lua Console environment.

The destination of objects in the debugging dialogs can be selected:  either Player Inventory (default), Drop at player position, or NPC inventory for a target actor.

The debug dialogs are not cancelled when placing creatures or objects, allowing multiple entities to be created without reopening them.
parent 8027e369
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment