-
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.
Bring EMP grenades in line with reality (#35734)
* Bring EMP grenades in line with reality Right now, EMP grenades are somewhat nonsense - they can be crafted out of some electronic scrap, yet easily take down any robotic enemy. These are problematic not just from their ease of crafting - they also help to trivialize robotic enemies. This commit aims to change the that, by replacing the EMP grenade recipe with one based off of real-life EMP weapons. This EMP device works by draining a high-current capacitor (represented by a plutonium fuel cell) into a 'explosively propelled flux compression generator'. When this generator is activated, with the aid of an explosion, it creates a strong magnetic field. This magnetic field is then passed through a microwave generator (magnetron), into a single loop antenna, which creates the EMP. I have created a new uncraftable emp grenade which functions like the current, but is uncraftable and can only be obtained through military drops rarely, or more commonly from Hub 01. I have also obsoleted the recipe for the scrambler grenade, because it similarly did not make much sense. Hub 01 will generally be the supplier of these. I have added a large copper tube, magnetron, and flux compression generator as necessary components for crafting devices introduced in this PR. The tube and flux compression generator have had crafting recipes added. I have largely replaced the former EMP grenade, that is now an EMP bomb, with EMP grenades. Particularly in the inventory of Hub 01 NPCs, because that could get deadly. I have added the flux compression generator to one itemgroup. The magnetron appears in none (you can get it from microwaves though). The large copper tube does not spawn and can only be forged. Perhaps this could be improved * Adjust EMP explosive power, remove some recipes Remove the large copper tube completely and the flux compression generator recipe. The flux compression generator requires fiberglass to be craftable, which is more of a hurdle than I initially considered. The large copper tube was only used in crafting it, and is no longer needed. I also recalculated the volume/weight/etc of the flux compression generator and found that I could get away with much lower explosive power, so I've lowered it, and removed the explosion fudging.
- Loading branch information
1 parent
5532c9f
commit b6e17ea
Showing
15 changed files
with
142 additions
and
57 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,33 @@ | ||
[ | ||
{ | ||
"id": "magnetron", | ||
"type": "GENERIC", | ||
"category": "spare_parts", | ||
"name": "microwave generator", | ||
"description": "This electrical component is designed to produce microwaves, for use in your microwave.", | ||
"weight": "954 g", | ||
"volume": "4 L", | ||
"price": 4000, | ||
"looks_like": "motor_small", | ||
"material": "steel", | ||
"symbol": ":", | ||
"color": "light_gray" | ||
}, | ||
{ | ||
"id": "flux_comp_gen", | ||
"type": "GENERIC", | ||
"category": "spare_parts", | ||
"name": "explosively pump flux compression generator", | ||
"description": "This large device consists mainly of a tube of copper wire surrounding a large copper tube filled with high explosives. When detonated properly, the explosives allow the device to produce large amounts of electrical energy in a very short time.", | ||
"weight": "3589 g", | ||
"volume": "10455 ml", | ||
"price": 10000, | ||
"explode_in_fire": true, | ||
"explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, | ||
"//": "uncraftable right now, needs fiberglass before it can be crafted", | ||
"looks_like": "cu_pipe", | ||
"material": "copper", | ||
"symbol": "|", | ||
"color": "brown" | ||
} | ||
] |
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
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