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)
14 lines
433 B
Plaintext
14 lines
433 B
Plaintext
EntityConfig (
|
|
name: Some("Gnarling Stalker"),
|
|
body: RandomWith("gnarling"),
|
|
alignment: Alignment(Enemy),
|
|
|
|
loot: Some(LootTable("common.loot_tables.dungeon.tier-0.enemy")),
|
|
|
|
main_tool: Some(Item("common.items.npc_weapons.biped_small.gnarling.adlet_bow")),
|
|
second_tool: None,
|
|
|
|
loadout_asset: Some("common.loadout.dungeon.tier-0.gnarling"),
|
|
skillset_asset: Some("common.skillset.dungeon.tier-0.bow"),
|
|
)
|