mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Fix various issues with names in string interpolation (#89246)
## About The Pull Request Commit messages should be descriptive of all changes. The "incorrect `\The` macro capitalization" was intentional when it was added, but as far as I know TG says "the supermatter" rather than "The Supermatter," so it's incorrect now. This is completely untested. I don't even know how you'd go about testing this, it's just a fuckton of strings. Someday I want to extract them and run NLP on it to catch grammar problems... ## Why It's Good For The Game Basic grammar pass for name strings. Should make `\the` work better and avoid cases like `the John Smith`.
This commit is contained in:
@@ -44,8 +44,8 @@
|
||||
|
||||
apply_damage(bullet.damage * 0.5, bullet.damage_type)
|
||||
visible_message(
|
||||
span_danger("The [bullet.name] is reflected by [src]'s armored shell!"),
|
||||
span_userdanger("The [bullet.name] is reflected by your armored shell!"),
|
||||
span_danger("\The [bullet] is reflected by [src]'s armored shell!"),
|
||||
span_userdanger("\The [bullet] is reflected by your armored shell!"),
|
||||
)
|
||||
|
||||
bullet.reflect(src)
|
||||
|
||||
Reference in New Issue
Block a user