mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-27 15:26:28 +01:00
mech part repath (#7009)
Tears apart the overloaded `/obj/item/mecha_parts` into a few different paths. `/obj/item/vehicle_chassis` for the base part that things attach on (this is the mech construction holder) `/obj/item/vehicle_part` for things you attach to chassis `/obj/item/vehicle_component` for integral components `/obj/item/vehicle_module` for equipment This is to prepare for further work on mecha as a system, and to get some of the massive line changes out of the way. Also: - tears apart a few files that were just too long to be handled and groups everything with their mechs - erases some code reuse
This commit is contained in:
@@ -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","/obj/item","/obj/item/gun","/obj/item/reagent_containers","/obj/item/reagent_containers/food","/obj/item/clothing","/obj/machinery","/obj/vehicle/sealed/mecha","/obj/item/mecha_parts/part","/obj/vehicle/sealed/mecha_parts/mecha_equipement","/obj/item/storage/box/fluff")
|
||||
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","/obj/item","/obj/item/gun","/obj/item/reagent_containers","/obj/item/reagent_containers/food","/obj/item/clothing","/obj/machinery","/obj/vehicle/sealed/mecha","/obj/item/vehicle_part","/obj/vehicle/sealed/mecha_parts/mecha_equipement","/obj/item/storage/box/fluff")
|
||||
if(!pathtext)
|
||||
return
|
||||
var path = text2path(pathtext)
|
||||
|
||||
Reference in New Issue
Block a user