mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
fixes one of my first ever coding sins here (#18412)
* fixes one of my first ever coding sins here make it explicit naming fix that ancient bug too confirm sane . . move it up better keep it there only color objects . properly reset on bad values . urg . * , --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
054345cd87
commit
b0a8bfaec6
@@ -912,11 +912,11 @@
|
||||
set category = "Abilities.Settings"
|
||||
set desc = "Allows to recolour once."
|
||||
|
||||
if(!has_recoloured)
|
||||
var/datum/ColorMate/recolour = new /datum/ColorMate(src)
|
||||
recolour.tgui_interact(src)
|
||||
if(has_recoloured)
|
||||
to_chat(src, "You've already recoloured yourself once. Ask for a module reset for another.")
|
||||
return
|
||||
to_chat(src, "You've already recoloured yourself once. Ask for a module reset for another.")
|
||||
|
||||
tgui_input_colormatrix(src, "Allows you to recolor yourself", "Robot Recolor", src, ui_state = GLOB.tgui_conscious_state)
|
||||
|
||||
/mob/living/silicon/robot/attack_hand(mob/user)
|
||||
if(LAZYLEN(buckled_mobs))
|
||||
|
||||
@@ -424,11 +424,11 @@
|
||||
set category = "Abilities.Settings"
|
||||
set desc = "Allows to recolour once."
|
||||
|
||||
if(!has_recoloured)
|
||||
var/datum/ColorMate/recolour = new /datum/ColorMate(src)
|
||||
recolour.tgui_interact(src)
|
||||
if(has_recoloured)
|
||||
to_chat(src, "You've already recoloured yourself once. You are only allowed to recolour yourself once during a around.")
|
||||
return
|
||||
to_chat(src, "You've already recoloured yourself once. You are only allowed to recolour yourself once during a around.")
|
||||
|
||||
tgui_input_colormatrix(src, "Allows you to recolor yourself", "Animal Recolor", src, ui_state = GLOB.tgui_conscious_state)
|
||||
|
||||
//Thermal vision adding
|
||||
|
||||
|
||||
Reference in New Issue
Block a user