mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 23:27:56 +01:00
Disassemble finished and unfinished Golem shells with a crowbar (Not Golem species) (#95167)
## About The Pull Request Lets players disassemble unfinished Golem shells in `lavaland_ruin_code` and finished Golem shells in `golem_roles` by using a crowbar on them. Both dropping a single adamantine on successful deconstruction, with the finished shell dropping half of whatever was originally used to create it. ## Why It's Good For The Game If a Xenobiologist is able to set up a golem factory. (Chemistry IV drip into industrial adamantine + 1u plasma dropper on metal extract) players have no way to counter this as non living Golems are immune to damage. This gives players counterplay, letting them disassemble Golem shells if they can reach the factory, and scare off the creator. ## Changelog 🆑 DaddyChristmas balance: Golem shells can now be deconstructed with a crowbar (Not Golem the species!) /🆑 --------- Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
@@ -62,6 +62,21 @@
|
||||
new shell_type(get_turf(src), /* creator = */ user, /* made_of = */ stack_type)
|
||||
qdel(src)
|
||||
|
||||
/obj/item/golem_shell/crowbar_act(mob/living/user, obj/item/tool)
|
||||
. = ..()
|
||||
|
||||
to_chat(user, span_notice("You begin dislodging structurally integral chunks."))
|
||||
playsound(src, 'sound/items/tools/crowbar.ogg', 70)
|
||||
if(!do_after(user, delay = 1 SECONDS, target = src))
|
||||
return
|
||||
if(QDELETED(src))
|
||||
return
|
||||
new /obj/item/stack/sheet/mineral/adamantine(get_turf(src), 1) //Return less than was used to construct the shell
|
||||
to_chat(user, span_notice("The shell collapses in on itself!"))
|
||||
playsound(src, 'sound/effects/rock/rock_break.ogg', 40)
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
///made with xenobiology, the golem obeys its creator
|
||||
/obj/item/golem_shell/servant
|
||||
name = "incomplete servant golem shell"
|
||||
|
||||
Reference in New Issue
Block a user