Files
Paradise/tools/UpdatePaths
Venuska1117 b234b3e4ba Sort "mob_spawn.dm" to 2 specific categories. (#21728)
* NanoMap Auto-Update (Sun Jul  2 02:02:08 UTC 2023)

* Sorting mob_spawn file to have 2 categories.

* Holy jesus
So many files using alive and corpses... send help.

* Delete wizardcrash.dmm

* Trying..

* fixing mime/clown .dmm stuff

* Test

* Fix UpdatePaths file
now it should contain all corpses/alive path swapping.

---------

Co-authored-by: NanoMap Generation <action@github.com>
2023-09-08 21:23:30 +01:00
..

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: 17980_rust_converter ties into https://github.com/ParadiseSS13/Paradise/pull/17980

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.