mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
This tail refactor turned into an organ refactor. Funny how that works. (#67017)
* Fuck you (refactors ur tails) * Errors * Wow. Pain. * Fixes up probably everything * finish up here * Fixes hard del maybe * original owner hard del * garbage collection runtime * suck my peen byond * Mapped tails * motherfucker. * motherrfucker. again. * Whooopppppsie * yeah bad idea * Turns out external organs literally just sat in nullspace forever if their parent was deleted, and didnt Remove() themselves, causing harddels. * So anyways I repathed all organs * Fixes * really. * unit test... test * unit test-test but it passes linters this time because im a moh-ron * I've lost track of what im doing at this point * Hopefully fixes hard del? * meh * Update code/datums/dna.dm * things n stuff * repath from master pull
This commit is contained in:
@@ -336,7 +336,7 @@
|
||||
var/datum/weakref/arm
|
||||
|
||||
/obj/item/assembly/flash/armimplant/burn_out()
|
||||
var/obj/item/organ/cyberimp/arm/flash/real_arm = arm.resolve()
|
||||
var/obj/item/organ/internal/cyberimp/arm/flash/real_arm = arm.resolve()
|
||||
if(real_arm?.owner)
|
||||
to_chat(real_arm.owner, span_warning("Your photon projector implant overheats and deactivates!"))
|
||||
real_arm.Retract()
|
||||
@@ -345,7 +345,7 @@
|
||||
|
||||
/obj/item/assembly/flash/armimplant/try_use_flash(mob/user = null)
|
||||
if(overheat)
|
||||
var/obj/item/organ/cyberimp/arm/flash/real_arm = arm.resolve()
|
||||
var/obj/item/organ/internal/cyberimp/arm/flash/real_arm = arm.resolve()
|
||||
if(real_arm?.owner)
|
||||
to_chat(real_arm.owner, span_warning("Your photon projector is running too hot to be used again so quickly!"))
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user