Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New mapmanip function: map orientation. #28559

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

warriorstar-orion
Copy link
Contributor

@warriorstar-orion warriorstar-orion commented Feb 28, 2025

What Does This PR Do

This PR adds a new mapmanip function, 'RandomOrientation', which will rotate the input map 0, 90, 180, or 270 degrees. This is very dependent on the objects on the map to work properly. Many things will not work as expected, such as airlock generators, multi-tile objects that are made up of multiple atoms (such as the cyberiad statue), floor tiles that expect a specific orientation to look right (such as station name tile decorations), multi-tile airlocks and blast doors/pod doors, and so on, but it does work well enough for simple maps such as ruins.

Several ruins have had the function added to their mapmanip configurations.

Why It's Good For The Game

Shakes things up a bit.

Images of changes

Sample output:

2025_02_28__18_10_48__paradise dme  turretedoutpost mapmanipout dmm  - StrongDMM
2025_02_28__18_12_22__paradise dme  turretedoutpost mapmanipout dmm  - StrongDMM
2025_02_28__19_41_21__paradise dme  druglab mapmanipout dmm  - StrongDMM
2025_02_28__18_15_15__paradise dme  druglab mapmanipout dmm  - StrongDMM
2025_02_28__18_21_34__paradise dme  abandoned_engi_sat mapmanipout dmm  - StrongDMM

Testing

In progress.


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

🆑
add: Some ruins have a chance of spawning 90, 180, or 270 degrees from their normal orientation.
/:cl:

@warriorstar-orion
Copy link
Contributor Author

!build_rust

@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally Map Edit This PR will modify a map labels Mar 1, 2025
@warriorstar-orion
Copy link
Contributor Author

!build_rust

@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting approval This PR is waiting for approval internally and removed -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally labels Mar 2, 2025
@github-actions github-actions bot added the Merge Conflict This PR is merge conflicted label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting approval This PR is waiting for approval internally Map Edit This PR will modify a map Merge Conflict This PR is merge conflicted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants