mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
Tyr Update attempt 2 (#11191)
This commit is contained in:
@@ -12,7 +12,7 @@ var/datum/planet/tyr/planet_tyr = null
|
||||
|
||||
/datum/planet/tyr/New()
|
||||
..()
|
||||
planet_thor = src
|
||||
planet_tyr = src
|
||||
weather_holder = new /datum/weather_holder/tyr(src)
|
||||
|
||||
/datum/planet/tyr/update_sun()
|
||||
@@ -393,6 +393,23 @@ var/datum/planet/tyr/planet_tyr = null
|
||||
name = "vast desert"
|
||||
alpha = 0
|
||||
|
||||
/turf/simulated/tyracid
|
||||
name = "fuel"
|
||||
icon = 'icons/goonstation/turf/timeholefull.dmi'
|
||||
icon_state = "timehole"
|
||||
color = "#FF3100"
|
||||
var/acidlevel = 1
|
||||
|
||||
/turf/simulated/tyracid/Entered(atom/movable/AM, atom/oldloc)
|
||||
if(isliving(AM))
|
||||
var/mob/living/L = AM
|
||||
if(L.hovering || L.flying || L.throwing || L.is_incorporeal())
|
||||
return 0
|
||||
acidlevel *= 1 - L.get_water_protection()
|
||||
if(acidlevel > 0)
|
||||
L.adjustFireLoss(acidlevel)
|
||||
|
||||
|
||||
/*
|
||||
WEATHER_BLIZZARD = new (),
|
||||
WEATHER_STORM = new(),
|
||||
|
||||
Reference in New Issue
Block a user