mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Hallucination Refactor (#17661)
* begone accursed beast
* cleanup and notes
* screen object fix
* varset clear
* don't raw send sounds, spark on door sound, pain hallucination
* lengthen this a bit
* more pain messages, become jittery
* note
* lets clean that up to
* Revert "lets clean that up to"
This reverts commit 2409e41870.
* cleanup and define
* use accessors
* death isn't working so have toxins instead, it's scarier
* don't actually clean these up, because of how xenochi works
* additional protection
* hunger joke
* Use get_component instead of a cache
* empty scope removed
* Updated xenochi code to use hallu component
---------
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -43,10 +43,12 @@ SUBSYSTEM_DEF(motiontracker)
|
||||
if(Rt && At && count)
|
||||
while(count-- > 0)
|
||||
// Place at root turf offset from signal responder's turf using px offsets. So it will show up over visblocking.
|
||||
var/image/motion_echo/E = new /image/motion_echo('icons/effects/effects.dmi', Rt, "motion_echo", OBFUSCATION_LAYER, SOUTH)
|
||||
var/image/client_only/motion_echo/E = new /image/client_only/motion_echo('icons/effects/effects.dmi', Rt, "motion_echo", OBFUSCATION_LAYER, SOUTH)
|
||||
E.place_from_root(At)
|
||||
for(var/datum/weakref/C in clients)
|
||||
E.append_client(C)
|
||||
for(var/datum/weakref/CW in clients)
|
||||
var/client/C = CW?.resolve()
|
||||
if(C)
|
||||
E.append_client(C)
|
||||
currentrun.Remove(key)
|
||||
expended_echos[key] = data
|
||||
if(MC_TICK_CHECK)
|
||||
|
||||
Reference in New Issue
Block a user