Skip to content
Snippets Groups Projects

Further Object resolvers updates

Merged Hachem_Muche requested to merge Hachem_Muche/t-engine4:ObjectResolversUpdate into master
  1. May 29, 2017
    • Hachem_Muche's avatar
      Streamlined base_list handling in game.zone:makeEntity (and... · 466573d3
      Hachem_Muche authored
      Streamlined base_list handling in game.zone:makeEntity (and resolvers.resolveObject) to prevent excessive reloading and processing entity lists.
      Priority is type (if a base_list) then filter.base_list
      
      Actor:addedToLevel: escorts will get an appropriate faction (hard_faction, game.zone.special_level_faction, summoner.faction)
      
      game.state:applyRandomClass: converted equipment resolvers will allow power_source.nature (for Psyshots)
      
      The I.D. sets special_level_faction = "enemies" for NPCs created after level generation
      
      dialogs/debug/DebugMain.lua: fixed a bug that could cause no exp to be awarded when killing NPCs
      466573d3
Loading