mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Add neckwear to the event outfit manager. (#30474)
This commit is contained in:
@@ -59,6 +59,7 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits
|
||||
var/list/headwear = typesof(/obj/item/clothing/head)
|
||||
var/list/glasses = typesof(/obj/item/clothing/glasses)
|
||||
var/list/masks = typesof(/obj/item/clothing/mask)
|
||||
var/list/neckwear = typesof(/obj/item/clothing/neck)
|
||||
var/list/pdas = typesof(/obj/item/pda)
|
||||
var/list/ids = typesof(/obj/item/card/id)
|
||||
|
||||
@@ -97,6 +98,12 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits
|
||||
mask_select += "<option value=\"[path]\">[path]</option>"
|
||||
mask_select += "</select>"
|
||||
|
||||
var/neckwear_select = "<select name=\"outfit_neckwear\"><option value=\"\">None</option>"
|
||||
for(var/path in neckwear)
|
||||
neckwear_select += "<option value=\"[path]\">[path]</option>"
|
||||
neckwear_select += "</select>"
|
||||
|
||||
|
||||
var/id_select = "<select name=\"outfit_id\"><option value=\"\">None</option>"
|
||||
for(var/path in ids)
|
||||
id_select += "<option value=\"[path]\">[path]</option>"
|
||||
@@ -167,6 +174,12 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits
|
||||
[mask_select]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Neck:</th>
|
||||
<td>
|
||||
[neckwear_select]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Left Ear:</th>
|
||||
<td>
|
||||
@@ -246,6 +259,7 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits
|
||||
O.head = text2path(href_list["outfit_head"])
|
||||
O.back = text2path(href_list["outfit_back"])
|
||||
O.mask = text2path(href_list["outfit_mask"])
|
||||
O.neck = text2path(href_list["outfit_neckwear"])
|
||||
O.glasses = text2path(href_list["outfit_glasses"])
|
||||
O.r_hand = text2path(href_list["outfit_r_hand"])
|
||||
O.l_hand = text2path(href_list["outfit_l_hand"])
|
||||
|
||||
Reference in New Issue
Block a user