Skip to content

Commit

Permalink
Fungal Rebalance 1: JSONize, rebalance, and redraw fungal maps (#35435)
Browse files Browse the repository at this point in the history
  • Loading branch information
I-am-Erk authored and kevingranade committed Nov 23, 2019
1 parent 96bca0d commit 792982c
Show file tree
Hide file tree
Showing 8 changed files with 232 additions and 117 deletions.
13 changes: 13 additions & 0 deletions data/json/furniture_and_terrain/furniture-fungal.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,18 @@
"required_str": -1,
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "ALLOW_FIELD_EFFECT", "FLAMMABLE_ASH", "FUNGUS", "MOUNTABLE", "SHORT" ],
"bash": { "str_min": 6, "str_max": 20, "sound": "poof.", "sound_fail": "poof." }
},
{
"type": "furniture",
"id": "f_fungal_tangle",
"name": "fungal tangle",
"description": "Thick, ropy tendrils of fungus have risen from the ground and gathered into an impenetrable clump.",
"looks_like": "mon_fungal_wall",
"symbol": "&",
"bgcolor": "light_gray",
"move_cost_mod": -1,
"required_str": -1,
"flags": [ "FLAMMABLE_ASH", "FUNGUS" ],
"bash": { "str_min": 26, "str_max": 50, "sound": "poof.", "sound_fail": "squelch." }
}
]
64 changes: 64 additions & 0 deletions data/json/mapgen/fungal/fungal_bloom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "fungal_bloom" ],
"weight": 100,
"object": {
"rows": [
" .............. ",
" .................... ",
" ......,,,,,,,,,,...... ",
" ....,,,,,,,,,,,,,,.... ",
" ...,,,,,_____,,,,,,... ",
"...,,,,__________,,,,...",
"...,,,____________,,,...",
"..,,,,_____________,,,..",
"..,,,______________,,,..",
"..,,,______________,,,..",
"..,,________________,,..",
"..,,________Y_______,,..",
"..,,_______X________,,..",
"..,,________________,,..",
"..,,,______________,,,..",
"..,,,______________,,,..",
"..,,,,_____________,,,..",
"...,,,____________,,,...",
"...,,,,__________,,,,...",
" ...,,,,,_____,,,,,,... ",
" ....,,,,,,,,,,,,,,.... ",
" ......,,,,,,,,,,...... ",
" .................... ",
" .............. "
],
"terrain": {
" ": [ [ "t_grass_dead", 4 ], "t_dirtmound", [ "t_grass", 2 ], "t_fungus" ],
".": [ [ "t_grass_dead", 2 ], "t_fungus" ],
",": [ [ "t_grass_dead", 3 ], [ "t_fungus", 7 ], "t_fungus_mound", "t_shrub_fungal" ],
"_": [
[ "t_fungus", 25 ],
[ "t_fungus_mound", 3 ],
[ "t_tree_fungal", 4 ],
[ "t_tree_fungal_young", 3 ],
[ "t_shrub_fungal", 5 ]
],
"X": "t_marloss",
"Y": "t_fungus_mound"
},
"furniture": {
" ": [
[ "f_null", 18 ],
[ "f_boulder_small", 3 ],
[ "f_boulder_medium", 2 ],
"f_boulder_large",
[ "f_flower_fungal", 2 ],
"f_fungal_mass"
],
".": [ [ "f_null", 36 ], [ "f_flower_fungal", 8 ], [ "f_fungal_mass", 3 ], "f_fungal_clump" ],
",": [ [ "f_null", 24 ], [ "f_fungal_mass", 2 ], [ "f_flower_fungal", 5 ], "f_fungal_clump" ],
"_": [ [ "f_null", 20 ], [ "f_flower_fungal", 4 ], [ "f_fungal_mass", 2 ], "f_fungal_clump" ]
},
"monster": { "Y": { "monster": "mon_fungaloid_queen" } }
}
}
]
58 changes: 58 additions & 0 deletions data/json/mapgen/fungal/fungal_flowers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "fungal_flowers" ],
"weight": 100,
"object": {
"rows": [
" .............. ",
" .................... ",
" ......,,,,,,,,,,...... ",
" ....,,,,,,,,,,,,,,.... ",
" ...,,,,,_____,,,,,,... ",
"...,,,,__________,,,,...",
"...,,,____________,,,...",
"..,,,,_____________,,,..",
"..,,,______________,,,..",
"..,,,______________,,,..",
"..,,________________,,..",
"..,,________Y_______,,..",
"..,,_______X________,,..",
"..,,________________,,..",
"..,,,______________,,,..",
"..,,,______________,,,..",
"..,,,,_____________,,,..",
"...,,,____________,,,...",
"...,,,,__________,,,,...",
" ...,,,,,_____,,,,,,... ",
" ....,,,,,,,,,,,,,,.... ",
" ......,,,,,,,,,,...... ",
" .................... ",
" .............. "
],
"terrain": {
" ": [ [ "t_grass_dead", 2 ], [ "t_grass", 3 ], "t_fungus" ],
".": [ "t_grass_dead", "t_grass", "t_fungus" ],
",": [ [ "t_grass_dead", 3 ], [ "t_fungus", 7 ], "t_fungus_mound", "t_shrub_fungal" ],
"_": [
[ "t_fungus", 25 ],
[ "t_fungus_mound", 3 ],
[ "t_tree_fungal", 2 ],
[ "t_tree_fungal_young", 2 ],
[ "t_shrub_fungal", 3 ]
],
"X": "t_marloss",
"Y": "t_fungus_mound"
},
"furniture": {
" ": [ [ "f_null", 20 ], [ "f_boulder_small", 3 ], [ "f_flower_fungal", 3 ], "f_fungal_mass" ],
".": [ [ "f_null", 36 ], [ "f_flower_fungal", 8 ], [ "f_fungal_mass", 3 ], "f_fungal_clump" ],
",": [ [ "f_null", 24 ], [ "f_fungal_mass", 2 ], [ "f_flower_fungal", 5 ], "f_fungal_clump" ],
"_": [ [ "f_null", 20 ], [ "f_flower_fungal", 8 ], [ "f_fungal_mass", 2 ], "f_fungal_clump" ],
"X": "f_flower_marloss"
},
"monster": { "Y": { "monster": "mon_fungaloid_seeder" } }
}
}
]
60 changes: 60 additions & 0 deletions data/json/mapgen/fungal/fungal_tower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"type": "mapgen",
"method": "json",
"om_terrain": [ "fungal_tower" ],
"weight": 100,
"object": {
"rows": [
" .............. ",
" .........&&......... ",
" ......,,,&,,,,,,...... ",
" ....,,,,,&,&,,,,,,.... ",
" ...,,,,,&&__&,,,,,,... ",
"...,,,,&&&___&___,,,,...",
"...,,,&&____&_____,,&...",
"..,,,,_&&&&&___&__&&,,..",
"..&&,_&__&__&&&_&&_,,,..",
"..,,&_&_&_______&__,,,..",
"..,,_&_&&_X_____&__&&,..",
"..,&&&_&______&&&&&&,,..",
".&&,&__&Y__X__&_&___,,..",
"..&,&__&&_____&_&_&_,,..",
"..&&&&__&&&&&&___&&,,,..",
"..,&,&&_______&____,,,..",
"..,&,,&____&&&___&&&,,..",
"...&,,&&__&____&&_,,,...",
"..&,,,,&&&_&&&&__,,,,...",
" ...,,,,,&__&_,,,,,,... ",
" ....,,,&&,,,&,,,,,.... ",
" ......&,,,,,,&&,...... ",
" ..............&&.... ",
" .............. "
],
"terrain": {
" ": [ [ "t_grass_dead", 4 ], "t_dirtmound", "t_grass", "t_fungus" ],
".": [ [ "t_grass_dead", 2 ], "t_fungus" ],
",": [ [ "t_grass_dead", 3 ], [ "t_fungus", 7 ], "t_fungus_mound" ],
"_": [ [ "t_fungus", 25 ], "t_fungus_mound", [ "t_tree_fungal", 3 ], [ "t_tree_fungal_young", 2 ] ],
"&": "t_fungus_mound",
"X": "t_fungus_mound",
"Y": "t_fungus_mound"
},
"furniture": {
" ": [
[ "f_null", 18 ],
[ "f_boulder_small", 3 ],
[ "f_boulder_medium", 2 ],
"f_boulder_large",
[ "f_flower_fungal", 2 ],
"f_fungal_mass"
],
".": [ [ "f_null", 18 ], [ "f_flower_fungal", 4 ], [ "f_fungal_mass", 3 ], "f_fungal_clump" ],
",": [ [ "f_null", 12 ], [ "f_fungal_mass", 2 ], "f_flower_fungal", "f_fungal_clump" ],
"_": [ [ "f_null", 10 ], [ "f_fungal_mass", 2 ], "f_fungal_clump" ],
"&": [ [ "f_fungal_tangle", 8 ], "f_fungal_clump", "f_fungal_mass" ]
},
"monster": { "X": { "monster": "mon_fungaloid_tower" }, "Y": { "monster": "mon_fungaloid_queen" } }
}
}
]
7 changes: 5 additions & 2 deletions data/json/monsters/monsters.json
Original file line number Diff line number Diff line change
Expand Up @@ -1409,19 +1409,22 @@
"id": "mon_fungal_wall",
"type": "MONSTER",
"name": "fungal wall",
"description": "A veritable wall of fungus, grown as a natural defense by the fungal spire. New spores erupt from the surface every few seconds.",
"description": "A veritable wall of fungus, grown as a natural defense by the fungal spire. New spores erupt from the surface every few seconds, and tendrils constrict around it, pulling new mass into its shape. They move with an inexorable strength that could snap limbs.",
"default_faction": "fungus",
"species": [ "FUNGUS" ],
"diff": 2,
"volume": "875000 ml",
"weight": 200000,
"hp": 10,
"hp": 20,
"speed": 100,
"material": [ "veggy" ],
"symbol": "T",
"color": "dark_gray",
"aggression": 100,
"morale": 100,
"melee_skill": 1,
"melee_dice": 2,
"melee_dice_sides": 10,
"melee_cut": 0,
"armor_bash": 10,
"armor_cut": 10,
Expand Down
32 changes: 32 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain_fungal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"type": "overmap_terrain",
"id": "fungal_tower",
"name": "fungal tower",
"sym": "T",
"color": "yellow",
"see_cost": 3,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": "fungal_bloom",
"name": "fungal bloom",
"sym": "T",
"color": "light_gray",
"see_cost": 2,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": "fungal_flowers",
"name": "fungal flowers",
"sym": "T",
"color": "cyan",
"see_cost": 5,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
}
]
30 changes: 0 additions & 30 deletions data/json/overmap/overmap_terrain/overmap_terrain_hardcoded.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,36 +209,6 @@
"extras": "field",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": "fungal_bloom",
"name": "fungal bloom",
"sym": "T",
"color": "light_gray",
"see_cost": 2,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": "fungal_tower",
"name": "fungal tower",
"sym": "T",
"color": "yellow",
"see_cost": 3,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": "fungal_flowers",
"name": "fungal flowers",
"sym": "T",
"color": "cyan",
"see_cost": 5,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": "spider_pit",
Expand Down
Loading

0 comments on commit 792982c

Please sign in to comment.