mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 07:28:53 +01:00
[BUG FIX] Wardrobe
Socks are now able to be changed from the wardrobe
This commit is contained in:
@@ -12,13 +12,16 @@
|
||||
user << "<span class='warning'>Sadly there's nothing in here for you to wear.</span>"
|
||||
return 0
|
||||
|
||||
var/utype = alert("Which section do you want to pick from?",,"Male underwear", "Female underwear", "Undershirts")
|
||||
var/utype = alert("Which section do you want to pick from?",,"Underwear", "Undershirts", "Socks",)
|
||||
var/list/selection
|
||||
switch(utype)
|
||||
if("Male underwear")
|
||||
selection = underwear_m
|
||||
if("Female underwear")
|
||||
selection = underwear_f
|
||||
if("Underwear")
|
||||
var/utype2 = alert("Which section do you want to pick from?",,"Male", "Female")
|
||||
switch(utype2)
|
||||
if("Male")
|
||||
selection = underwear_m
|
||||
if("Female")
|
||||
selection = underwear_f
|
||||
if("Undershirts")
|
||||
selection = undershirt_t
|
||||
if("Socks")
|
||||
@@ -28,9 +31,9 @@
|
||||
if(get_dist(src,user) > 1)
|
||||
return
|
||||
if(utype == "Undershirts")
|
||||
H.undershirt = undershirt_t[pick]
|
||||
H.undershirt = selection[pick]
|
||||
else if(utype == "Socks")
|
||||
H.socks = socks_t[pick]
|
||||
H.socks = selection[pick]
|
||||
else
|
||||
H.underwear = selection[pick]
|
||||
H.update_body(1)
|
||||
|
||||
Reference in New Issue
Block a user