Merge pull request #13069 from Chiirno/radioactive-port

Ports TG #51879 - Makes rads glow, buffs rad goggles
This commit is contained in:
silicons
2020-08-09 05:35:08 -07:00
committed by GitHub
4 changed files with 23 additions and 7 deletions
@@ -97,14 +97,14 @@
if(get_dist(user, place) >= range*8) //Rads are easier to see than wires under the floor
continue
var/strength = round(rad_places[i] / 1000, 0.1)
var/image/pic = new(loc = place)
var/image/pic = image(loc = place)
var/mutable_appearance/MA = new()
MA.alpha = 180
MA.maptext = "[strength]k"
MA.color = "#64C864"
MA.layer = FLY_LAYER
MA.maptext = "<span class='maptext'>[strength]k</span>"
MA.color = "#04e604"
MA.layer = RAD_TEXT_LAYER
MA.plane = GAME_PLANE
pic.appearance = MA
flick_overlay(pic, list(user.client), 8)
flick_overlay(pic, list(user.client), 10)
/obj/item/clothing/glasses/meson/engine/proc/show_shuttle()
var/mob/living/carbon/human/user = loc