Organizes the Update Paths tools folder and provides a readme (#13992)

Co-authored-by: Son-of-Space <63861499+Son-of-Space@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-30 13:26:57 +02:00
committed by GitHub
parent c260ddce59
commit c89d632f00
25 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
/turf/open/floor/plating/dirt : /turf/open/misc/dirt{@OLD}
/turf/open/floor/plating/dirt/dark : /turf/open/misc/dirt/dark{@OLD}
/turf/open/floor/plating/dirt/jungle : /turf/open/misc/dirt/jungle{@OLD}
/turf/open/floor/plating/dirt/jungle/dark : /turf/open/misc/dirt/jungle/dark{@OLD}
/turf/open/floor/plating/dirt/jungle/wasteland : /turf/open/misc/dirt/jungle/wasteland{@OLD}
/turf/open/floor/plating/ashplanet : /turf/open/misc/ashplanet{@OLD}
/turf/open/floor/plating/ashplanet/ash : /turf/open/misc/ashplanet/ash{@OLD}
/turf/open/floor/plating/ashplanet/rocky : /turf/open/misc/ashplanet/rocky{@OLD}
/turf/open/floor/plating/ashplanet/wateryrock : /turf/open/misc/ashplanet/wateryrock{@OLD}
/turf/open/floor/plating/grass : /turf/open/misc/grass{@OLD}
/turf/open/floor/plating/grass/jungle : /turf/open/misc/grass/jungle{@OLD}
/turf/open/floor/plating/grass/lavaland : /turf/open/misc/grass/lavaland{@OLD}
/turf/open/floor/plating/sandy_dirt : /turf/open/misc/sandy_dirt{@OLD}
/turf/open/floor/plating/ironsand : /turf/open/misc/ironsand{@OLD}
/turf/open/floor/plating/ice : /turf/open/misc/ice{@OLD}
/turf/open/floor/plating/ice/smooth : /turf/open/misc/ice/smooth{@OLD}
/turf/open/floor/plating/ice/icemoon : /turf/misc/ice/icemoon{@OLD}
/turf/open/floor/plating/ice/icemoon/no_planet_atmos : /turf/open/misc/ice/icemoon/no_planet_atmos{@OLD}
/turf/open/floor/plating/beach : /turf/open/misc/beach{@OLD}
/turf/open/floor/plating/beach/sand : /turf/open/misc/beach/sand{@OLD}
/turf/open/floor/plating/beach/coastline_t : /turf/open/misc/beach/coastline_t{@OLD}
/turf/open/floor/plating/beach/coastline_t/sandwater_inner : /turf/open/misc/beach/coastline_t/sandwater_inner{@OLD}
/turf/open/floor/plating/beach/coastline_b : /turf/open/misc/beach/coastline_b{@OLD}
/turf/open/floor/plating/beach/water : /turf/open/water/beach{@OLD}
/turf/open/floor/grass/snow : /turf/open/misc/snow{@OLD}
/turf/open/floor/grass/snow/safe : /turf/open/floor/fake_snow{@OLD}
/turf/open/floor/grass/snow/basalt : /turf/open/misc/basalt{@OLD}
/turf/open/floor/grass/snow/basalt/safe : /turf/open/floor/fakebasalt{@OLD}
/turf/open/floor/plating/asteroid : /turf/open/misc/asteroid{@OLD}
/turf/open/floor/plating/asteroid/dug : /turf/open/misc/asteroid/dug{@OLD}
/turf/open/floor/plating/asteroid/basalt : /turf/open/misc/asteroid/basalt{@OLD}
/turf/open/floor/plating/asteroid/basalt/lava : /turf/open/misc/asteroid/basalt/lava{@OLD}
/turf/open/floor/plating/asteroid/basalt/airless : /turf/open/misc/asteroid/basalt/airless{@OLD}
/turf/open/floor/plating/asteroid/basalt/lava_land_surface : /turf/open/misc/asteroid/basalt/lava_land_surface{@OLD}
/turf/open/floor/plating/asteroid/lowpressure : /turf/open/misc/asteroid/lowpressure{@OLD}
/turf/open/floor/plating/asteroid/airless : /turf/open/misc/asteroid/airless{@OLD}
/turf/open/floor/plating/asteroid/snow : /turf/open/misc/asteroid/snow{@OLD}
/turf/open/floor/plating/asteroid/snow/icemoon : /turf/open/misc/asteroid/snow/icemoon{@OLD}
/turf/open/floor/plating/asteroid/snow/ice : /turf/open/misc/asteroid/snow/ice{@OLD}
/turf/open/floor/plating/asteroid/snow/ice/icemoon : /turf/open/misc/asteroid/snow/ice/icemoon{@OLD}
/turf/open/floor/plating/asteroid/snow/airless : /turf/open/misc/asteroid/snow/airless{@OLD}
/turf/open/floor/plating/asteroid/snow/temperatre : /turf/open/misc/asteroid/snow/temperatre{@OLD}
/turf/open/floor/plating/asteroid/snow/atmosphere : /turf/open/misc/asteroid/snow/atmosphere{@OLD}
/turf/open/floor/plating/asteroid/snow/standard_air : /turf/open/misc/asteroid/snow/standard_air{@OLD}
/turf/open/floor/plating/asteroid/basalt/wasteland : /turf/open/misc/asteroid/basalt/wasteland{@OLD}

View File

@@ -0,0 +1,32 @@
HOW TO USE:
Drag one of the scripts in the “Scripts” folder onto the .bat file “Update Paths” to open it with the .bat file. Let the script run.
Use this tool before using mapmerge or opening the map in an editor.
IMPORTANT:
Please tie the script you are making to the associated PR on github and put it in the scripts folder when you are done.
For example: 67107_Turf_Updates_2
HOW TO MAKE A SCRIPT:
This tool updates paths in the game to new paths. For instance:
If you have a path labeled
/obj/structure/door/airlock/science/closed/rd
and wanted it to be
/obj/structure/door/airlock/science/rd/closed
This tool would update it for you! This is extremely helpful if you want to be nice to people who have to resolve merge conflicts from the PRs that you make updating these areas.
How do you do it?
Simply open a notepad and type this on a line:
/obj/structure/door/airlock/science/closed/rd : /obj/structure/door/airlock/science/rd/closed
The path on the left is the old, the path on the right is the new. It is seperated by a ":"
If you want to make multiple path changes in one script, simply add more changes on new lines.
If you get lost, look at other scripts for examples.