Add a new weapon and new enemy type in the raws

This commit is contained in:
Timothy Warren 2021-12-23 13:08:14 -05:00
parent c1222294d0
commit 5d7f9e509f

View File

@ -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": [ "items": [
{ {
"name": "Health Potion", "name": "Health Potion",
@ -115,6 +210,19 @@
"power_bonus": 4 "power_bonus": 4
} }
}, },
{
"name": "Battleaxe",
"renderable": {
"glyph": "¶",
"fg": "#FF55FF",
"bg": "#000000",
"order": 2
},
"weapon": {
"range": "melee",
"power_bonus": 5
}
},
{ {
"name": "Shield", "name": "Shield",
"renderable": { "renderable": {
@ -174,6 +282,23 @@
"power": 3 "power": 3
}, },
"vision_range": 8 "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": [ "props": [