mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Boulder refineries can process golems (#81849)
## About The Pull Request Golems (if lying down) can enter (and be processed by) boulder refineries. ## Why It's Good For The Game Rocks are rocks ## Changelog 🆑 Melbert add: Boulder refineries and smelters can refine Golems. /🆑 --------- Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com>
This commit is contained in:
@@ -85,3 +85,9 @@
|
||||
/obj/machinery/bouldertech/refinery/smelter/on_set_is_operational(old_value)
|
||||
set_light_on(TRUE)
|
||||
|
||||
/obj/machinery/bouldertech/refinery/smelter/maim_golem(mob/living/carbon/human/rockman)
|
||||
rockman.visible_message(span_warning("[rockman] is processed by [src]!"), span_userdanger("You get melted into rock by [src]!"))
|
||||
rockman.investigate_log("was melted by [src] for being a golem", INVESTIGATE_DEATHS)
|
||||
rockman.dust()
|
||||
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound), src, 'sound/machines/ding.ogg', 50, TRUE, SHORT_RANGE_SOUND_EXTRARANGE), 2.5 SECONDS)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user