mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
14ac9a8b4e
* rename LoadoutBuilder::new to LoadoutBuilder::empty * remove LoadoutBuilder::default as Default makes no sense here * move comments from template.ron to EntityConfig struct * add FIXME comments to split EntityConfig into EntityBase and EntityExtension
19 lines
518 B
Plaintext
19 lines
518 B
Plaintext
/// Template file for EntityConfig, check documentation in code for more
|
|
/// By the time of writing this comment it lives in common/src/generation.rs
|
|
EntityConfig (
|
|
name: Name("Paddy"),
|
|
|
|
body: RandomWith("humanoid"),
|
|
|
|
alignment: Alignment(Enemy),
|
|
|
|
loot: LootTable("common.loot_tables.humanoids"),
|
|
|
|
hands: TwoHanded(Item("common.items.weapons.sword.cultist")),
|
|
|
|
meta: [
|
|
LoadoutAsset("common.loadout.village.merchant"),
|
|
SkillSetAsset("common.skillset.village.merchant"),
|
|
],
|
|
)
|