mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
d04364b1f1
+ Check equip_slot can hold item in LoadoutBuilder
20 lines
582 B
Plaintext
20 lines
582 B
Plaintext
EntityConfig (
|
|
// name is specified outsite
|
|
name: None,
|
|
body: RandomWith("humanoid"),
|
|
alignment: Alignment(Npc),
|
|
|
|
loot: Uninit,
|
|
|
|
hands: TwoHanded(Choice([
|
|
(1.0, Some(Item("common.items.weapons.tool.broom"))),
|
|
(1.0, Some(Item("common.items.weapons.tool.hoe"))),
|
|
(1.0, Some(Item("common.items.weapons.tool.pickaxe"))),
|
|
(1.0, Some(Item("common.items.weapons.tool.rake"))),
|
|
(1.0, Some(Item("common.items.weapons.tool.shovel-0"))),
|
|
(1.0, Some(Item("common.items.weapons.tool.shovel-1"))),
|
|
])),
|
|
|
|
meta: [],
|
|
)
|