Skip to content

Commit

Permalink
MODIFIES STEP_TRIGGERS.dm + TRANSIT.dmm
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor-Derp committed Feb 14, 2024
1 parent 33a134e commit c9971f6
Show file tree
Hide file tree
Showing 3 changed files with 9,434 additions and 9,528 deletions.
3 changes: 3 additions & 0 deletions code/game/objects/effects/step_triggers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
var/affect_ghosts = 0
var/stopper = 1 // stops throwers
invisibility = 101 // nope cant see this shit
icon = 'icons/misc/mark.dmi'
anchored = TRUE

/obj/effect/step_trigger/proc/Trigger(var/atom/movable/A)
Expand Down Expand Up @@ -31,6 +32,7 @@
var/facedir = 0 // if 1: atom faces the direction of movement
var/nostop = 0 // if 1: will only be stopped by teleporters
var/list/affecting = list()
icon_state = "directional"

/obj/effect/step_trigger/thrower/Trigger(var/atom/movable/AM)
if(!AM || !istype(AM) || !AM.simulated)
Expand Down Expand Up @@ -108,6 +110,7 @@
var/teleport_x_offset = 0
var/teleport_y_offset = 0
var/teleport_z_offset = 0
icon_state = "cordon"

/obj/effect/step_trigger/teleporter/random/Trigger(var/atom/movable/A)
var/turf/T = locate(rand(teleport_x, teleport_x_offset), rand(teleport_y, teleport_y_offset), rand(teleport_z, teleport_z_offset))
Expand Down
Binary file modified icons/misc/mark.dmi
Binary file not shown.
Loading

0 comments on commit c9971f6

Please sign in to comment.