Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Xedra Evolved ] Mad genius pocket dark age #79407

Merged
merged 8 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/mods/Xedra_Evolved/eocs/inventor.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"binary_sword",
"bio_launcher",
"bio_warhead",
"portable_dark_age",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"trinket_damage",
"trinket_range",
"trinket_sound",
Expand Down
48 changes: 48 additions & 0 deletions data/mods/Xedra_Evolved/items/inventor/explosive.json
Original file line number Diff line number Diff line change
@@ -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" ],
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"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 }
}
]
30 changes: 30 additions & 0 deletions data/mods/Xedra_Evolved/recipes/inventor/explosive.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
Loading