Files
Yogstation/code/__PATH_COMPATIBILITY/path_compatibility.dm
Bjorn Neergaard 14606bea5e Add back path_compatibility.dm
At the request of @RemieRichards
2016-02-13 00:11:05 -06:00

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
*/