Merge pull request #9867 from VOREStation/upstream-merge-7928

[MIRROR] Added a GPS compass.
This commit is contained in:
Novacat
2021-03-09 17:58:49 -05:00
committed by Chompstation Bot
parent 4dafc3196e
commit 1d0ca9dd1e
8 changed files with 420 additions and 136 deletions

View File

@@ -1277,6 +1277,10 @@ var/list/WALLITEMS = list(
colour += temp_col
return colour
/proc/color_square(red, green, blue, hex)
var/color = hex ? hex : "#[num2hex(red, 2)][num2hex(green, 2)][num2hex(blue, 2)]"
return "<span style='font-face: fixedsys; font-size: 14px; background-color: [color]; color: [color]'>___</span>"
var/mob/dview/dview_mob = new
//Version of view() which ignores darkness, because BYOND doesn't have it.