I wrote about this in coderbus, but no one got back to me (probably because I sent a wall of text), so I'm going to rescue it out of there in the hopes that one brave coder will accomplish this:
Does anyone know if it's possible to retool the UpdatePaths tool to allow multiple paths in the input field? I was able to find Spacemaniac have it work for multiple outputs back in 2018 via https://github.com/tgstation/tgstation/pull/40072 . The reason I ask was because that same PR mentioned in the body of the one previously linked (tgstation/40065) introduced a behavior where it would add multiple corners onto one tile, causing much larger map files. I've introduced turf decals to rectify and reconcile such behavior (https://github.com/tgstation/tgstation/pull/65290 and https://github.com/tgstation/tgstation/pull/65455), but it will continue to be CBT until an UpdatePaths Script can be written. This is an example map key:
Code: Select all
"qp" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden,
/obj/effect/turf_decal/tile/blue,
/obj/effect/turf_decal/tile/blue{
dir = 4
},
/turf/open/floor/iron{
initial_gas_mix = "TEMP=2.7"
},
/area/shuttle/caravan/freighter1)
Basically, in short terms, I want to reaccommodate this file: https://github.com/tgstation/tgstation/ ... _main__.py to accomodate such a line in a script:
Code: Select all
/obj/effect/turf_decal/tile/blue , /obj/effect/turf_decal/tile/blue {dir=4} : /obj/effect/turf_decal/tile/blue/half/contrasted {dir=4}
Code: Select all
"qp" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden,
/obj/effect/turf_decal/tile/blue/half/contrasted{
dir = 4
},
/turf/open/floor/iron{
initial_gas_mix = "TEMP=2.7"
},
/area/shuttle/caravan/freighter1)
There are a few issues with this:
Firstly, DMM files format themselves in different manners. That example I posted above with the pre-update map key "qp" could potentially be layered as such:
Code: Select all
"qp" = (
/obj/effect/turf_decal/tile/blue,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden,
/obj/effect/decal/cleanable/dirt,
/obj/effect/turf_decal/tile/blue{
dir = 4
},
/turf/open/floor/iron{
initial_gas_mix = "TEMP=2.7"
},
/area/shuttle/caravan/freighter1)
This whole thing will probably require a bit of time, and I appear to be the only person who wants it (aside from a potential case in https://github.com/tgstation/tgstation/pull/66044). It will likely require completely new functionality not seen in UpdatePaths, and it is unlikely to be trivial.
I have money, but I am going to start it off by setting the floor for this bounty at $15. Please do feel free to DM me via Discord at (@san7890#7890) if you would like to ask for a higher rate, because I do not feel it would be fair to make someone do something that I have absolutely no idea how to accomplish with a meager salary. I can use PayPal, Apple Cash, Venmo, or maybe some gift card to something if you'd rather that for any reason. Thank you for your time.