-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xedra] Inventor: (Re)Add Dimensional Research (#75916)
* Return of the Vancian Bill * Add back dimension research * Add ERN Recorder as a non-Hub method for getting an NRE recorder * Add netherium warp grenade and code to allow dropped items to cast spells * Add dimensional smoothing device. Unfortunately portal storms don't really work: #74774 * add teleporter crafting recipe * Remove ERN Recorder and just let inventors make NRE recorder. No need to copy dozens of EOCs now * Why's a lint? * Remove left over debug print * Clean up code * Fix field chance * Nerf vancian bill a bit * Add teleporter to warp grenade recipe * another random thing I missed * spelling * Obey rules on how to write null * Learn more about c++ references * Make double space * rerun tests pt.1 * rerun tests pt.2
- Loading branch information
Showing
12 changed files
with
482 additions
and
8 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[ | ||
{ | ||
"id": "rip_ticket", | ||
"name": { "str": "vancian bill" }, | ||
"description": "A small bill covered in odd symbols. Tearing it will in turn cause a small dimensional tear located within a nearby entity. Despite only lasting a few milliseconds, an internal tear in reality should be enough to kill anything. Hopefully.", | ||
"type": "TOOL", | ||
"weight": "1 g", | ||
"volume": "1 ml", | ||
"material": [ "paper" ], | ||
"symbol": "|", | ||
"color": "brown", | ||
"flags": [ "NONCONDUCTIVE", "TRADER_AVOID", "INVENTOR_CRAFTED" ], | ||
"use_action": { "type": "cast_spell", "spell_id": "rip_ticket", "no_fail": true, "level": 0, "need_wielding": true } | ||
}, | ||
{ | ||
"id": "inventor_warp_grenade", | ||
"type": "TOOL", | ||
"category": "weapons", | ||
"looks_like": "grenade", | ||
"name": { "str": "netherium warp grenade" }, | ||
"description": "A homemade general purpose reality implosion device. Use this item to pull the pin and start the fuse. After 5 seconds, everything nearby will be violently sliced, warped, aged, and partially teleported straight into many different sections of the nether. After a short moment of instant death, the dimensional gap will probably heal. Probably.", | ||
"weight": "397 g", | ||
"volume": "540 ml", | ||
"price": "10000 USD", | ||
"price_postapoc": "200 USD", | ||
"to_hit": -1, | ||
"material": [ "steel", "plastic" ], | ||
"symbol": "*", | ||
"color": "green", | ||
"use_action": { | ||
"need_wielding": true, | ||
"target": "inventor_warp_grenade_act", | ||
"msg": "You pull the pin on the grenade.", | ||
"target_timer": "5 seconds", | ||
"menu_text": "Pull pin", | ||
"type": "transform" | ||
}, | ||
"flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB", "GRENADE", "INVENTOR_CRAFTED" ], | ||
"melee_damage": { "bash": 6 } | ||
}, | ||
{ | ||
"id": "inventor_warp_grenade_act", | ||
"type": "TOOL", | ||
"category": "weapons", | ||
"name": { "str": "active netherium warp grenade" }, | ||
"description": "This netherium warp grenade is active, and will explode any second now. Continue holding it to die in the messiest and most violent of ways imaginable", | ||
"weight": "397 g", | ||
"volume": "270 ml", | ||
"price": "0 cent", | ||
"price_postapoc": "0 cent", | ||
"to_hit": -1, | ||
"material": [ "steel", "plastic" ], | ||
"symbol": "*", | ||
"color": "green", | ||
"use_action": { "type": "message", "message": "You've already pulled the %s's pin, try throwing it instead.", "name": "Pull pin" }, | ||
"countdown_action": { "type": "cast_spell", "spell_id": "netherium_warp_grenade_detonation", "no_fail": true, "level": 0 }, | ||
"countdown_interval": "5 seconds", | ||
"flags": [ "BOMB", "TRADER_AVOID", "DANGEROUS" ], | ||
"melee_damage": { "bash": 6 } | ||
} | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[ | ||
{ | ||
"type": "recipe", | ||
"activity_level": "LIGHT_EXERCISE", | ||
"result": "rip_ticket", | ||
"tools": [ | ||
[ | ||
[ "pen", 25 ], | ||
[ "black_pen", 25 ], | ||
[ "blue_pen", 25 ], | ||
[ "red_pen", 25 ], | ||
[ "green_pen", 25 ], | ||
[ "pencil", 25 ], | ||
[ "permanent_marker", 25 ], | ||
[ "survival_marker", 25 ] | ||
] | ||
], | ||
"components": [ | ||
[ | ||
[ "money_one", 1 ], | ||
[ "money_two", 1 ], | ||
[ "money_five", 1 ], | ||
[ "money_ten", 1 ], | ||
[ "money_twenty", 1 ], | ||
[ "money_fifty", 1 ], | ||
[ "money_hundred", 1 ] | ||
] | ||
], | ||
"time": "2 h", | ||
"skill_used": "deduction", | ||
"difficulty": 5, | ||
"flags": [ "SECRET" ], | ||
"category": "CC_XEDRA", | ||
"subcategory": "CSC_XEDRA_WEAPONS" | ||
}, | ||
{ | ||
"result": "inventor_warp_grenade", | ||
"type": "recipe", | ||
"activity_level": "NO_EXERCISE", | ||
"time": "8 h", | ||
"qualities": [ { "id": "SCREW", "level": 1 }, { "id": "SAW_M", "level": 1 } ], | ||
"proficiencies": [ | ||
{ "proficiency": "prof_metalworking", "time_multiplier": 2, "skill_penalty": 0 }, | ||
{ "proficiency": "prof_welding_basic", "time_multiplier": 3, "skill_penalty": 0 }, | ||
{ "proficiency": "prof_welding", "time_multiplier": 2, "skill_penalty": 0 } | ||
], | ||
"using": [ [ "soldering_standard", 60 ], [ "welding_standard", 30 ] ], | ||
"components": [ | ||
[ [ "power_supply", 2 ] ], | ||
[ [ "teleporter", 1 ] ], | ||
[ [ "scrap", 5 ] ], | ||
[ [ "scrap_aluminum", 5 ] ], | ||
[ [ "sheet_metal_small", 10 ] ], | ||
[ [ "cable", 100 ] ], | ||
[ [ "grenade", 1 ] ], | ||
[ [ "lens_small", 1 ] ], | ||
[ [ "amplifier", 1 ] ] | ||
], | ||
"skill_used": "deduction", | ||
"difficulty": 8, | ||
"skills_required": [ "electronics", 6 ], | ||
"flags": [ "SECRET" ], | ||
"category": "CC_XEDRA", | ||
"subcategory": "CSC_XEDRA_WEAPONS" | ||
} | ||
] |
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.