mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
30 lines
1.2 KiB
Rust
30 lines
1.2 KiB
Rust
#![enable(implicit_some)]
|
|
(
|
|
name: Name("Traveler"),
|
|
body: RandomWith("humanoid"),
|
|
alignment: Alignment(Npc),
|
|
loot: LootTable("common.loot_tables.world.traveler1"),
|
|
inventory: (
|
|
loadout: Inline((
|
|
inherit: Choice([
|
|
(1, Asset("common.loadout.world.traveler1.iron")),
|
|
(1, Asset("common.loadout.world.traveler1.leather")),
|
|
(1, Asset("common.loadout.world.traveler1.wool")),
|
|
]),
|
|
active_hands: InHands((Choice([
|
|
(1, ModularWeapon(tool: Sword, material: Iron, hands: None)),
|
|
(1, ModularWeapon(tool: Axe, material: Iron, hands: None)),
|
|
(1, ModularWeapon(tool: Hammer, material: Iron, hands: None)),
|
|
(1, ModularWeapon(tool: Bow, material: Bamboo, hands: None)),
|
|
(1, ModularWeapon(tool: Staff, material: Bamboo, hands: None)),
|
|
(1, ModularWeapon(tool: Sceptre, material: Bamboo, hands: None)),
|
|
]), None)),
|
|
)),
|
|
items: [
|
|
(25, "common.items.consumable.potion_minor"),
|
|
],
|
|
),
|
|
meta: [
|
|
SkillSetAsset("common.skillset.preset.rank2.fullskill"),
|
|
],
|
|
) |