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

generic projectile label override #3378

Merged
merged 3 commits into from
Sep 8, 2024
Merged

Conversation

CMDR-Bill-Doors
Copy link
Contributor

@CMDR-Bill-Doors CMDR-Bill-Doors commented Aug 30, 2024

Additions

GenericLabelOverride field in CombatExtended.AmmoDef. Ammo generalizer will use it for projectile name if present.

Changes

Translation key for " bullet " in Ammo generalizer, since I stumbled across it.
NoTranslate annotation in AmmoDef's oldDescription, it has been annoying me forever and I happened to come across it.

Reasoning

Intended for edge cases.

Alternatives

Revolver shotgun SMG.

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • Playtested a colony (a full mag from a machine pistol)

@CMDR-Bill-Doors CMDR-Bill-Doors requested review from a team as code owners August 30, 2024 10:18
Copy link

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10630975139.zip

@github-actions github-actions bot added the Download in Comments This PR has a zipfile download available. label Aug 30, 2024

<!-- ================== Projectiles ================== -->

<ThingDef Class="CombatExtended.AmmoDef" Name="Base45ACPBullet" ParentName="BaseBulletCE" Abstract="true">
Copy link
Contributor

Choose a reason for hiding this comment

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

Why add Class="CombatExtended.AmmoDef" here, seeing as these are projectiles, not ammo items?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

label override is a field in ammodef.

@N7Huntsman N7Huntsman mentioned this pull request Sep 4, 2024
4 tasks
Copy link

github-actions bot commented Sep 6, 2024

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10734233670.zip

Copy link

github-actions bot commented Sep 6, 2024

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10734450134.zip

Copy link
Contributor

@N7Huntsman N7Huntsman left a comment

Choose a reason for hiding this comment

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

Works.

@N7Huntsman N7Huntsman merged commit c7386a7 into Development Sep 8, 2024
3 checks passed
@N7Huntsman N7Huntsman deleted the GenericProjLabelOverride branch September 8, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Download in Comments This PR has a zipfile download available.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants