2021-06-06 15:55:04 +00:00
|
|
|
EntityConfig (
|
2021-06-04 23:10:15 +00:00
|
|
|
/// Name of Entity
|
2021-07-11 18:24:44 +00:00
|
|
|
/// Can be Name(String) with given name
|
|
|
|
/// or Automatic which will call automatic name depend on Body
|
|
|
|
/// or Uninit (means it should be specified somewhere in code)
|
|
|
|
name: Name("Paddy"),
|
2021-06-04 23:10:15 +00:00
|
|
|
|
|
|
|
/// Body
|
|
|
|
/// Can be Exact (Body with all fields e.g BodyType, Species, Hair color and such)
|
2021-06-08 22:07:48 +00:00
|
|
|
/// or RandomWith (will generate random body or species)
|
2021-07-04 14:55:52 +00:00
|
|
|
/// or Uninit (means it should be specified somewhere in code)
|
|
|
|
body: RandomWith("humanoid"),
|
|
|
|
|
|
|
|
/// Alignment, can be Uninit
|
|
|
|
alignment: Alignment(Enemy),
|
2021-06-04 23:10:15 +00:00
|
|
|
|
2021-07-10 20:51:29 +00:00
|
|
|
/// Loot
|
|
|
|
/// Can be Item (with asset_specifier for item)
|
|
|
|
/// or LootTable (with asset_specifier for loot table)
|
|
|
|
/// or Uninit (means it should be specified something in the code)
|
|
|
|
loot: LootTable("common.loot_tables.humanoids"),
|
|
|
|
|
2021-07-11 11:28:56 +00:00
|
|
|
/// Hands:
|
2021-07-11 18:24:44 +00:00
|
|
|
/// - TwoHanded(ItemSpec) for one 2h or 1h weapon,
|
2021-07-11 11:28:56 +00:00
|
|
|
/// - Paired(ItemSpec) for two 1h weapons aka berserker mode,
|
|
|
|
/// - Mix {
|
|
|
|
/// mainhand: ItemSpec,
|
|
|
|
/// offhand: ItemSpec,
|
|
|
|
/// } for two different 1h weapons,
|
|
|
|
/// - Uninit which means that tool should be specified somewhere in code,
|
|
|
|
/// Where ItemSpec is taken from loadout_builder module
|
|
|
|
hands: TwoHanded(Item("common.items.weapons.sword.cultist")),
|
2021-06-04 23:10:15 +00:00
|
|
|
|
2021-07-10 20:51:29 +00:00
|
|
|
/// Meta Info
|
|
|
|
/// Possible fields:
|
|
|
|
/// LoadoutAsset(String) with asset_specifier for loadout
|
|
|
|
/// SkillSetAsset(String) with asset_specifier for skillset
|
|
|
|
meta: [
|
|
|
|
LoadoutAsset("common.loadout.village.merchant"),
|
|
|
|
SkillSetAsset("common.skillset.village.merchant"),
|
|
|
|
],
|
2021-06-06 15:55:04 +00:00
|
|
|
)
|