-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make fault_fix (previously mending_options) a standalone object
- Loading branch information
Showing
19 changed files
with
540 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[ | ||
{ | ||
"id": "fault_bionic_salvaged", | ||
"type": "fault", | ||
"name": { "str": "Already deployed" }, | ||
"description": "This bionic needs to be reset to its factory state." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[ | ||
{ | ||
"id": "fault_gun_blackpowder", | ||
"type": "fault", | ||
"name": { "str": "Blackpowder fouling" }, | ||
"description": "Firing blackpowder loads from a gun fouls it, which reduces reliability and, if left uncleaned, leads to rust. It fouls the gun much faster than the use of modern smokeless powder cartridges. Fouling is only a significant impact on reliability at high levels, but black powder fouling accumulates quickly.", | ||
"flags": [ "SILENT", "BLACKPOWDER_FOULING_DAMAGE", "NO_DIRTYING" ] | ||
}, | ||
{ | ||
"id": "fault_gun_chamber_spent", | ||
"type": "fault", | ||
"name": { "str": "Spent casing in chamber" }, | ||
"description": "This gun currently has an empty casing chambered. It will have to be removed before firing.", | ||
"flags": [ "JAMMED_GUN" ] | ||
}, | ||
{ | ||
"id": "fault_gun_unlubricated", | ||
"type": "fault", | ||
"name": { "str": "Unlubricated" }, | ||
"description": "Either this gun is brand new and came without lubrication or it was recently cleaned with a solvent without oiling afterwards. Either way, it's not lubricated and will not cycle properly, and can even be damaged.", | ||
"flags": [ "UNLUBRICATED", "BAD_CYCLING" ] | ||
}, | ||
{ | ||
"id": "fault_gun_dirt", | ||
"type": "fault", | ||
"name": { "str": "Fouling" }, | ||
"description": "Fouling is caused by firing gunpowder loads repeatedly, which reduces reliability and can eventually cause damage to the gun. Fouling accumulates slowly (unless blackpowder is used) due to the design of modern smokeless powder found in the vast majority of retail cartridges and it is not a significant problem until high levels of fouling are reached due to firing thousands of rounds without cleaning your firearm.", | ||
"flags": [ "SILENT" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[ | ||
{ | ||
"id": "fault_engine_belt_drive", | ||
"type": "fault", | ||
"name": { "str": "Worn drive belt" }, | ||
"description": "Required for operation of an attached alternator.", | ||
"flags": [ "NO_ALTERNATOR_CHARGE" ] | ||
}, | ||
{ | ||
"id": "fault_engine_glow_plug", | ||
"type": "fault", | ||
"name": { "str": "Faulty glow plugs" }, | ||
"description": "Help when starting an engine in low ambient temperatures.", | ||
"flags": [ "BAD_COLD_START" ] | ||
}, | ||
{ | ||
"id": "fault_engine_immobiliser", | ||
"type": "fault", | ||
"name": { "str": "Active immobiliser" }, | ||
"description": "An immobiliser device prevents starting of the vehicle without the appropriate key.", | ||
"flags": [ "IMMOBILIZER" ] | ||
}, | ||
{ | ||
"id": "fault_engine_pump_diesel", | ||
"type": "fault", | ||
"name": { "str": "Faulty diesel pump" }, | ||
"description": "Required to pump and pressurize diesel from a vehicles tank.", | ||
"flags": [ "BAD_FUEL_PUMP" ] | ||
}, | ||
{ | ||
"id": "fault_engine_filter_air", | ||
"type": "fault", | ||
"name": { "str": "Expired air filter" }, | ||
"description": "An expired filter reduces fuel efficiency and increases smoke production.", | ||
"flags": [ "DOUBLE_FUEL_CONSUMPTION", "EXTRA_EXHAUST" ] | ||
}, | ||
{ | ||
"id": "fault_engine_filter_fuel", | ||
"type": "fault", | ||
"name": { "str": "Expired fuel filter" }, | ||
"description": "An expired filter reduces performance and increases the chance of backfires.", | ||
"flags": [ "REDUCE_ENG_POWER", "ENG_BACKFIRE" ] | ||
}, | ||
{ | ||
"id": "fault_engine_pump_fuel", | ||
"type": "fault", | ||
"name": { "str": "Faulty fuel pump" }, | ||
"description": "Required to pump gasoline from a vehicles tank.", | ||
"flags": [ "BAD_FUEL_PUMP" ] | ||
}, | ||
{ | ||
"id": "fault_engine_starter", | ||
"type": "fault", | ||
"name": { "str": "Faulty starter motor" }, | ||
"description": "Required to initially start the engine.", | ||
"flags": [ "BAD_STARTER" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_bonic_salvaged_reset", | ||
"name": "Reset to factory state", | ||
"success_msg": "You successfully reset the %s to its factory state.", | ||
"time": "45 m", | ||
"faults_removed": [ "fault_bionic_salvaged" ], | ||
"skills": { "mechanics": 3, "electronics": 2, "firstaid": 4 }, | ||
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ] } ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[ | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_gun_blackpowder_clean", | ||
"name": "Clean blackpowder fouling", | ||
"success_msg": "You clean your %s.", | ||
"time": "50 m", | ||
"faults_removed": [ "fault_gun_blackpowder" ], | ||
"faults_added": [ "fault_gun_unlubricated" ], | ||
"skills": { "mechanics": 1 }, | ||
"set_variables": { "dirt": "0" }, | ||
"requirements": [ [ "gun_cleaning", 1 ] ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_gun_blackpowder_clean_and_lube", | ||
"name": "Clean blackpowder fouling and lubricate", | ||
"success_msg": "You clean and lubricate your %s.", | ||
"time": "55 m", | ||
"faults_removed": [ "fault_gun_blackpowder", "fault_gun_unlubricated" ], | ||
"skills": { "mechanics": 1 }, | ||
"set_variables": { "dirt": "0" }, | ||
"requirements": [ [ "gun_cleaning", 1 ], [ "gun_lubrication", 1 ] ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_gun_chamber_spent_eject", | ||
"name": "Eject spent casing", | ||
"success_msg": "You eject the spent casing from the %s.", | ||
"time": "1 s", | ||
"faults_removed": [ "fault_gun_chamber_spent" ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_gun_unlubricated", | ||
"name": "Lubricate", | ||
"time": "50 m", | ||
"faults_removed": [ "fault_gun_unlubricated" ], | ||
"skills": { "mechanics": 1 }, | ||
"success_msg": "You lubricate the %s.", | ||
"requirements": [ [ "gun_lubrication", 1 ] ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_gun_dirt_clean", | ||
"name": "Clean gun", | ||
"success_msg": "You clean your %s.", | ||
"time": "50 m", | ||
"skills": { "mechanics": 1 }, | ||
"faults_removed": [ "fault_gun_dirt" ], | ||
"faults_added": [ "fault_gun_unlubricated" ], | ||
"set_variables": { "dirt": "0" }, | ||
"requirements": [ [ "gun_cleaning", 1 ] ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_gun_dirt_clean_and_lube", | ||
"name": "Clean gun and lubricate", | ||
"success_msg": "You clean and lubricate your %s.", | ||
"time": "55 m", | ||
"faults_removed": [ "fault_gun_dirt", "fault_gun_unlubricated" ], | ||
"skills": { "mechanics": 1 }, | ||
"set_variables": { "dirt": "0" }, | ||
"requirements": [ [ "gun_cleaning", 1 ], [ "gun_lubrication", 1 ] ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
[ | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_belt_drive_replace", | ||
"name": "Replace worn drive belt", | ||
"success_msg": "You replace the worn drive belt of the %s.", | ||
"time": "5 m", | ||
"faults_removed": [ "fault_engine_belt_drive" ], | ||
"skills": { "mechanics": 2 }, | ||
"requirements": [ | ||
{ | ||
"qualities": [ { "id": "WRENCH", "level": 1 } ], | ||
"components": [ [ [ "drivebelt", 1 ], [ "drivebelt_makeshift", 1 ] ] ] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_glow_plug_replace", | ||
"name": "Replace faulty glow plugs", | ||
"success_msg": "You replace the faulty glow plugs of the %s.", | ||
"time": "40 m", | ||
"faults_removed": [ "fault_engine_glow_plug" ], | ||
"skills": { "mechanics": 4 }, | ||
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "glowplug", 1 ] ] ] } ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_immobiliser_deactivate", | ||
"name": "Deactivate immobiliser", | ||
"success_msg": "You successfully deactivate the immobiliser of the %s.", | ||
"time": "5 m", | ||
"faults_removed": [ "fault_engine_immobiliser" ], | ||
"skills": { "mechanics": 2, "electronics": 5 }, | ||
"requirements": [ { "qualities": [ { "id": "SCREW_FINE", "level": 1 } ] } ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_pump_diesel_replace", | ||
"name": "Replace faulty diesel pump", | ||
"success_msg": "You replace the faulty diesel pump of the %s.", | ||
"time": "40 m", | ||
"faults_removed": [ "fault_engine_pump_diesel" ], | ||
"skills": { "mechanics": 4 }, | ||
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "pump_complex", 1 ] ] ] } ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_filter_air_replace", | ||
"name": "Replace expired air filter", | ||
"success_msg": "You replace the expired air filter of the %s.", | ||
"time": "5 m", | ||
"faults_removed": [ "fault_engine_filter_air" ], | ||
"skills": { "mechanics": 1 }, | ||
"requirements": [ | ||
{ | ||
"qualities": [ { "id": "SCREW", "level": 1 } ], | ||
"components": [ [ [ "filter_air", 1 ], [ "filter_air_makeshift", 1 ] ] ] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_filter_fuel_replace", | ||
"name": "Replace expired fuel filter", | ||
"success_msg": "You replace the expired fuel filter of the %s.", | ||
"time": "5 m", | ||
"faults_removed": [ "fault_engine_filter_fuel" ], | ||
"skills": { "mechanics": 1 }, | ||
"requirements": [ | ||
{ | ||
"qualities": [ { "id": "SCREW", "level": 1 } ], | ||
"components": [ [ [ "filter_liquid", 1 ], [ "filter_liquid_makeshift", 1 ] ] ] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_pump_fuel_replace", | ||
"name": "Replace faulty fuel pump", | ||
"success_msg": "You replace the faulty fuel pump of the %s.", | ||
"time": "40 m", | ||
"faults_removed": [ "fault_engine_pump_fuel" ], | ||
"skills": { "mechanics": 4 }, | ||
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "well_pump", 1 ] ] ] } ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_engine_starter_replace", | ||
"name": "Replace faulty starter motor", | ||
"success_msg": "You replace the faulty starter motor of %s.", | ||
"time": "10 m", | ||
"faults_removed": [ "fault_engine_starter" ], | ||
"skills": { "mechanics": 3 }, | ||
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "motor_tiny", 1 ] ] ] } ] | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.