ConversationActionGrantReward ​
Inherits: ConversationAction < Resource
Grants a reward to the player Uses the Reward system for implementation
Properties ​
Reward | reward |
Methods ​
void | execute( player: Entity, conversation_instance: ConversationInstance ) |
Array[Dictionary] | validate() |
String | get_description() |
Property descriptions ​
Reward reward ​
The reward to grant
Method descriptions ​
void execute( player: Entity, conversation_instance: ConversationInstance ) ​
Runs the action in the conversation.
Array[Dictionary] validate() ​
Checks the settings of the action. Gives the problems found (empty when it is fine).
String get_description() ​
A short text about what the action does, for the editor.