mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Acid Rain Weather (#25222)
* Planetstation: RCD Rewrite * asd * defines * fixes * clock cult thanks joan * ASDASDADSASDDSASD * hdjjhadjhdasjhkasd * Planetstation: Acid Rain * ddashshg * Adds Cuboos Sounds * afdafhdjfadsjhhfdws * fixes immunity
This commit is contained in:
@@ -184,3 +184,33 @@
|
||||
status_signal.data["picture_state"] = "radiation"
|
||||
|
||||
frequency.post_signal(src, status_signal)
|
||||
|
||||
|
||||
/datum/weather/acid_rain
|
||||
name = "acid rain"
|
||||
desc = "Some stay dry and others feel the pain"
|
||||
|
||||
telegraph_duration = 400
|
||||
telegraph_message = "<span class='danger'>Stinging droplets start to fall upon you..</span>"
|
||||
telegraph_sound = 'sound/ambience/acidrain_start.ogg'
|
||||
|
||||
weather_message = "<span class='userdanger'><i>Your skin melts underneath the rain!</i></span>"
|
||||
weather_overlay = "acid_rain"
|
||||
weather_duration_lower = 600
|
||||
weather_duration_upper = 1500
|
||||
weather_sound = 'sound/ambience/acidrain_mid.ogg'
|
||||
|
||||
end_duration = 100
|
||||
end_message = "<span class='notice'>The rain starts to dissipate.</span>"
|
||||
end_sound = 'sound/ambience/acidrain_end.ogg'
|
||||
|
||||
area_type = /area/lavaland/surface/outdoors
|
||||
target_z = ZLEVEL_LAVALAND
|
||||
|
||||
immunity_type = "acid" // temp
|
||||
|
||||
|
||||
/datum/weather/acid_rain/impact(mob/living/L)
|
||||
var/resist = L.getarmor(null, "acid")
|
||||
if(prob(max(0,100-resist)))
|
||||
L.acid_act(20,20)
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 16 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user