Skip to content

Commit

Permalink
Really tiny (#10716)
Browse files Browse the repository at this point in the history
  • Loading branch information
TsunamiAnt authored Jun 7, 2024
1 parent e791bb3 commit d4e793e
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions code/game/turfs/open/floor/plating/misc_plating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
icon_state = "water"
baseturfs = /turf/open/floor/plating/beach/water
slowdown = 3
var/obj/effect/water_overlay = null
bullet_sizzle = TRUE
bullet_bounce_sound = 'sound/effects/splash.ogg'
footstep = FOOTSTEP_WATER
Expand All @@ -176,18 +175,6 @@

// pool.dm copy paste

/turf/open/floor/plating/beach/water/Initialize(mapload)
. = ..()
water_overlay = new /obj/effect/overlay/poolwater(get_turf(src))

/turf/open/floor/plating/beach/water/proc/set_colour(colour)
water_overlay.color = colour

/turf/open/floor/plating/beach/water/end/ChangeTurf(path, list/new_baseturfs, flags)
if(water_overlay)
qdel(water_overlay)
. = ..()

/turf/open/CanPass(atom/movable/mover, turf/target)
var/datum/component/swimming/S = mover.GetComponent(/datum/component/swimming) //If you're swimming around, you don't really want to stop swimming just like that do you?
if(S)
Expand Down Expand Up @@ -298,6 +285,7 @@
/turf/open/floor/plating/beach/deep_water
desc = "Deep water. What if there's sharks?"
icon_state = "water_deep"
name = "deep water"
density = 1 //no swimming

/turf/open/floor/plating/beach/coastline_t
Expand Down

0 comments on commit d4e793e

Please sign in to comment.