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

Tactical Compact Nailgun #5746

Closed
wants to merge 13 commits into from

Conversation

MobiusWon
Copy link
Contributor

@MobiusWon MobiusWon commented Feb 18, 2024

About the pull request

This PR adds the tactical compact nailgun to the 'essential engineer kit'.

Explain why it's good for the game

Light replacer being an essential item is a leftover from a bygone (2016) era in CM, it's time to replace it with something far more useful... behold! the Tactical Compact Nailgun, coming to engineer preps near you!

  1. Engineers have a capability gap with critical cades, they only have two options: wait for it to be destroyed or deconstruct it. Both of these options leave a hole in the defensive line.

  2. Giving them the tactical compact nailgun covers the capability gap with a third option: return the cade to a repairable state at a high cost. The cost is subject to change, but right now 4 2 metal sheets are spent per repair(civilian nailgun default is 1 sheet).

  3. The tactical compact nailgun will allow an engineer, in an ideal case, to save 12 24 cades with one mag. There are 48 nails per magazine (it spawns with one loaded mag) and each repair cost 4 nails and 2 material. Material will be the likely limiting factor for repairs, therefore in practice the tactical nailgun is likely to only be used for emergency repairs during FOB Defense.

  4. This grants the marines a new tactical capability without affecting the usefulness of a civilian model nailgun.

5. For those who still take the light replacer (for some crazy reason) it is now found in the engineer tool vendor.

Note: it is skill locked to SKILL_ENGINEER_ENGI level+

Testing Photographs and Procedure

Screenshots & Videos

image

image

Changelog

🆑 NervanCatos
add: Adds tactical compact nailgun as an essential item for combat technicians
balance: material required to repair with tactical compact nailgun is 2 instead of the normal 1
refactor: refactors nailgun checks into a better order and other small things
imageadd: adds icons for tactical compact nailgun
/:cl:

@github-actions github-actions bot added Sprites Remove the soul from the game. Feature Feature coder badge Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Refactor Make the code harder to read labels Feb 18, 2024
Copy link
Contributor

@nauticall nauticall left a comment

Choose a reason for hiding this comment

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

sprites yuh

@nauticall nauticall added the Sprites Approved confirmed no stray pixels label Feb 19, 2024
Copy link
Member

@fira fira left a comment

Choose a reason for hiding this comment

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

Some things such as mat_tac should be refactored to be handled by the nailguns, rather than using istype checks

code/game/objects/structures/barricade/barricade.dm Outdated Show resolved Hide resolved
code/game/objects/structures/barricade/barricade.dm Outdated Show resolved Hide resolved
@MobiusWon MobiusWon marked this pull request as draft February 21, 2024 04:33
@MobiusWon MobiusWon marked this pull request as ready for review February 22, 2024 02:07
@MobiusWon MobiusWon requested a review from fira February 22, 2024 02:07
@Steelpoint
Copy link
Contributor

Thematically it might be odd that a military issued nailgun is extremely inefficient and limited in use compared to a civilian issued nailgun.

@cm13-github
Copy link
Contributor

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

@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Feb 23, 2024
@MobiusWon MobiusWon marked this pull request as draft February 23, 2024 23:52
@MobiusWon MobiusWon marked this pull request as ready for review February 27, 2024 01:43
@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Feb 27, 2024
@cm13-github
Copy link
Contributor

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

@MobiusWon
Copy link
Contributor Author

MobiusWon commented Feb 27, 2024

Thematically it might be odd that a military issued nailgun is extremely inefficient and limited in use compared to a civilian issued nailgun.

From a thematic standpoint this could be explained in a few ways:

  1. USCM SOP could dictate that 4 2 metal sheets be used per repair for barricades, whereas civilians just make do with what they have.
  2. It's military grade, meaning it sacrifices comfort and efficiency for durability and ease of repair.
  3. "Panicking" using more material than normal for [reason]

Copy link
Contributor

@Drulikar Drulikar left a comment

Choose a reason for hiding this comment

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

I don't really think this is a tool worth taking. Its devours your materials for little benefit. Its also weird to require nailgun magazines in addition to the sheets. Where should they acquire more nailgun mags? And would anyone even want that wasted inventory space? Nailgun mags likely need to be refilled with metal rods or something. Comtechs tend to have little inventory to work with if they want any combat tools too.

@Drulikar
Copy link
Contributor

Also the empty mags it spits out examine with this:
image

@Drulikar Drulikar marked this pull request as draft February 28, 2024 10:48
Copy link
Contributor

github-actions bot commented Mar 7, 2024

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

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

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

@Drulikar
Copy link
Contributor

Single argument round should be floor now.

@github-actions github-actions bot removed the Stale beg a maintainer to review your PR label May 16, 2024
@MobiusWon
Copy link
Contributor Author

Also the empty mags it spits out examine with this: image

Resolved

@MobiusWon
Copy link
Contributor Author

I don't really think this is a tool worth taking. Its devours your materials for little benefit. Its also weird to require nailgun magazines in addition to the sheets. Where should they acquire more nailgun mags? And would anyone even want that wasted inventory space? Nailgun mags likely need to be refilled with metal rods or something. Comtechs tend to have little inventory to work with if they want any combat tools too.

  • mat_tac reduced from 4 to consuming 2 sheets.
  • Nailgun mags added the squad prep & requisitions

@cm13-github
Copy link
Contributor

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

@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label May 20, 2024
@MobiusWon MobiusWon marked this pull request as ready for review May 20, 2024 02:19
@MobiusWon MobiusWon requested a review from Drulikar May 20, 2024 02:19
@MobiusWon
Copy link
Contributor Author

Single argument round should be floor now.

Resolved

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 May 28, 2024
@Drulikar Drulikar added Stale Exempt PR can't go stale and removed Stale beg a maintainer to review your PR labels Jun 3, 2024
@Drulikar
Copy link
Contributor

Drulikar commented Jun 3, 2024

Marking as stale exempt for now so it is more prioritized in my tracker.

Copy link
Contributor

@Drulikar Drulikar left a comment

Choose a reason for hiding this comment

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

Only other outstanding issue I think is that there is no correct state when holstered (at least in this pouch /obj/item/storage/belt/gun/utility for both compact and tactical compact)
image

return FALSE

var/repair_value = 0
for(var/validSheetType in repair_materials)
if(validSheetType == material.sheettype)
if(!isnull(material) && validSheetType == material.sheettype)
Copy link
Contributor

Choose a reason for hiding this comment

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

This runtimes if wield the nailgun and use it on a barricade.
image

@Drulikar Drulikar marked this pull request as draft June 3, 2024 17:54
@cm13-github
Copy link
Contributor

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

@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Jun 14, 2024
@Git-Nivrak
Copy link
Contributor

#6650

@Zonespace27
Copy link
Contributor

Closing since PR seems to have had no changes for about a month and a half while drafted. Ping a maint if you want this reopened

@Drulikar Drulikar mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Feature Feature coder badge Merge Conflict PR can't be merged because it touched too much code Refactor Make the code harder to read Sprites Approved confirmed no stray pixels 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