Skip to content

Commit

Permalink
feat(balance): Easier ways to remove mi-go gas emitters (#5166)
Browse files Browse the repository at this point in the history
* initial

construction and group plus new furniture

* style(autofix.ci): automated formatting

* Update data/json/furniture_and_terrain/furniture-terrains.json

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Chaosvolt <[email protected]>
  • Loading branch information
3 people authored Aug 8, 2024
1 parent 7540275 commit bd409a5
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 8 deletions.
28 changes: 28 additions & 0 deletions data/json/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -5133,5 +5133,33 @@
"pre_note": "Will only work if constructed in/on a building that has an electric grid with a mounted battery.",
"pre_special": "check_empty",
"post_furniture": "f_3d_printer_advanced"
},
{
"type": "construction",
"id": "constr_concrete_lump",
"group": "build_concrete_lump",
"//": "Pours concrete over a scarred lump, its faster because we're not doing this smoothly.",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "40 m",
"tools": [ [ [ "con_mix", 50 ] ] ],
"qualities": [ [ { "id": "SMOOTH", "level": 1 } ] ],
"components": [ [ [ "concrete", 2 ] ], [ [ "water", 2 ] ] ],
"pre_furniture": "f_alien_scar",
"post_furniture": "f_concrete_lump"
},
{
"type": "construction",
"id": "constr_concrete_seeping",
"group": "build_concrete_lump",
"//": "Pours concrete over a seeping scar, its faster because we're not doing this smoothly.",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "40 m",
"tools": [ [ [ "con_mix", 50 ] ] ],
"qualities": [ [ { "id": "SMOOTH", "level": 1 } ] ],
"components": [ [ [ "concrete", 2 ] ], [ [ "water", 2 ] ] ],
"pre_furniture": "f_alien_scar_small",
"post_furniture": "f_concrete_lump"
}
]
5 changes: 5 additions & 0 deletions data/json/construction_group.json
Original file line number Diff line number Diff line change
Expand Up @@ -1493,5 +1493,10 @@
"type": "construction_group",
"id": "wax_floor",
"name": "Wax Floor"
},
{
"type": "construction_group",
"id": "build_concrete_lump",
"name": "Remove Mi-Go gas emitter"
}
]
16 changes: 8 additions & 8 deletions data/json/furniture_and_terrain/furniture-migo.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"move_cost_mod": 4,
"coverage": 20,
"required_str": -1,
"flags": [ "TRANSPARENT", "EMITTER" ],
"flags": [ "TRANSPARENT", "EMITTER", "MINEABLE" ],
"emissions": [ "emit_glimmer", "emit_shock_burst" ],
"//": "TODO: Make a custom toxic gas emission that is not visible to the player",
"bash": { "str_min": 30, "str_max": 60, "sound": "splorch!", "sound_fail": "whump!", "furn_set": "f_alien_scar_small" }
Expand All @@ -91,17 +91,17 @@
"move_cost_mod": 6,
"coverage": 40,
"required_str": -1,
"flags": [ "TRANSPARENT", "EMITTER" ],
"flags": [ "TRANSPARENT", "EMITTER", "MINEABLE" ],
"emissions": [ "emit_hot_air_migo_seep", "emit_shock_burst" ],
"//": "TODO: Make a custom toxic gas emission that is not visible to the player",
"bash": {
"str_min": 250,
"str_max": 600,
"str_min": 50,
"str_max": 120,
"sound": "splorch!",
"sound_fail": "splat!",
"items": [ { "item": "fetid_goop", "count": [ 6, 13 ], "prob": 100 } ],
"//": "reduction matches that of weakest furniture that turns into this when destroyed",
"ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 600, "block_unaimed_chance": "25%" }
"ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 120, "block_unaimed_chance": "25%" }
}
},
{
Expand All @@ -115,11 +115,11 @@
"move_cost_mod": 4,
"coverage": 20,
"required_str": -1,
"flags": [ "TRANSPARENT", "EMITTER" ],
"flags": [ "TRANSPARENT", "EMITTER", "MINEABLE" ],
"emissions": [ "emit_migo_atmosphere_seep", "emit_shock_burst" ],
"bash": {
"str_min": 50,
"str_max": 120,
"str_max": 80,
"sound": "splorch!",
"sound_fail": "splat!",
"items": [ { "item": "fetid_goop", "count": [ 2, 6 ], "prob": 100 } ]
Expand Down Expand Up @@ -201,7 +201,7 @@
"coverage": 40,
"required_str": -1,
"light_emitted": 12,
"flags": [ "TRANSPARENT" ],
"flags": [ "TRANSPARENT", "MINEABLE" ],
"bash": {
"str_min": 45,
"str_max": 60,
Expand Down
23 changes: 23 additions & 0 deletions data/json/furniture_and_terrain/furniture-terrains.json
Original file line number Diff line number Diff line change
Expand Up @@ -958,5 +958,28 @@
],
"ranged": { "reduction": [ 10, 20 ], "destroy_threshold": 100, "block_unaimed_chance": "25%" }
}
},
{
"type": "furniture",
"id": "f_concrete_lump",
"looks_like": "f_boulder_medium",
"name": "concrete lump",
"description": "The result of you pouring concrete over mi-go gas emitters. It's stuck to the floor. It can be used as a primitive anvil.",
"symbol": "0",
"color": "dark_gray",
"move_cost_mod": 6,
"coverage": 60,
"required_str": -1,
"crafting_pseudo_item": "boulder_anvil",
"flags": [ "NOITEM", "TRANSPARENT", "MINEABLE", "UNSTABLE", "MOUNTABLE", "SHORT", "BASHABLE" ],
"bash": {
"str_min": 32,
"str_max": 80,
"sound": "smash!",
"sound_fail": "thump.",
"items": [ { "item": "rock", "count": [ 35, 50 ] } ],
"//": "Stone obstacles have double the expected reduction but lower destroy_threshold in return",
"ranged": { "reduction": [ 32, 64 ], "destroy_threshold": 64, "block_unaimed_chance": "50%" }
}
}
]

0 comments on commit bd409a5

Please sign in to comment.