T4 Modules Howto Guide/Resolvers

From Tales of Maj'Eyal
Revision as of 14:45, 23 February 2016 by Zireael (Talk | contribs) (start work on resolvers page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Resolvers

Entities work with resolvers. Basically, every time you need a given entity to be different from other entities created from the same table. For instance, this allows every orc to have a slightly different equipment - by using an equip resolver.

Resolvers can have a _resolve_last flag set, this means they only get resolved on the last pass in entity creation (after all egos are applied).

Entities can also have an instant_resolve flag, which is especially useful for appending to names and/or egos.