June 2021
Beginner
344 pages
8h 9m
English
Rusty swords are handy. Shiny swords look nice. But an impractically enormous sword that slices and dices your foes—well, that’s the stuff of legends.
Fortunately, you now have all of the tools you need to add more weapons to the game.
Open resources/template.ron and add some more sword types:
| | Template( |
| | entity_type: Item, |
| | name : "Rusty Sword", glyph: 's', levels: [ 0, 1, 2 ], |
| | frequency: 1, |
| | base_damage: Some(1) |
| | ), |
| | Template( |
| | entity_type: Item, |
| | name : "Shiny Sword", glyph: 'S', levels: [ 0, 1, 2 ], |
| | frequency: 1, |
| | base_damage: Some(2) |
| | ), |
| | Template( |
| | entity_type: Item, |
| | name : "Huge Sword", glyph: '/', levels: [ 1, 2 ], |
| | frequency: 1, |
| | base_damage: ... |
Read now
Unlock full access