forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request CleverRaven#71961 from zack-shoylev/item-faults
undefined
- Loading branch information
Showing
11 changed files
with
198 additions
and
41 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,71 @@ | ||
[ | ||
{ | ||
"type": "fault", | ||
"id": "fault_electronic_blown_fuse", | ||
"fault_type": "shorted", | ||
"name": { "str": "Blown fuse" }, | ||
"description": "Required for closing a protected electronic circuit.", | ||
"item_prefix": "shorted", | ||
"flags": [ "ITEM_BROKEN" ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_electronic_blown_fuse", | ||
"name": "Replace blown fuse", | ||
"success_msg": "You replace the blown fuse of the %s.", | ||
"time": "5 m", | ||
"faults_removed": [ "fault_electronic_blown_fuse" ], | ||
"skills": { "electronics": 3 }, | ||
"requirements": [ { "qualities": [ { "id": "SCREW", "level": 1 } ], "components": [ [ [ "e_scrap", 1 ], [ "copper_wire", 1 ] ] ] } ] | ||
}, | ||
{ | ||
"type": "fault", | ||
"id": "fault_electronic_blown_capacitor", | ||
"fault_type": "shorted", | ||
"name": { "str": "Blown capacitor" }, | ||
"description": "Required for storing charge in an electronic circuit.", | ||
"item_prefix": "shorted", | ||
"flags": [ "ITEM_BROKEN" ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_electronic_blown_capacitor", | ||
"name": "Replace blown fuse", | ||
"success_msg": "You replace the blow capacitor of the %s.", | ||
"time": "10 m", | ||
"faults_removed": [ "fault_electronic_blown_capacitor" ], | ||
"skills": { "electronics": 4 }, | ||
"requirements": [ | ||
{ | ||
"qualities": [ { "id": "SCREW", "level": 1 } ], | ||
"tools": [ [ "soldering_iron" ], [ "soldering_iron_portable" ] ], | ||
"components": [ [ [ "e_scrap", 1 ] ] ] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "fault", | ||
"id": "fault_electronic_shorted_circuit", | ||
"fault_type": "shorted", | ||
"name": { "str": "Shorted electronic circuit" }, | ||
"description": "An electronic circuit has been destroyed by overvoltage.", | ||
"item_prefix": "shorted", | ||
"flags": [ "ITEM_BROKEN" ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_electronic_shorted_circuit", | ||
"name": "Replace shorted circuit", | ||
"success_msg": "You replace the shorted circuit of the %s.", | ||
"time": "70 m", | ||
"faults_removed": [ "fault_electronic_shorted_circuit" ], | ||
"skills": { "electronics": 5 }, | ||
"requirements": [ | ||
{ | ||
"qualities": [ { "id": "SCREW", "level": 1 } ], | ||
"tools": [ [ "soldering_iron" ], [ "soldering_iron_portable" ] ], | ||
"components": [ [ [ "circuit", 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,45 @@ | ||
[ | ||
{ | ||
"id": "fault_wet", | ||
"type": "fault", | ||
"fault_type": "wet", | ||
"name": { "str": "Wet" }, | ||
"description": "Item is too wet to use and has to be dried.", | ||
"item_prefix": "waterlogged", | ||
"flags": [ "ITEM_BROKEN" ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_wet", | ||
"name": "Passively dry", | ||
"success_msg": "You dry the %s.", | ||
"time": "120 m", | ||
"faults_removed": [ "fault_wet" ], | ||
"skills": { "fabrication": 2 }, | ||
"requirements": [ | ||
{ | ||
"qualities": [ { "id": "CONTAIN", "level": 1 } ], | ||
"components": [ [ [ "flour", 10 ], [ "dry_rice", 10 ], [ "dry_beans", 10 ], [ "dry_lentils", 10 ] ] ] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_wet_oven", | ||
"name": "Dry with hot air in an oven. Requires good temperature control.", | ||
"success_msg": "You heat up and dry the %s.", | ||
"time": "60 m", | ||
"faults_removed": [ "fault_wet" ], | ||
"skills": { "cooking": 4 }, | ||
"requirements": [ { "qualities": [ { "id": "OVEN", "level": 3 } ] } ] | ||
}, | ||
{ | ||
"type": "fault_fix", | ||
"id": "mend_fault_wet_hot_air", | ||
"name": "Dry with hot air.", | ||
"success_msg": "You dry the %s with hot air.", | ||
"time": "10 m", | ||
"faults_removed": [ "fault_wet" ], | ||
"requirements": [ { "qualities": [ { "id": "BLOW_HOT_AIR", "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
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
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
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
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
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
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
Oops, something went wrong.