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)
19 lines
633 B
Plaintext
19 lines
633 B
Plaintext
EntityConfig (
|
|
name: Some("Beastmaster"),
|
|
body: RandomWith("humanoid"),
|
|
alignment: Alignment(Enemy),
|
|
|
|
loot: Some(LootTable("common.loot_tables.dungeon.tier-5.miniboss")),
|
|
|
|
main_tool: Some(Choice([
|
|
(1.0, Some(Item("common.items.weapons.axe.malachite_axe-0"))),
|
|
(1.0, Some(Item("common.items.weapons.sword.bloodsteel-1"))),
|
|
(1.0, Some(Item("common.items.weapons.bow.velorite"))),
|
|
])),
|
|
second_tool: None,
|
|
|
|
loadout_asset: Some("common.loadout.dungeon.tier-5.beastmaster"),
|
|
// TODO: make own skillset for him?
|
|
skillset_asset: Some("common.skillset.dungeon.tier-5.enemy"),
|
|
)
|