tweaks and wasm build for w3

This commit is contained in:
Llywelwyn 2023-07-25 17:08:11 +01:00
parent 1c956cdf58
commit 1b4d0c2c4b
9 changed files with 96 additions and 42 deletions

View file

@ -50,7 +50,7 @@
},
{
"id": "scroll_magicmap_cursed",
"name": { "name": "scroll of magic mapping", "plural": "scrolls of magic mapping" },
"name": { "name": "cursed scroll of magic mapping", "plural": "cursed scrolls of magic mapping" },
"renderable": { "glyph": "?", "fg": "#00FFFF", "bg": "#000000", "order": 2 },
"flags": ["CONSUMABLE", "DESTRUCTIBLE", "CURSED"],
"effects": { "magicmapper": "" }
@ -69,6 +69,13 @@
"flags": ["EQUIP_MELEE"],
"effects": { "melee_power_bonus": "2" }
},
{
"id": "equip_longsword",
"name": { "name": "longsword", "plural": "longswords" },
"renderable": { "glyph": ")", "fg": "#FFF8DC", "bg": "#000000", "order": 2 },
"flags": ["EQUIP_MELEE"],
"effects": { "melee_power_bonus": "3" }
},
{
"id": "equip_smallshield",
"name": { "name": "buckler", "plural": "bucklers" },
@ -78,11 +85,18 @@
},
{
"id": "equip_mediumshield",
"name": { "name": "medium shield", "plural": "medium shield" },
"name": { "name": "medium shield", "plural": "medium shields" },
"renderable": { "glyph": "[", "fg": "#C0C0C0", "bg": "#000000", "order": 2 },
"flags": ["EQUIP_SHIELD"],
"effects": { "defence_bonus": "2", "melee_power_bonus": "-1" }
},
{
"id": "equip_largeshield",
"name": { "name": "large shield", "plural": "large shields" },
"renderable": { "glyph": "[", "fg": "#FFF8DC", "bg": "#000000", "order": 2 },
"flags": ["EQUIP_SHIELD"],
"effects": { "defence_bonus": "4", "melee_power_bonus": "-2" }
},
{
"id": "wand_magicmissile",
"name": { "name": "wand of magic missile", "plural": "wands of magic missile" },
@ -120,7 +134,7 @@
{
"id": "food_apple",
"name": { "name": "apple", "plural": "apples" },
"renderable": { "glyph": "%", "fg": "#008000", "bg": "#000000", "order": 2 },
"renderable": { "glyph": "%", "fg": "#00FF00", "bg": "#000000", "order": 2 },
"flags": ["FOOD", "CONSUMABLE"]
}
]

View file

@ -1,12 +1,4 @@
[
{
"id": "orc",
"name": "orc",
"renderable": { "glyph": "o", "fg": "#00FF00", "bg": "#000000", "order": 1 },
"flags": ["BLOCKS_TILE"],
"stats": { "max_hp": 8, "hp": 8, "defence": 0, "power": 3 },
"vision_range": 12
},
{
"id": "goblin",
"name": "goblin",
@ -15,12 +7,44 @@
"stats": { "max_hp": 6, "hp": 6, "defence": 0, "power": 2 },
"vision_range": 12
},
{
"id": "kobold",
"name": "kobold",
"renderable": { "glyph": "k", "fg": "#FF7F50", "bg": "#000000", "order": 1 },
"flags": ["BLOCKS_TILE"],
"stats": { "max_hp": 6, "hp": 6, "defence": 0, "power": 1 },
"vision_range": 8
},
{
"id": "goblin_chieftain",
"name": "goblin chieftain",
"renderable": { "glyph": "G", "fg": "#00FF00", "bg": "#000000", "order": 1 },
"flags": ["BLOCKS_TILE"],
"stats": { "max_hp": 8, "hp": 8, "defence": 1, "power": 2 },
"vision_range": 12
},
{
"id": "orc",
"name": "orc",
"renderable": { "glyph": "o", "fg": "#00FF00", "bg": "#000000", "order": 1 },
"flags": ["BLOCKS_TILE"],
"stats": { "max_hp": 8, "hp": 8, "defence": 0, "power": 3 },
"vision_range": 12
},
{
"id": "orc_large",
"name": "large orc",
"renderable": { "glyph": "o", "fg": "#008000", "bg": "#000000", "order": 1 },
"flags": ["BLOCKS_TILE"],
"stats": { "max_hp": 12, "hp": 12, "defence": 1, "power": 3 },
"vision_range": 12
},
{
"id": "ogre",
"name": "ogre",
"renderable": { "glyph": "O", "fg": "#00FF00", "bg": "#000000", "order": 1 },
"flags": ["BLOCKS_TILE"],
"stats": { "max_hp": 12, "hp": 12, "defence": 3, "power": 3 },
"vision_range": 8
}
]

View file

@ -12,6 +12,13 @@
"flags": ["HIDDEN", "ENTRY_TRIGGER", "SINGLE_ACTIVATION"],
"effects": { "damage": "6" }
},
{
"id": "trap_stonefall",
"name": "stonefall trap",
"renderable": { "glyph": "^", "fg": "#C0C0C0", "bg": "#000000", "order": 2 },
"flags": ["HIDDEN", "ENTRY_TRIGGER", "SINGLE_ACTIVATION"],
"effects": { "damage": "12" }
},
{
"id": "trap_confusion",
"name": "magic trap",

View file

@ -4,8 +4,10 @@
"table": [
{ "id": "equip_dagger", "weight": 4, "min": 0, "max": 100 },
{ "id": "equip_shortsword", "weight": 2, "min": 0, "max": 100 },
{ "id": "equip_longsword", "weight": 1, "min": 2, "max": 100 },
{ "id": "equip_smallshield", "weight": 4, "min": 0, "max": 100 },
{ "id": "equip_mediumshield", "weight": 2, "min": 0, "max": 100 }
{ "id": "equip_mediumshield", "weight": 2, "min": 0, "max": 100 },
{ "id": "equip_largeshield", "weight": 1, "min": 2, "max": 100 }
]
},
{
@ -18,8 +20,10 @@
{
"id": "scrolls",
"table": [
{ "id": "scroll_fireball", "weight": 2, "min": 0, "max": 100 },
{ "id": "scroll_fireball", "weight": 2, "min": 2, "max": 100 },
{ "id": "scroll_fireball_cursed", "weight": 2, "min": 2, "max": 100 },
{ "id": "scroll_confusion", "weight": 2, "min": 0, "max": 100 },
{ "id": "scroll_magicmap_cursed", "weight": 2, "min": 0, "max": 100 },
{ "id": "scroll_magicmap", "weight": 2, "min": 0, "max": 100 }
]
},
@ -27,7 +31,7 @@
"id": "wands",
"table": [
{ "id": "wand_magicmissile", "weight": 1, "min": 0, "max": 100 },
{ "id": "wand_fireball", "weight": 1, "min": 0, "max": 100 },
{ "id": "wand_fireball", "weight": 1, "min": 2, "max": 100 },
{ "id": "wand_confusion", "weight": 1, "min": 0, "max": 100 },
{ "id": "wand_digging", "weight": 1, "min": 0, "max": 100 }
]
@ -42,16 +46,20 @@
{
"id": "mobs",
"table": [
{ "id": "goblin", "weight": 6, "min": 0, "max": 100 },
{ "id": "orc", "weight": 2, "min": 0, "max": 100 },
{ "id": "goblin_chieftain", "weight": 1, "min": 0, "max": 100 }
{ "id": "goblin", "weight": 10, "min": 0, "max": 100 },
{ "id": "kobold", "weight": 10, "min": 0, "max": 3 },
{ "id": "orc", "weight": 4, "min": 1, "max": 100 },
{ "id": "orc_large", "weight": 1, "min": 3, "max": 100 },
{ "id": "goblin_chieftain", "weight": 1, "min": 3, "max": 100 },
{ "id": "ogre", "weight": 1, "min": 4, "max": 100 }
]
},
{
"id": "traps",
"table": [
{ "id": "trap_bear", "weight": 2, "min": 0, "max": 100 },
{ "id": "trap_confusion", "weight": 1, "min": 0, "max": 100 }
{ "id": "trap_confusion", "weight": 1, "min": 0, "max": 100 },
{ "id": "trap_stonefall", "weight": 1, "min": 3, "max": 100 }
]
}
]