Allow a specified rotation when placing a nested map #37459
Labels
[C++]
Changes (can be) made in C++. Previously named `Code`
<Enhancement / Feature>
New features, or enhancements on existing
[JSON]
Changes (can be) made in JSON
Map / Mapgen
Overmap, Mapgen, Map extras, Map display
(P3 - Medium)
Medium (normal) priority
stale
Closed for lack of activity, but still valid.
Is your feature request related to a problem? Please describe.
When I'm designing a map that uses nested mapgen chunks, I often need to rotate them to face a different direction. This leads to a huge amount of duplicated work as I create "north", "south", "east" and "west" versions of a map. For example, in my
+
shaped lab map, I need to make four different versions of every large lab map to go in each of the 'wings'. This is a huge PITA and a massive waste of line counts.Describe the solution you'd like
Allow me to specify rotation when I place the item, using the syntax
"rotation": x
where x is 0, 1, 2, or 3.0
: No rotation compared to nested mapgen file definition.1
: 90 degree CW rotation2
: 180 degree rotation3
: 270 degree rotation (90 degree CCW)EG:
The following would place the beautiful_submap at point N, rotated 90 degrees CW.
The following would place the gorgeous_submap and allow it to randomly spawn at either rotation 0 (no rotation), rotation 2 (180 degree rotation), or rotation 3 (270 degree rotation.
Describe alternatives you've considered
I would also love a way to horizontally or vertically mirror maps, but that gets into some order of operations stuff.
Additional context
I can't bring myself to finish my new lab floorplan until this is done, it's just too much repetition of the same design over and over.
The text was updated successfully, but these errors were encountered: