mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
winsets (#19616)
* winsets * . * . * match * . * . * . * . * needed * Gets rid of unused interface window --------- Co-authored-by: ItsSelis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -549,7 +549,6 @@
|
||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||
if("marking_remove")
|
||||
var/M = params["marking"]
|
||||
winshow(user, "prefs_markings_subwindow", FALSE)
|
||||
pref.body_markings -= M
|
||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||
if("marking_color")
|
||||
|
||||
@@ -223,7 +223,8 @@
|
||||
return assoc_to_keys(GLOB.tail_layer_options)
|
||||
|
||||
/datum/preference/choiced/human/tail_layering/create_default_value()
|
||||
return GLOB.tail_layer_options[2]
|
||||
var/list/possible = get_choices()
|
||||
return possible[2]
|
||||
|
||||
/datum/preference/choiced/human/tail_layering/apply_to_human(mob/living/carbon/human/target, value)
|
||||
target.tail_layering = GLOB.tail_layer_options[value]
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
#define SWITCH_TAIL_LAYER_UPPER "Upper"
|
||||
#define SWITCH_TAIL_LAYER_STANDARD "Standard"
|
||||
#define SWITCH_TAIL_LAYER_LOWER "Lower"
|
||||
|
||||
/mob/living/carbon/human/verb/toggle_resizing_immunity()
|
||||
set name = "Toggle Resizing Immunity"
|
||||
set desc = "Toggles your ability to resist resizing attempts"
|
||||
@@ -76,7 +72,7 @@
|
||||
var/input = tgui_input_list(src, "Select a tail layer.", "Set Tail Layer", GLOB.tail_layer_options, read_preference(/datum/preference/choiced/human/tail_layering))
|
||||
if(!input)
|
||||
return
|
||||
var/tail_option = GLOB.tail_layer_options[input]
|
||||
var/tail_option = GLOB.tail_layer_options[input]
|
||||
if(!tail_option)
|
||||
return
|
||||
tail_layering = tail_option
|
||||
@@ -117,7 +113,3 @@
|
||||
else
|
||||
message = "hides their tail."
|
||||
visible_message(span_filter_notice("[src] [message]"))
|
||||
|
||||
#undef SWITCH_TAIL_LAYER_UPPER
|
||||
#undef SWITCH_TAIL_LAYER_STANDARD
|
||||
#undef SWITCH_TAIL_LAYER_LOWER
|
||||
|
||||
@@ -307,5 +307,5 @@
|
||||
/mob/living/carbon/human/set_dir(new_dir)
|
||||
. = ..()
|
||||
if(. && (species.tail || tail_style))
|
||||
//update_tail_showing() this is already called by update_inv_wear_suit
|
||||
update_tail_showing()
|
||||
update_inv_wear_suit()
|
||||
|
||||
@@ -612,7 +612,7 @@
|
||||
|
||||
var/icon/new_holo = getCompoundIcon(dummy)
|
||||
|
||||
dummy.tail_layering = TRUE
|
||||
dummy.tail_layering = TAIL_UPPER_LAYER
|
||||
dummy.set_dir(NORTH)
|
||||
var/icon/new_holo_north = getCompoundIcon(dummy)
|
||||
dummy.set_dir(EAST)
|
||||
|
||||
Reference in New Issue
Block a user