roguelike-game/raws/spawns.json

422 lines
7.6 KiB
JSON

{
"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",
"renderable": {
"glyph": "!",
"fg": "#FF00FF",
"bg": "#000000",
"order": 2
},
"consumable": {
"effects": {
"provides_healing": "8"
}
}
},
{
"name": "Magic Missile Scroll",
"renderable": {
"glyph": ")",
"fg": "#00FFFF",
"bg": "#000000",
"order": 2
},
"consumable": {
"effects": {
"ranged": "6",
"damage": "20"
}
}
},
{
"name": "Fireball Scroll",
"renderable": {
"glyph": ")",
"fg": "#FFA500",
"bg": "#000000",
"order": 2
},
"consumable": {
"effects": {
"ranged": "6",
"damage": "20",
"area_of_effect": "3"
}
}
},
{
"name": "Confusion Scroll",
"renderable": {
"glyph": ")",
"fg": "#FFAAAA",
"bg": "#000000",
"order": 2
},
"consumable": {
"effects": {
"ranged": "6",
"damage": "20",
"confusion": "4"
}
}
},
{
"name": "Magic Mapping Scroll",
"renderable": {
"glyph": ")",
"fg": "#AAAAFF",
"bg": "#000000",
"order": 2
},
"consumable": {
"effects": {
"magic_mapping": ""
}
}
},
{
"name": "Rations",
"renderable": {
"glyph": "%",
"fg": "#00FF00",
"bg": "#000000",
"order": 2
},
"consumable": {
"effects": {
"food": ""
}
}
},
{
"name": "Dagger",
"renderable": {
"glyph": "/",
"fg": "#FFAAAA",
"bg": "#000000",
"order": 2
},
"weapon": {
"range": "melee",
"power_bonus": 2
}
},
{
"name": "Longsword",
"renderable": {
"glyph": "/",
"fg": "#FFAAFF",
"bg": "#000000",
"order": 2
},
"weapon": {
"range": "melee",
"power_bonus": 4
}
},
{
"name": "Battleaxe",
"renderable": {
"glyph": "¶",
"fg": "#FF55FF",
"bg": "#000000",
"order": 2
},
"weapon": {
"range": "melee",
"power_bonus": 5
}
},
{
"name": "Shield",
"renderable": {
"glyph": "[",
"fg": "#00AAFF",
"bg": "#000000",
"order": 2
},
"shield": {
"defense_bonus": 1
}
},
{
"name": "Tower Shield",
"renderable": {
"glyph": "[",
"fg": "#00FFFF",
"bg": "#000000",
"order": 2
},
"shield": {
"defense_bonus": 3
}
}
],
"mobs": [
{
"name": "Orc",
"renderable": {
"glyph": "o",
"fg": "#FF0000",
"bg": "#000000",
"order": 1
},
"blocks_tile": true,
"stats": {
"max_hp": 16,
"hp": 16,
"defense": 1,
"power": 4
},
"vision_range": 8,
"ai": "melee"
},
{
"name": "Goblin",
"renderable": {
"glyph": "g",
"fg": "#FF0000",
"bg": "#000000",
"order": 1
},
"blocks_tile": true,
"stats": {
"max_hp": 8,
"hp": 8,
"defense": 1,
"power": 3
},
"vision_range": 8,
"ai": "melee"
},
{
"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,
"ai": "melee"
},
{
"name": "Barkeep",
"renderable": {
"glyph": "☺",
"fg": "#EE82EE",
"bg": "#000000",
"order": 1
},
"blocks_tile": true,
"stats": {
"max_hp": 16,
"hp": 16,
"defense": 1,
"power": 4
},
"vision_range": 4,
"ai": "bystander"
},
{
"name": "Shady Salesman",
"renderable": {
"glyph": "h",
"fg": "#EE82EE",
"bg": "#000000",
"order": 1
},
"blocks_tile": true,
"stats": {
"max_hp": 16,
"hp": 16,
"defense": 1,
"power": 4
},
"vision_range": 4,
"ai": "bystander"
},
{
"name": "Patron",
"renderable": {
"glyph": "☺",
"fg": "#AAAAAA",
"bg": "#000000",
"order": 1
},
"blocks_tile": true,
"stats": {
"max_hp": 16,
"hp": 16,
"defense": 1,
"power": 4
},
"vision_range": 4,
"ai": "bystander"
}
],
"props": [
{
"name": "Bear Trap",
"renderable": {
"glyph": "^",
"fg": "#FF0000",
"bg": "#000000",
"order": 2
},
"hidden": true,
"entry_trigger": {
"effects": {
"damage": "6",
"single_activation": "1"
}
}
},
{
"name": "Door",
"renderable": {
"glyph": "+",
"fg": "#805A46",
"bg": "#000000",
"order": 2
},
"hidden": false,
"blocks_tile": true,
"blocks_visibility": true,
"door_open": true
},
{
"name": "Keg",
"renderable": {
"glyph": "φ",
"fg": "#AAAAAA",
"bg": "#000000",
"order": 2
},
"hidden": false
},
{
"name": "Table",
"renderable": {
"glyph": "╦",
"fg": "#AAAAAA",
"bg": "#000000",
"order": 2
},
"hidden": false
},
{
"name": "Chair",
"renderable": {
"glyph": "└",
"fg": "#AAAAAA",
"bg": "#000000",
"order": 2
},
"hidden": false
}
]
}