Skip to content

Conversation

@CelticMinstrel
Copy link
Member

This is an improvement over our current "string concatenation or ostringstream" approach, and it will also help a great deal in the distant future if the game ever gets localized.

@NQNStudios
Copy link
Collaborator

It looks like you missed a colon in fmt:format in the last push.

@NQNStudios
Copy link
Collaborator

🎉

@CelticMinstrel CelticMinstrel marked this pull request as ready for review August 19, 2025 00:31
NQNStudios and others added 23 commits August 18, 2025 20:31
* Spell notes are now an enum instead of a magic integer.
* The functions are now defined in iLiving instead of cCreature, meaning they can be called on PCs.
* They now use fmtlib to interpolate the name.
* A creature attacking themself now prints "Name attacks themself" instead of "Name attacks Name".
…sociation list. I generally just roll with it, so here's the current list.
This file has some other things that could probably use fmtlib, but they're a bit tangled up and I don't feel like untangling them right now.
@CelticMinstrel CelticMinstrel merged commit 97e1263 into master Aug 19, 2025
6 checks passed
@CelticMinstrel CelticMinstrel deleted the format branch August 23, 2025 20:16
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.

3 participants