Add entities templates
This commit is contained in:
parent
a0b0bd5c73
commit
269cf501cf
36
resources/template.ron
Normal file
36
resources/template.ron
Normal file
@ -0,0 +1,36 @@
|
||||
Templates(
|
||||
entities: [
|
||||
Template(
|
||||
entity_type: Item,
|
||||
name: "Healing Potion",
|
||||
glyph: '!',
|
||||
levels: [0, 1, 2],
|
||||
provides: Some([ ("Healing", 6) ]),
|
||||
frequency: 2,
|
||||
),
|
||||
Template(
|
||||
entity_type: Item,
|
||||
name: "Dungeon Map",
|
||||
glyph: '{',
|
||||
levels: [0, 1, 2],
|
||||
provides: Some([ ("MagicMap", 0) ]),
|
||||
frequency: 1,
|
||||
),
|
||||
Template(
|
||||
entity_type: Enemy,
|
||||
name: "Goblin",
|
||||
glyph: 'g',
|
||||
levels: [0, 1, 2],
|
||||
hp: Some(1),
|
||||
frequency: 3,
|
||||
),
|
||||
Template(
|
||||
entity_type: Enemy,
|
||||
name: "Orc",
|
||||
glyph: 'o',
|
||||
levels: [0, 1, 2],
|
||||
hp: Some(2),
|
||||
frequency: 2,
|
||||
),
|
||||
]
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user