Commit Graph

8 Commits

Author SHA1 Message Date
SkyratBot
124ff7955c [MIRROR] Improves mob resizing (and UpdatePaths). [MDB IGNORE] (#21726)
* Improves mob resizing (and UpdatePaths).

* updatepaths

* conflicts

* update modular

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Jolly-66 <70232195+Jolly-66@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2023-06-18 14:23:05 +01:00
SkyratBot
2fbe3fd167 [MIRROR] Makes update paths remove keys left after merging. [MDB IGNORE] (#13588)
* Makes update paths remove keys left after merging. (#66916)

Fixes #66914

* Makes update paths remove keys left after merging.

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-05-13 16:06:45 -07:00
SkyratBot
806d967211 Adds deletion functionality to update paths script. (#66506) (#13294)
Sometimes actually needed in the update scripts but wasn't supported properly.

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-05-03 16:06:04 +01:00
SkyratBot
40513702c7 [MIRROR] Adds support for simple subtype repathing for UpdatePaths scripts [MDB IGNORE] (#13091)
* Adds support for simple subtype repathing for UpdatePaths scripts (#66469)

* Adds support for simple subtype repathing for UpdatePaths scripts

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-04-25 14:26:13 +01:00
SkyratBot
b5f44be749 [MIRROR] UpdatePaths: Handle lists containing strings [MDB IGNORE] (#9497)
* UpdatePaths: Handle lists containing strings (#62595)

* UpdatePaths: Handle lists containing strings

The split_re regex considers two alternatives when splitting out property
values.
The first alternative, "(?:.+?)" looks for a value that starts and
ends with a double quote, containing any characters between, but using
the smallest length possible.
The second alternative, [^";]* looks for a value that does not contain
any double quotes or semicolons.

Neither of these cases will handle a value such as network = list("fsc");

To handle this case without a major rewrite, the second alternative is
updated to [^"][^;]+ which looks for a value that does not start with a
double quote and does not contain a semicolon.

* UpdatePaths Support @ OLD;... too

This strips the trailing semicolon, if present, which it will be if
you're overriding an old value after specifying @ OLD.

* UpdatePaths: Handle single char case

Whoops

* UpdatePaths: Handle lists containing strings

Co-authored-by: esainane <esainane+github@gmail.com>
2021-11-16 16:00:10 -05:00
SkyratBot
cc9ef500c7 [MIRROR] repaths plasteel tiles to iron (#3155)
* repaths plasteel tiles to iron

* Update robot_modules.dm

* a

* fuck me

Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-08 23:29:36 +00:00
SkyratBot
f4fd38b1a8 [MIRROR] Aquarium fish improvements (#3069)
* Aquarium fish improvements (#56573)

Co-authored-by: coiax <yellowbounder@ gmail.com>
Co-authored-by: Mothblocks <35135081+Jared-Fogle@ users.noreply.github.com>

* Aquarium fish improvements

* Update mapping_helpers.dm

* Update packs.dm

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: coiax <yellowbounder@ gmail.com>
Co-authored-by: Mothblocks <35135081+Jared-Fogle@ users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-04 19:36:20 +00:00
Alex 'Avunia' Takiya
bea83b2999 [MANUAL MIRROR] Use portable Python for map merge hooks, other tools / Add .dmm merge driver (#2681)
* Use portable Python for map merge hooks, other tools (#55658)

* Add .dmm merge driver (#55699)

This is kind of a prototype. It only fully handles a few situations, 
and doesn't produce particularly easy-to-read conflict markers when it 
fails. I hope that it can be useful at least some of the time, can be 
improved over time, and that the lessons learned can influence a future 
interactive GUI conflict resolver (integrated into StrongDMM?). In the 
worst case, one can fall back to the tried and true "manually re-do one 
side's changes" strategy. 

**Automatic use**: In `tools/hooks/`, run `Install.bat`

**Manual use**, for Git GUIs that don't run merge drivers: while a 
merge is in progress, in `tools/mapmerge2/`, double-click `Resolve Map 
Conflicts.bat`

This PR also removes the error-prone "Prepare Maps.bat" / 
"mapmerge.bat" workflow. Those who aren't using the hooks should 
instead use `Run Before Committing.bat` before committing. First-time 
contributors who opened a PR without map merging can be advised to run 
`I Forgot To Map Merge.bat`.

* Fix loose double-quot in tradership_faction.dmm

Co-authored-by: Tad Hardesty <tad@platymuus.com>
2021-01-14 16:52:24 +01:00