More paths to Quick_Create

Add devices
Add guns
Add mecha_equipement
Add mecha_parts
Add reagent containers
Add specially food

Considering adding one for each clothing types such as under, head, above, gloves, glasses and so on.
This commit is contained in:
lbnesquik
2018-10-13 14:33:27 +02:00
parent 35cbc53030
commit f45fe2e6bd

View File

@@ -15,7 +15,7 @@
var/quick_create_object_html = null
var/pathtext = null
pathtext = input("Select the path of the object you wish to create.", "Path", "/obj") as null|anything in list("/obj","/obj/structure","/obj/item","/obj/item/weapon","/obj/item/clothing","/obj/machinery","/obj/mecha")
pathtext = input("Select the path of the object you wish to create.", "Path", "/obj") as null|anything in list("/obj","/obj/structure","/obj/item","/obj/item/device","/obj/item/weapon","/obj/item/weapon/gun","/obj/item/weapon/reagent_containers","/obj/item/weapon/reagent_containers/food","/obj/item/clothing","/obj/machinery","/obj/mecha","/obj/item/mecha_parts/part","/obj/mecha_parts/mecha_equipement")
if(!pathtext)
return
var path = text2path(pathtext)