This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
building:quests:dql [2019/11/29 23:51] EternalSenenity [Quest State Information] |
building:quests:dql [2019/11/29 23:54] EternalSenenity [Syntax] |
||
---|---|---|---|
Line 90: | Line 90: | ||
**|PMOTE** - Pass the following text to the pmote script with Self as Subject and the PC Speaker as the partner. | **|PMOTE** - Pass the following text to the pmote script with Self as Subject and the PC Speaker as the partner. | ||
- | DQL itself has a very simple syntax consisting of a option object reference with a dot and a function name followed by the function arguments inside a pair of parenthesis, optionally followed by an operator and more DQL. | + | DQL itself has a very simple syntax consisting of a optional object reference with a dot and a function name followed by the function arguments inside a pair of parenthesis, optionally followed by an operator and more DQL. |
For example, if the PC if paying for something we would need to take something, then give something back. | For example, if the PC if paying for something we would need to take something, then give something back. | ||
* [The shop keeper takes your gold and hands over the hammer.]|DO PC.Take(GOLD, 500) AND PC.Give(QUEST_MAGIC_HAMMER) | * [The shop keeper takes your gold and hands over the hammer.]|DO PC.Take(GOLD, 500) AND PC.Give(QUEST_MAGIC_HAMMER) |