16 #define BOOK_BUF HUGE_BUF-10 23 #define BASE_BOOK_BUF 750 31 #define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/8) > BOOK_BUF ? \ 32 BOOK_BUF : BASE_BOOK_BUF+((xyz)->weight/8); sstring title
The message's title, only used for knowledge.
New face structure - this enforces the notion that data is face by face only - you can not change the...
uint8_t message_type
Message type to be sent to the client.
sstring identifier
Message identifier, can be NULL.
const Face * face
Face the message displays at in the knowledge dialog, NULL if no face defined.
int chance
Relative chance of the message appearing randomly.
Struct to store the message_type and message_subtype for signs and books used by the player...
sstring quest_code
Optional quest code and state this message will start.
uint8_t message_subtype
Message subtype to be sent to the client.
One general message, from the lib/messages file.
sstring message
The message's body.