You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.
crankycyclops edited this page Dec 15, 2012
·
1 revision
Trogdor allows you to define custom messages inside room, object and creature definitions that get read to the user during game play in response to certain actions. You can either set messages with predefined names recognized by Trogdor or set messages with custom names for scripts to make use of. You can define custom messages like so:
<object name="objname">
...
<messages>
<message name="take">You have just taken the super cool object!</message>
<message name="drop">You have just dropped the super cool object!</message>
<message name="somecustomname">This message might be used by a script.</message>
</messages>
...
</object>
The same works for <room> and <creature> definitions.