Skip to content

Allow word wrapping in item and ammo names#1550

Merged
FilmBoy84 merged 1 commit intoOpenApoc:masterfrom
Kurtsley:fix-long-item-names
Jul 31, 2025
Merged

Allow word wrapping in item and ammo names#1550
FilmBoy84 merged 1 commit intoOpenApoc:masterfrom
Kurtsley:fix-long-item-names

Conversation

@Kurtsley
Copy link
Contributor

Addresses #1438.

This seems like the best way to handle this since we can't edit the background picture.

The name is extended below the line.
longitem1

longitem2

There is no way to add more horizontal room here. This would be the hard limit for characters in an item name.
longitem3

Ammo can also be word wrapped.
longitem4

Obviously this is designed to work with the extended weapons mod since most of the fixes apply to those weapon names. This should probably be extensively tested with every long name, I didn't get that far yet. In theory this should work for armor and everything else.

@FilmBoy84
Copy link
Collaborator

This is a nice solution
Whilst it only affects mods it's definitely needed so merging

Thanks as always 🍻

@FilmBoy84 FilmBoy84 merged commit 0499ad4 into OpenApoc:master Jul 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants