From 5d7f9e509f19ef54ccaa95d27c3fa246a1ad938d Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 23 Dec 2021 13:08:14 -0500 Subject: [PATCH] Add a new weapon and new enemy type in the raws --- raws/spawns.json | 125 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/raws/spawns.json b/raws/spawns.json index 36f1bfe..e44b217 100644 --- a/raws/spawns.json +++ b/raws/spawns.json @@ -1,4 +1,99 @@ { + "spawn_table": [ + { + "name": "Goblin", + "weight": 10, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Orc", + "weight": 1, + "min_depth": 0, + "max_depth": 100, + "add_map_depth_to_weight": true + }, + { + "name": "Kobold", + "weight": 15, + "min_depth": 0, + "max_depth": 3 + }, + { + "name": "Health Potion", + "weight": 7, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Fireball Scroll", + "weight": 2, + "min_depth": 0, + "max_depth": 100, + "add_map_depth_to_weight": true + }, + { + "name": "Confusion Scroll", + "weight": 2, + "min_depth": 0, + "max_depth": 100, + "add_map_depth_to_weight": true + }, + { + "name": "Magic Missile Scroll", + "weight": 4, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Dagger", + "weight": 3, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Shield", + "weight": 3, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Longsword", + "weight": 1, + "min_depth": 1, + "max_depth": 100 + }, + { + "name": "Battleaxe", + "weight": 1, + "min_depth": 2, + "max_depth": 100 + }, + { + "name": "Tower Shield", + "weight": 1, + "min_depth": 1, + "max_depth": 100 + }, + { + "name": "Rations", + "weight": 10, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Magic Mapping Scroll", + "weight": 2, + "min_depth": 0, + "max_depth": 100 + }, + { + "name": "Bear Trap", + "weight": 5, + "min_depth": 0, + "max_depth": 100 + } + ], "items": [ { "name": "Health Potion", @@ -115,6 +210,19 @@ "power_bonus": 4 } }, + { + "name": "Battleaxe", + "renderable": { + "glyph": "ΒΆ", + "fg": "#FF55FF", + "bg": "#000000", + "order": 2 + }, + "weapon": { + "range": "melee", + "power_bonus": 5 + } + }, { "name": "Shield", "renderable": { @@ -174,6 +282,23 @@ "power": 3 }, "vision_range": 8 + }, + { + "name": "Kobold", + "renderable": { + "glyph": "k", + "fg": "#FF0000", + "bg": "#000000", + "order": 1 + }, + "blocks_tile": true, + "stats": { + "max_hp": 4, + "hp": 4, + "defense": 0, + "power": 2 + }, + "vision_range": 4 } ], "props": [