mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
You can fix up a deconstructed nuclear bomb (#95104)
## About The Pull Request Allows reconstruction of a deconstructed nuclear bomb, including placing the core back in. You can put the core back in with either a raw core(which is still unobtainable afaik) or the box. The box remains usable afterwards. The beer nuke's deconstruction has been slightly modified such that it no longer shows a glowing core inside of it, and is instead empty. The beer nuke can also now be given a transplant core, and will blow up like a real bomb if given a real core. Additionally, provides a message making explicit that you can't take out the nuke core bare. This also fixes a runtime in the beer nuke's deconstruction due to attempting to start processing a null core. This also fixes that nuke cores processing inside the bomb would not irradiate their surrounding area ## Why It's Good For The Game It makes sense. If you catch the guy what broke your nuke, you should be able to fix your nuke. I also think making the beer bomb into a real bomb is pretty funny. Probably closes #95101, because I assume not being able to take out the raw core is very intentional. ## Changelog 🆑 add: You can now put a deconstructed nuclear bomb back together again fix: Nuclear bombs with exposed cores will again irradiate their surrounding area /🆑
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
if(cooldown < world.time - 60)
|
||||
cooldown = world.time
|
||||
flick(pulseicon, src)
|
||||
radiation_pulse(src, max_range = 2, threshold = RAD_EXTREME_INSULATION)
|
||||
radiation_pulse(get_turf(src), max_range = 2, threshold = RAD_EXTREME_INSULATION)
|
||||
|
||||
/obj/item/nuke_core/suicide_act(mob/living/user)
|
||||
user.visible_message(span_suicide("[user] is rubbing [src] against [user.p_them()]self! It looks like [user.p_theyre()] trying to commit suicide!"))
|
||||
@@ -70,7 +70,7 @@
|
||||
icon_state = "core_container_sealed"
|
||||
playsound(src, 'sound/items/deconstruct.ogg', 60, TRUE)
|
||||
if(ismob(loc))
|
||||
to_chat(loc, span_warning("[src] is permanently sealed, [core]'s radiation is contained."))
|
||||
to_chat(loc, span_warning("[src] is sealed, [core]'s radiation is contained."))
|
||||
|
||||
/obj/item/nuke_core_container/attackby(obj/item/nuke_core/core, mob/user)
|
||||
if(istype(core))
|
||||
|
||||
Reference in New Issue
Block a user