mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
[MIRROR] VR pod rewrite (#10484)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
07e5012dd2
commit
ddebf29f35
@@ -588,3 +588,34 @@ steam.start() -- spawns the effect
|
||||
round(min(light, BOMBCAP_LIGHT_RADIUS)),
|
||||
round(min(flash, BOMBCAP_FLASH_RADIUS))
|
||||
)
|
||||
|
||||
////////////////////////////////////////////
|
||||
// A fancier teleport, used in hyper pads
|
||||
////////////////////////////////////////////
|
||||
|
||||
/obj/effect/effect/teleport_greyscale
|
||||
name = "teleportation"
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
icon_state = "teleport_greyscale"
|
||||
anchored = 1
|
||||
mouse_opacity = 0
|
||||
plane = MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
|
||||
/obj/effect/effect/teleport_greyscale/Initialize(mapload)
|
||||
. = ..()
|
||||
QDEL_IN(src, 2 SECONDS)
|
||||
|
||||
/datum/effect/effect/system/teleport_greyscale
|
||||
var/color = "#FFFFFF"
|
||||
|
||||
/datum/effect/effect/system/teleport_greyscale/set_up(cl, loca)
|
||||
if(istype(loca, /turf/))
|
||||
location = loca
|
||||
else
|
||||
location = get_turf(loca)
|
||||
color = cl
|
||||
|
||||
/datum/effect/effect/system/teleport_greyscale/start()
|
||||
var/obj/effect/effect/teleport_greyscale/tele = new /obj/effect/effect/teleport_greyscale(src.location)
|
||||
tele.color = color
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/obj/effect/effect/confetti
|
||||
name = "confetti"
|
||||
icon = 'icons/effects/effects_ch.dmi'
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
icon_state = "confetti"
|
||||
opacity = 0
|
||||
anchored = 0.0
|
||||
@@ -86,34 +86,3 @@
|
||||
/obj/effect/effect/snow/heavy
|
||||
name = "heavy snowfall"
|
||||
icon_state = "snowfall_heavy"
|
||||
|
||||
////////////////////////////////////////////
|
||||
// A fancier teleport, used in hyper pads
|
||||
////////////////////////////////////////////
|
||||
|
||||
/obj/effect/effect/teleport_greyscale
|
||||
name = "teleportation"
|
||||
icon = 'icons/effects/effects_ch.dmi'
|
||||
icon_state = "teleport_greyscale"
|
||||
anchored = 1
|
||||
mouse_opacity = 0
|
||||
plane = MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
|
||||
/obj/effect/effect/teleport_greyscale/Initialize(mapload)
|
||||
. = ..()
|
||||
QDEL_IN(src, 2 SECONDS)
|
||||
|
||||
/datum/effect/effect/system/teleport_greyscale
|
||||
var/color = "#FFFFFF"
|
||||
|
||||
/datum/effect/effect/system/teleport_greyscale/set_up(cl, loca)
|
||||
if(istype(loca, /turf/))
|
||||
location = loca
|
||||
else
|
||||
location = get_turf(loca)
|
||||
color = cl
|
||||
|
||||
/datum/effect/effect/system/teleport_greyscale/start()
|
||||
var/obj/effect/effect/teleport_greyscale/tele = new /obj/effect/effect/teleport_greyscale(src.location)
|
||||
tele.color = color
|
||||
|
||||
Reference in New Issue
Block a user