mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
22 lines
701 B
Plaintext
22 lines
701 B
Plaintext
/*
|
|
|
|
This is a smart+stupid method of maintaining paths during refactors.
|
|
At this point in time we have more maps than ever, and our tools just aren't that great.
|
|
So instead of repathing all the maps...
|
|
|
|
Keep the old path defined, just as an empty type with that path, and then define it's
|
|
parent_type as the new path, effectively maintaining the object/mob w/e without having
|
|
to touch all the maps, avoiding all those nasty conflicts!
|
|
|
|
Ideally the old paths would be cleaned out as mappers go about their usual routine of
|
|
updating old maps.
|
|
|
|
tl;dr TYPEFUCKERY, because fuck updating all these maps
|
|
|
|
Example:
|
|
|
|
/obj/structure/bed/chair/janicart/secway
|
|
parent_type = /obj/vehicle/secway
|
|
|
|
*/
|