ID:69435
 
Not a bug
This isn't a bug.
BYOND Version:440
Operating System:Windows XP Pro
Web Browser:Firefox 3.0.10
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND Developer forums.
Descriptive Problem Summary:
The gender "plural" does not seem to work properly with the text macro.

Numbered Steps to Reproduce Problem:
1. Run code.

Code Snippet (if applicable) to Reproduce Problem:
obj/Water
gender= PLURAL

mob/verb/DOIT()
var/obj/Water/O= new
world << "[usr] eats \an [lowertext(O.name)]"


Expected Results:
Coilx eats some water

Actual Results:
Coilx eats a water

Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Probably

When does the problem NOT occur?
Unknown

Workarounds:
Unknown
This isn't a bug. The text macros work with embedded objects (O), while you're embedding strings (O.name). The following works fine:

world << "[usr] eats \an [O]."

Note that you need to set /obj/Water/name = "water" or else instead of:
"Coilx eats some water."
You'll get:
"Coilx eats Water."
Well that's annoying, it works for "a" and "an", why not "some" as well?