mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
d920f911a2
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)
17 lines
470 B
Plaintext
17 lines
470 B
Plaintext
EntityConfig (
|
|
name: Some("Cultist Warlock"),
|
|
body: RandomWith("cultist_warlock"),
|
|
alignment: Alignment(Enemy),
|
|
|
|
loot: Some(LootTable("common.loot_tables.dungeon.tier-5.enemy")),
|
|
|
|
main_tool: Some(Choice([
|
|
(1.5, Some(Item("common.items.npc_weapons.staff.bipedlarge-cultist"))),
|
|
(1.0, Some(Item("common.items.npc_weapons.bow.bipedlarge-velorite"))),
|
|
])),
|
|
second_tool: None,
|
|
|
|
loadout_asset: None,
|
|
skillset_asset: None,
|
|
)
|