diff --git a/code/__PATH_COMPATIBILITY/path_compatibility.dm b/code/__PATH_COMPATIBILITY/path_compatibility.dm new file mode 100644 index 00000000000..2d50b3ec3a8 --- /dev/null +++ b/code/__PATH_COMPATIBILITY/path_compatibility.dm @@ -0,0 +1,21 @@ +/* + + 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 + +*/ diff --git a/tgstation.dme b/tgstation.dme index a8b168307f4..2fb7c791662 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -70,6 +70,7 @@ #include "code\__HELPERS\sorts\InsertSort.dm" #include "code\__HELPERS\sorts\MergeSort.dm" #include "code\__HELPERS\sorts\TimSort.dm" +#include "code\__PATH_COMPATIBILITY\path_compatibility.dm" #include "code\_globalvars\configuration.dm" #include "code\_globalvars\database.dm" #include "code\_globalvars\game_modes.dm"