mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-30 03:05:29 +00:00
62 lines
2.2 KiB
Plaintext
62 lines
2.2 KiB
Plaintext
// -- Turfs -- //
|
|
|
|
/turf/simulated/floor/beach/coastwater
|
|
name = "Water"
|
|
icon_state = "water"
|
|
|
|
/turf/simulated/floor/beach/coastwater/New()
|
|
..()
|
|
overlays += image("icon"='icons/misc/beach.dmi',"icon_state"="water","layer"=MOB_LAYER+0.1)
|
|
|
|
|
|
// -- Areas -- //
|
|
|
|
/area/awaymission/beach
|
|
base_turf = /turf/simulated/floor/beach/sand
|
|
// forced_ambience = list('') // Need beach ambience sound loop.
|
|
|
|
/area/awaymission/beachexit // This serves only to stop the sound spam of the beach before leaving.
|
|
icon_state = "red"
|
|
base_turf = /turf/simulated/floor/beach/sand
|
|
luminosity = 1
|
|
dynamic_lighting = 0
|
|
requires_power = 0
|
|
|
|
/area/awaymission/beach/coast
|
|
icon_state = "blue2"
|
|
base_turf = /turf/simulated/floor/beach/coastline
|
|
|
|
/area/awaymission/beach/water
|
|
icon_state = "bluenew"
|
|
base_turf = /turf/simulated/floor/beach/coastwater
|
|
|
|
/area/awaymission/beach/jungle
|
|
icon_state = "green"
|
|
valid_mobs = list(/mob/living/simple_animal/crab, /mob/living/carbon/human/monkey)
|
|
valid_flora = list(/obj/effect/overlay/palmtree_r,/obj/effect/overlay/palmtree_l, /obj/effect/overlay/palmtree_r,/obj/effect/overlay/palmtree_l, /obj/effect/overlay/coconut)
|
|
mobcountmax = 10
|
|
floracountmax = 5000
|
|
|
|
// -- Items -- //
|
|
|
|
/*/obj/effect/spawner/beach // Hacky as all hell and causes slow round loads BUT IT FUCKING WORKS NOW, DOESN'T IT? -Ace
|
|
icon = 'icons/misc/beach.dmi'
|
|
icon_state = "coconuts"
|
|
|
|
New()
|
|
switch(rand(1,100)) // It's written fucky so it's more efficient, trying the most likely options first to cause less lag hopefully.
|
|
if(26 to 99)
|
|
qdel(src)
|
|
if(1 to 10)
|
|
new /obj/effect/overlay/palmtree_r(get_turf(src))
|
|
if(11 to 20)
|
|
new /obj/effect/overlay/palmtree_l(get_turf(src))
|
|
if(21 to 25)
|
|
new /obj/effect/overlay/coconut(get_turf(src))
|
|
if(100)
|
|
var/trash = pick(/obj/item/trash/raisins, /obj/item/trash/candy, /obj/item/trash/cheesie, /obj/item/trash/chips,
|
|
/obj/item/trash/popcorn, /obj/item/trash/sosjerky, /obj/item/trash/syndi_cakes, /obj/item/trash/plate,
|
|
/obj/item/trash/pistachios, /obj/item/trash/semki, /obj/item/trash/tray, /obj/item/trash/liquidfood,
|
|
/obj/item/trash/tastybread, /obj/item/trash/snack_bowl, /mob/living/simple_animal/crab)
|
|
new trash(get_turf(src))
|
|
qdel(src)*/ |