Skip to content

Commit

Permalink
feat(balance): Mutant-friendly cooling outfit (#5679)
Browse files Browse the repository at this point in the history
* Added thermal cooling suit for mutants

* Removed thermal cooling suit

Removed thermal cooling suit, made the thermal cooling outfit have "OVERSIZE" so it can accomodate any mutated anatomy.

* Re-added thermal cooling suit

Re-added thermal cooling suit, added thermal cooling mask, added recipes for both.

* Bugfix
  • Loading branch information
yay855 authored Nov 7, 2024
1 parent 4a8b4fa commit 6ef24bb
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 0 deletions.
58 changes: 58 additions & 0 deletions data/json/items/tool_armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,64 @@
"revert_to": "thermal_cooling",
"use_action": { "type": "transform", "menu_text": "Turn off", "msg": "Your %s deactivates.", "target": "thermal_cooling" }
},
{
"id": "thermal_cooling_suit",
"type": "TOOL_ARMOR",
"copy-from": "thermal_suit",
"name": { "str": "liquid cooling suit" },
"description": "This skintight suit covers you from head to toe and is designed to keep you at an ideal temperature using a number of heatsinks and heating coils tied to a liquid coolant system. It also includes some handy features such as a built-in thermometer. Use it to turn it on.",
"flags": [ "VARSIZE", "SKINTIGHT", "TRADER_AVOID", "ONLY_ONE", "THERMOMETER" ],
"weight": "1652 g",
"use_action": {
"type": "transform",
"msg": "You activate your %s.",
"target": "thermal_cooling_suit_on",
"active": true,
"transform_charges": 1,
"need_charges": 1,
"need_charges_msg": "The %s's batteries are dead."
}
},
{
"id": "thermal_cooling_suit_on",
"type": "TOOL_ARMOR",
"copy-from": "thermal_cooling_suit",
"name": { "str": "liquid cooling suit (on)", "str_pl": "liquid cooling suits (on)" },
"description": "This skintight suit covers you from head to toe and is designed to keep you at an ideal temperature using a number of heatsinks and heating coils tied to a liquid coolant system. It also includes some handy features such as a built-in thermometer. It is currently on, use it to turn it off.",
"extend": { "flags": [ "CLIMATE_CONTROL" ] },
"power_draw": 125000,
"revert_to": "thermal_cooling_suit",
"use_action": { "type": "transform", "menu_text": "Turn off", "msg": "Your %s deactivates.", "target": "thermal_cooling_suit" }
},
{
"id": "thermal_cooling_mask",
"type": "TOOL_ARMOR",
"copy-from": "thermal_mask",
"name": { "str": "liquid cooling balaclava" },
"description": "This face mask is designed to keep your face and head at an ideal temperature using a number of heatsinks and heating coils tied to a liquid coolant system. It also includes some handy features such as a built-in thermometer. Use it to turn it on.",
"flags": [ "VARSIZE", "SKINTIGHT", "TRADER_AVOID", "ONLY_ONE", "THERMOMETER" ],
"weight": "204 g",
"use_action": {
"type": "transform",
"msg": "You activate your %s.",
"target": "thermal_cooling_mask_on",
"active": true,
"transform_charges": 1,
"need_charges": 1,
"need_charges_msg": "The %s's batteries are dead."
}
},
{
"id": "thermal_cooling_mask_on",
"type": "TOOL_ARMOR",
"copy-from": "thermal_cooling_mask",
"name": { "str": "liquid cooling balaclava (on)" },
"description": "This face mask is designed to keep your face and head at an ideal temperature using a number of heatsinks and heating coils tied to a liquid coolant system. It also includes some handy features such as a built-in thermometer. It is currently on, use it to turn it off.",
"extend": { "flags": [ "CLIMATE_CONTROL" ] },
"power_draw": 7500,
"revert_to": "thermal_cooling_mask",
"use_action": { "type": "transform", "menu_text": "Turn off", "msg": "Your %s deactivates.", "target": "thermal_cooling_mask" }
},
{
"id": "binoculars",
"type": "TOOL_ARMOR",
Expand Down
25 changes: 25 additions & 0 deletions data/json/recipes/armor/head.json
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,31 @@
"using": [ [ "sewing_standard", 8 ], [ "soldering_standard", 20 ] ],
"components": [ [ [ "rag", 4 ], [ "scarf", 2 ], [ "scarf_long", 1 ], [ "balclava", 1 ] ], [ [ "element", 2 ] ], [ [ "cable", 6 ] ] ]
},
{
"result": "thermal_cooling_mask",
"type": "recipe",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_SUIT",
"skill_used": "electronics",
"difficulty": 5,
"skills_required": [ "tailor", 4 ],
"time": "1 h 20 m",
"reversible": true,
"book_learn": [ [ "textbook_fabrication", 4 ], [ "tailor_portfolio", 5 ], [ "textbook_tailor", 4 ], [ "atomic_survival", 4 ] ],
"using": [ [ "sewing_standard", 30 ], [ "soldering_standard", 60 ] ],
"components": [
[ [ "rag", 4 ], [ "scarf", 2 ], [ "scarf_long", 1 ], [ "balclava", 1 ] ],
[ [ "element", 2 ] ],
[ [ "hose", 1 ] ],
[ [ "cable", 6 ] ],
[ [ "power_supply", 1 ] ],
[ [ "processor", 1 ] ],
[ [ "amplifier", 1 ] ],
[ [ "condensor_coil", 1 ] ],
[ [ "thermometer", 1 ] ],
[ [ "water", 3 ], [ "water_clean", 3 ] ]
]
},
{
"result": "tinfoil_hat",
"type": "recipe",
Expand Down
48 changes: 48 additions & 0 deletions data/json/recipes/armor/suit.json
Original file line number Diff line number Diff line change
Expand Up @@ -1042,5 +1042,53 @@
[ [ "thermometer", 1 ] ],
[ [ "water", 6 ], [ "water_clean", 6 ] ]
]
},
{
"result": "thermal_cooling_suit",
"type": "recipe",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_SUIT",
"skill_used": "electronics",
"difficulty": 5,
"skills_required": [ "tailor", 4 ],
"time": "1 h 20 m",
"reversible": true,
"book_learn": [ [ "textbook_fabrication", 4 ], [ "tailor_portfolio", 5 ], [ "textbook_tailor", 4 ], [ "atomic_survival", 4 ] ],
"using": [ [ "sewing_standard", 30 ], [ "soldering_standard", 60 ] ],
"components": [
[ [ "rag", 30 ], [ "union_suit", 1 ] ],
[ [ "element", 5 ] ],
[ [ "hose", 2 ] ],
[ [ "cable", 15 ] ],
[ [ "power_supply", 1 ] ],
[ [ "processor", 2 ] ],
[ [ "amplifier", 2 ] ],
[ [ "condensor_coil", 1 ] ],
[ [ "thermometer", 1 ] ],
[ [ "water", 5 ], [ "water_clean", 5 ] ]
]
},
{
"result": "thermal_cooling",
"type": "recipe",
"id_suffix": "thermal_outfit_from_bits",
"category": "CC_ARMOR",
"subcategory": "CSC_ARMOR_SUIT",
"skill_used": "electronics",
"difficulty": 5,
"skills_required": [ "tailor", 4 ],
"time": "1 h 20 m",
"reversible": true,
"book_learn": [ [ "textbook_fabrication", 4 ], [ "tailor_portfolio", 5 ], [ "textbook_tailor", 4 ], [ "atomic_survival", 4 ] ],
"using": [ [ "sewing_standard", 15 ], [ "soldering_standard", 10 ] ],
"components": [
[ [ "thermal_suit", 1 ] ],
[ [ "hose", 2 ] ],
[ [ "processor", 2 ] ],
[ [ "amplifier", 2 ] ],
[ [ "condensor_coil", 1 ] ],
[ [ "thermometer", 1 ] ],
[ [ "water", 5 ], [ "water_clean", 5 ] ]
]
}
]

0 comments on commit 6ef24bb

Please sign in to comment.