diff --git a/data/mods/Xedra_Evolved/eocs/inventor.json b/data/mods/Xedra_Evolved/eocs/inventor.json index d9d59abe44c2e..7a1d06bb8a64e 100644 --- a/data/mods/Xedra_Evolved/eocs/inventor.json +++ b/data/mods/Xedra_Evolved/eocs/inventor.json @@ -58,6 +58,7 @@ "binary_sword", "bio_launcher", "bio_warhead", + "portable_dark_age", "trinket_damage", "trinket_range", "trinket_sound", diff --git a/data/mods/Xedra_Evolved/items/inventor/explosive.json b/data/mods/Xedra_Evolved/items/inventor/explosive.json new file mode 100644 index 0000000000000..239f4bbcc323c --- /dev/null +++ b/data/mods/Xedra_Evolved/items/inventor/explosive.json @@ -0,0 +1,48 @@ +[ + { + "id": "portable_dark_age", + "type": "TOOL", + "category": "weapons", + "name": { "str": "portable dark age" }, + "description": "In this device the Mad Genius creates an extremely strong magnetic field. Then in the next step of its creation they split that field in two in such a way it is perpetually trying to reconnect. When activated the timer counts down til the moment the two fields reconnect. Upon reconnection, energy is released in the form of EMP.", + "weight": "400 g", + "volume": "200 ml", + "price": "600 USD", + "price_postapoc": "300 USD", + "to_hit": -1, + "material": [ "steel", "plastic" ], + "symbol": "0", + "explode_in_fire": false, + "color": "light_gray", + "use_action": { + "need_wielding": true, + "target": "portable_dark_age_apct", + "msg": "You activate the portable dark age.", + "target_timer": "50 seconds", + "menu_text": "Activate bomb", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB", "GRENADE", "WATER_BREAK" ], + "melee_damage": { "bash": 2 } + }, + { + "id": "portable_dark_age_apct", + "type": "TOOL", + "category": "weapons", + "name": { "str": "active EMP bomb" }, + "description": "The Portable Dark Ageā„¢ is now active and will soon end all electronic devices in range. Prepare yourself for a life without mp3s and cell phones, at least in the closest 60 meters.", + "weight": "400 g", + "volume": "200 ml", + "price": "0 cent", + "price_postapoc": "0 cent", + "to_hit": -1, + "material": [ "steel", "plastic" ], + "symbol": "*", + "explode_in_fire": false, + "color": "light_gray", + "use_action": { "type": "message", "message": "You've already activated the %s, try throwing it instead.", "name": "Summon Dark Age" }, + "countdown_action": { "type": "explosion", "draw_explosion_radius": 60, "draw_explosion_color": "light_blue", "emp_blast_radius": 60 }, + "flags": [ "TRADER_AVOID", "WATER_BREAK" ], + "melee_damage": { "bash": 2 } + } +] diff --git a/data/mods/Xedra_Evolved/recipes/inventor/explosive.json b/data/mods/Xedra_Evolved/recipes/inventor/explosive.json new file mode 100644 index 0000000000000..6f4da4ae8681e --- /dev/null +++ b/data/mods/Xedra_Evolved/recipes/inventor/explosive.json @@ -0,0 +1,30 @@ +[ + { + "type": "recipe", + "activity_level": "LIGHT_EXERCISE", + "result": "portable_dark_age", + "using": [ [ "welding_standard", 10 ] ], + "qualities": [ { "id": "SAW_M", "level": 2 }, { "id": "SAW_M_FINE", "level": 1 }, { "id": "GRIND", "level": 1 } ], + "proficiencies": [ + { "proficiency": "prof_metalworking", "time_multiplier": 3, "skill_penalty": 0 }, + { "proficiency": "prof_welding_basic", "time_multiplier": 3, "skill_penalty": 0 }, + { "proficiency": "prof_welding", "time_multiplier": 2, "skill_penalty": 0 }, + { "proficiency": "prof_plasticworking", "time_multiplier": 2, "skill_penalty": 0 } + ], + "components": [ + [ [ "cable", 3 ] ], + [ [ "scrap_aluminum", 5 ] ], + [ [ "e_scrap", 2 ] ], + [ [ "power_supply", 4 ] ], + [ [ "magnetron", 4 ] ], + [ [ "inventor_medium_cell", 1 ] ] + ], + "time": "7 h", + "skill_used": "deduction", + "difficulty": 5, + "skills_required": [ "electronics", 3 ], + "flags": [ "SECRET" ], + "category": "CC_XEDRA", + "subcategory": "CSC_XEDRA_WEAPONS" + } +]