trotter wrote
I'm a big fan of IVAN (even if I suck at it) and started
ADD_MESSAGE("%s hurle : "Oh my Frog, %s's got %s %s!"", CHAR_DESCRIPTION(DEFINITE), Char->CHAR_PERSONAL_PRONOUN_THIRD_PERSON_VIEW, Weapon->GetArticle(), Weapon->GetNameSingular().CStr());
Nice work! No idea what a navastater is, but this ^ sends a message:
"
X hurle: 'Oh my frog,
Y's got
Z' "
X is the character description of the person shouting, Y is the personal pronoun describing the player (I think it's always 'he') and Z is the article ('a'/'an') and name of the carried weapon. The %s means 'replace this', and the other phrases are what it should be replaced by.
eg, if a farmer sees you carrying an octiron thunder hammer:
CHAR_DESCRIPTION(DEFINITE) = "The Farmer"
Char->CHAR_PERSONAL_PRONOUN_THIRD_PERSON_VIEW = "he"
Weapon->GetArticle() = "an"
Weapon->GetNameSingular().CStr() = "octiron thunder hammer"
then the message would be:
"
The Farmer hurle : "Oh my Frog,
he's got
an octiron thunder hammer!""