Gave the beach an edge instead of endless void.

This commit is contained in:
Tastyfish
2016-02-27 03:03:23 -05:00
parent 4abd667466
commit cb2989eea1
5 changed files with 182 additions and 82 deletions
@@ -0,0 +1,37 @@
/obj/effect/waterfall
name = "waterfall effect"
icon = 'icons/effects/effects.dmi'
icon_state = "extinguish"
opacity = 0
mouse_opacity = 0
density = 0
anchored = 1
invisibility = 101
var/water_frequency = 15
var/water_timer = 0
/obj/effect/waterfall/New()
water_timer = addtimer(src, "drip", water_frequency)
/obj/effect/waterfall/Destroy()
if(water_timer)
deltimer(water_timer)
water_timer = null
/obj/effect/waterfall/proc/drip()
var/obj/effect/effect/water/W = new(loc)
W.dir = dir
spawn(1)
W.loc = get_step(W, dir)
water_timer = addtimer(src, "drip", water_frequency)
/obj/structure/sign/terrain
name = "warning sign"
desc = "Watch your step! Unstable terrain."
density = 1
icon = 'icons/obj/stationobjs.dmi'
icon_state = "signpost"
/obj/structure/sign/terrain/attack_hand(mob/user)
examine(user)