mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Fix two issues with icebox lizard gas (#5703)
## About The Pull Request - The area type for lizard gas on icebox had `requires_power = FALSE` which means when the APC ran out nothing happened, which is dumb because there's an APC and an SMES and a deployable generator the power is clearly supposed to matter - Because the ruin spawns on the station Z level the circuit imprinter auto connects to the station ore silo, this doesn't make sense and the lavaland version doesn't do it so it doesn't anymore ## Why It's Good For The Game Fixes #5370 ## Proof Of Testing I spawned in and set the APC charge to 0 and verified that the area actually loses power and lights go out/machines turn off, then I went and put some mats into the station ore silo and verified that the circuit imprinter in the gas station didn't have them ## Changelog 🆑 fix: fixed icebox lizard gas having infinite power fix: fixed icebox lizard gas circuit imprinter connecting to station ore silo /🆑
This commit is contained in:
@@ -25,12 +25,16 @@
|
||||
var/datum/looping_sound/lathe_print/print_sound
|
||||
///made so we dont call addtimer() 40,000 times in on_techweb_update(). only allows addtimer() to be called on the first update
|
||||
var/techweb_updating = FALSE
|
||||
// BUBBER EDIT ADDITION BEGIN - Lizard gas imprinter
|
||||
/// Whether to force the materials container not to connect to the station ore silo
|
||||
var/force_disconnect = FALSE
|
||||
// BUBBER EDIT ADDITION END
|
||||
|
||||
/obj/machinery/rnd/production/Initialize(mapload)
|
||||
print_sound = new(src, FALSE)
|
||||
materials = new (
|
||||
src, \
|
||||
mapload, \
|
||||
force_disconnect ? FALSE : mapload, // BUBBER EDIT CHANGE - Lizard gas imprinter - ORIGINAL: mapload,
|
||||
mat_container_signals = list( \
|
||||
COMSIG_MATCONTAINER_ITEM_CONSUMED = TYPE_PROC_REF(/obj/machinery/rnd/production, local_material_insert)
|
||||
) \
|
||||
|
||||
Reference in New Issue
Block a user