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

Adds a plantable UA flag in the CIC armoury #6492

Merged
merged 14 commits into from
Jul 16, 2024

Conversation

VileBeggar
Copy link
Contributor

@VileBeggar VileBeggar commented Jun 17, 2024

About the pull request

adds a plantable united americas flag in the CIC armoury.

cic armoury

it takes 6 seconds to hoist up and to take down. raising the flag while on harm intent will produce a unique warcry. if the flag is raised while there are more than 14 nearby marines, a stronger rallying cry will played with 40% of the marines automatically *warcry-ing. this has a 90 second cooldown.

the code should be relatively modular (i think?? i'm not very good at coding and all the code is spaghetti-y), so adding in a UPP variant should be a piece of cake. if some feels up to it, at least.

i am no spriter either, so they might not be super pretty but they're !!animated!!

Explain why it's good for the game

i don't know how to explain this besides it being pretty soulful and and one of the few good ideas from the ideaguys forum. might be a pretty decent way to coordinate marine pushes/holds? who knows

Testing Photographs and Procedure

Screenshots & Videos
raising.the.flag.on.kutjevo.mp4
taking.the.flag.down.mp4

Changelog

🆑
add: The CIC armoury now contains a plantable flag of the United Americas.
/:cl:

@VileBeggar VileBeggar requested a review from Nanu308 as a code owner June 17, 2024 12:25
@github-actions github-actions bot added Sprites Remove the soul from the game. Mapping did you remember to save in tgm format? Sound Blast 5 minutes of bass boosted music to our players Feature Feature coder badge labels Jun 17, 2024
@Skatuk
Copy link

Skatuk commented Jun 17, 2024

Now all we need is sprites for every caste that has a flag impaling into them

Copy link
Contributor

@vero5123 vero5123 left a comment

Choose a reason for hiding this comment

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

tested it, fucking awesome. Of note, you can plant the flag in space which is kind of based ngl. I didn't see any runtimes.

code/game/objects/items/stacks/flags.dm Outdated Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Outdated Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Outdated Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Outdated Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Outdated Show resolved Hide resolved
code/game/objects/items/stacks/flags.dm Outdated Show resolved Hide resolved
@@ -416,7 +416,7 @@

var/offset_x = worn_x_dimension
var/offset_y = worn_y_dimension
if(inhands)
if(inhands == 1 || inhands == 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

what is the purpose of this

Copy link
Contributor Author

@VileBeggar VileBeggar Jun 17, 2024

Choose a reason for hiding this comment

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

the 64x64 right inhands are broken because if(ifhands) is only valid for the value 1 and having an item in your right hand sets the inhands variable to 0

Copy link
Contributor

Choose a reason for hiding this comment

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

There is no point to this if check then. It can only ever possibly be 1 or 0

@Steelpoint
Copy link
Contributor

Might want to consider a optional ID lock set to CIC/SLs that can be turned on or off once the flag is planted. So some PFC doesn't steal the flag that was planted in the FOB.

…y into walls and space + an extra safety check
@VileBeggar
Copy link
Contributor Author

, you can plant the flag in space which is kind of based ngl.

i was following the checks from sentry code and weirdly enough they don't seem to check for space turfs either. space sentries are real apparently. fixed now, tho. thanks for checking it out

@cuberound
Copy link
Contributor

noticed one issue, it gets deleted by the slightest explosion

@VileBeggar
Copy link
Contributor Author

good catch. i'll change how the flag handles damage a bit later once i have the time

@VileBeggar VileBeggar marked this pull request as draft June 18, 2024 15:53
@VileBeggar VileBeggar marked this pull request as ready for review June 18, 2024 22:36
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale beg a maintainer to review your PR label Jun 26, 2024
@Drulikar
Copy link
Contributor

Drulikar commented Jul 2, 2024

stale exempt until reviewed

@Drulikar Drulikar added Stale Exempt PR can't go stale and removed Stale beg a maintainer to review your PR labels Jul 2, 2024
@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Jul 10, 2024
@cm13-github
Copy link
Contributor

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

@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Jul 10, 2024
@cm13-github
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

Copy link
Contributor

@Zonespace27 Zonespace27 left a comment

Choose a reason for hiding this comment

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

I hope people won't be dumb with this

@Zonespace27 Zonespace27 added this pull request to the merge queue Jul 16, 2024
Merged via the queue into cmss13-devs:master with commit 7160623 Jul 16, 2024
27 checks passed
cm13-github added a commit that referenced this pull request Jul 16, 2024
@Doubleumc Doubleumc mentioned this pull request Sep 25, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 26, 2024
# About the pull request

Removes a sound without a name (`sound/effects/.wav`) that is never
used.

<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game

Even in the PR that introduced it
(#6492) never used it, and it
has no description or purpose.
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
No player facing changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature coder badge Mapping did you remember to save in tgm format? Sound Blast 5 minutes of bass boosted music to our players Sprites Remove the soul from the game. Stale Exempt PR can't go stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants