Removes the RS add comments

This commit is contained in:
C.L.
2025-01-14 15:21:24 -05:00
parent 9a17931d86
commit 3d25ff0b4a
2 changed files with 7 additions and 9 deletions
+4 -4
View File
@@ -426,9 +426,9 @@ var/global/datum/controller/occupations/job_master
//if(G.slot == slot_wear_mask || G.slot == slot_wear_suit || G.slot == slot_head)
// custom_equip_leftovers += thing
//else
if(G.slot == slot_wear_suit && H.client?.prefs?.no_jacket) //RS ADD
if(G.slot == slot_wear_suit && H.client?.prefs?.no_jacket)
continue
if(G.slot == slot_shoes && H.client?.prefs?.shoe_hater) //RS ADD
if(G.slot == slot_shoes && H.client?.prefs?.shoe_hater)
continue
if(H.equip_to_slot_or_del(G.spawn_item(H, metadata), G.slot))
to_chat(H, span_notice("Equipping you with \the [thing]!"))
@@ -455,9 +455,9 @@ var/global/datum/controller/occupations/job_master
// If some custom items could not be equipped before, try again now.
for(var/thing in custom_equip_leftovers)
var/datum/gear/G = gear_datums[thing]
if(G.slot == slot_wear_suit && H.client?.prefs?.no_jacket) //RS ADD
if(G.slot == slot_wear_suit && H.client?.prefs?.no_jacket)
continue
if(G.slot == slot_shoes && H.client?.prefs?.shoe_hater) //RS ADD
if(G.slot == slot_shoes && H.client?.prefs?.shoe_hater)
continue
if(G.slot in custom_equip_slots)
spawn_in_storage += thing
@@ -137,7 +137,7 @@ var/global/list/valid_ringtones = list(
. += "PDA Type: <a href='byond://?src=\ref[src];change_pda=1'><b>[pdachoicelist[pref.pdachoice]]</b></a><br>"
. += "Communicator Visibility: <a href='byond://?src=\ref[src];toggle_comm_visibility=1'><b>[(pref.communicator_visibility) ? "Yes" : "No"]</b></a><br>"
. += "Ringtone (leave blank for job default): <a href='byond://?src=\ref[src];set_ringtone=1'><b>[pref.ringtone]</b></a><br>"
. += "Spawn With Shoes:<a href='byond://?src=\ref[src];toggle_shoes=1'><b>[(pref.shoe_hater) ? "No" : "Yes"]</b></a><br>" //RS Addition
. += "Spawn With Shoes:<a href='byond://?src=\ref[src];toggle_shoes=1'><b>[(pref.shoe_hater) ? "No" : "Yes"]</b></a><br>"
. += "Spawn With Jacket:<a href='byond://?src=\ref[src];toggle_jacket=1'><b>[(pref.no_jacket) ? "No" : "Yes"]</b></a><br>"
return jointext(.,null)
@@ -213,15 +213,13 @@ var/global/list/valid_ringtones = list(
else
pref.ringtone = choice
return TOPIC_REFRESH
else if(href_list["toggle_shoes"]) //RS ADD START
else if(href_list["toggle_shoes"])
if(CanUseTopic(user))
pref.shoe_hater = !pref.shoe_hater
return TOPIC_REFRESH
//RS ADD END
else if(href_list["toggle_jacket"]) //RS ADD START
else if(href_list["toggle_jacket"])
if(CanUseTopic(user))
pref.no_jacket = !pref.no_jacket
return TOPIC_REFRESH
//RS ADD END
return ..()