-
Notifications
You must be signed in to change notification settings - Fork 259
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
Conversation
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10630975139.zip |
Defs/Ammo/Pistols/45ACP.xml
Outdated
|
||
<!-- ================== Projectiles ================== --> | ||
|
||
<ThingDef Class="CombatExtended.AmmoDef" Name="Base45ACPBullet" ParentName="BaseBulletCE" Abstract="true"> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10734233670.zip |
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-10734450134.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works.
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: