veloren/assets/common/entity/village/guard.ron
juliancoffee d920f911a2 Add Exact body field for EntityConfig
Add Alignment field to EntityConfig

+ Migrate to specifying alignment and body in entity assets
+ Make Body required field (with Uninit if you want to specify it later)
2021-07-17 15:37:30 +03:00

14 lines
297 B
Plaintext

EntityConfig (
name: Some("Guard"),
body: RandomWith("humanoid"),
alignment: Alignment(Npc),
loot: None,
main_tool: Some(Item("common.items.weapons.sword.iron-4")),
second_tool: None,
loadout_asset: None,
skillset_asset: Some("common.skillset.village.guard"),
)