[MIRROR] Marker beacons don't have a 7% chance to go invisible when placed #37 (#10252)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-28 18:36:04 -07:00
committed by GitHub
parent 3148cdaf8d
commit 1b272fa19d

View File

@@ -1,6 +1,5 @@
/*****************Marker Beacons**************************/
var/list/marker_beacon_colors = list(
"Random" = FALSE, //not a true color, will pick a random color
"Burgundy" = LIGHT_COLOR_FLARE,
"Bronze" = LIGHT_COLOR_ORANGE,
"Yellow" = LIGHT_COLOR_YELLOW,
@@ -69,7 +68,10 @@ var/list/marker_beacon_colors = list(
return
if(!in_range(src, user))
return
var/input_color = tgui_input_list(user, "Choose a color.", "Beacon Color", marker_beacon_colors)
var/options = marker_beacon_colors.Copy()
options += list("Random" = FALSE) //not a true color, will pick a random color
var/input_color = tgui_input_list(user, "Choose a color.", "Beacon Color", options)
if(user.incapacitated() || !istype(user) || !in_range(src, user))
return
if(input_color)
@@ -145,7 +147,10 @@ var/list/marker_beacon_colors = list(
return
if(!in_range(src, user))
return
var/input_color = tgui_input_list(user, "Choose a color.", "Beacon Color", marker_beacon_colors)
var/options = marker_beacon_colors.Copy()
options += list("Random" = FALSE) //not a true color, will pick a random color
var/input_color = tgui_input_list(user, "Choose a color.", "Beacon Color", options)
if(user.incapacitated() || !istype(user) || !in_range(src, user))
return
if(input_color)