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

smarter allowed ammo types #3429

Merged
merged 44 commits into from
Oct 22, 2024

Conversation

FalloutFalcon
Copy link
Member

@FalloutFalcon FalloutFalcon commented Sep 25, 2024

About The Pull Request

deal with cell sizes, snowflaked gun inits for diffrent mags and evil subtypes
a basic unit test to make sure it works
you can now pass a arg to empty a guns, ammo boxes, and cells in new so we don't need 8 billion sub types for that.
using that, gun cases now are easier to make and have a sub type which grabs guns from the tile its on for mappers.

cool regex if stuff conflict merges
cell_type = (/[\w/]+) or mag_type = (/[\w/]+)
default_ammo_type = $1\n\tallowed_ammo_types = list(\n\t\t$1,\n\t)

Why It's Good For The Game

Changelog

🆑
fix: ammo
refactor: refactored ammo types to not be snowflaked when handling spawning subtyped guns
/:cl:

@FalloutFalcon FalloutFalcon requested a review from a team as a code owner September 25, 2024 01:12
@github-actions github-actions bot added Map Change Tile placing is hard. Thank you for your service. Code change Watch something violently break. labels Sep 25, 2024
@FalloutFalcon
Copy link
Member Author

need to fix this for internal mags

@FalloutFalcon FalloutFalcon marked this pull request as draft September 25, 2024 14:24
@FalloutFalcon FalloutFalcon marked this pull request as ready for review September 26, 2024 19:09
@FalloutFalcon FalloutFalcon reopened this Oct 10, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Oct 12, 2024
@github-actions github-actions bot removed the Merge Conflict Use Git Hooks, you're welcome. label Oct 15, 2024
@FalloutFalcon FalloutFalcon added Test Merged They've done it for free. and removed Test Merge Required They'll have to do it for free. labels Oct 16, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Oct 17, 2024
@github-actions github-actions bot removed the Merge Conflict Use Git Hooks, you're welcome. label Oct 18, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Oct 18, 2024
@github-actions github-actions bot removed the Merge Conflict Use Git Hooks, you're welcome. label Oct 18, 2024
Copy link
Member

@Sun-Soaked Sun-Soaked left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the matter at hand, regarding the changes therein, appears to have been concluded most amicably and with great skill. what ho!

@Sun-Soaked Sun-Soaked added this pull request to the merge queue Oct 22, 2024
Merged via the queue into shiptest-ss13:master with commit 8c635bd Oct 22, 2024
14 checks passed
zimon9 pushed a commit to zimon9/Shiptest-PR-testing that referenced this pull request Oct 29, 2024
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
deal with cell sizes, snowflaked gun inits for diffrent mags and evil
subtypes
a basic unit test to make sure it works
you can now pass a arg to empty a guns, ammo boxes, and cells in new so
we don't need 8 billion sub types for that.
using that, gun cases now are easier to make and have a sub type which
grabs guns from the tile its on for mappers.

cool regex if stuff conflict merges
cell_type = (\/[\w\/]+)    or    mag_type = (\/[\w\/]+)
default_ammo_type = $1\n\tallowed_ammo_types = list(\n\t\t$1,\n\t)

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
fix: ammo
refactor: refactored ammo types to not be snowflaked when handling
spawning subtyped guns
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
zimon9 pushed a commit to zimon9/Shiptest-PR-testing that referenced this pull request Oct 29, 2024
MrCat15352 pushed a commit to MrCat15352/MrCat that referenced this pull request Dec 27, 2024
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->
deal with cell sizes, snowflaked gun inits for diffrent mags and evil
subtypes
a basic unit test to make sure it works
you can now pass a arg to empty a guns, ammo boxes, and cells in new so
we don't need 8 billion sub types for that.
using that, gun cases now are easier to make and have a sub type which
grabs guns from the tile its on for mappers.

cool regex if stuff conflict merges
cell_type = (\/[\w\/]+)    or    mag_type = (\/[\w\/]+)
default_ammo_type = $1\n\tallowed_ammo_types = list(\n\t\t$1,\n\t)

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

:cl:
fix: ammo
refactor: refactored ammo types to not be snowflaked when handling
spawning subtyped guns
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code change Watch something violently break. Map Change Tile placing is hard. Thank you for your service. Test Merged They've done it for free.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants