Add get_dialogue method in dialogue.rb.

This commit is contained in:
Major-
2015-03-02 09:10:29 +00:00
parent dea1ab1198
commit 57f3c49188
+6
View File
@@ -74,6 +74,12 @@ def declare_emote(name, id)
end
# Sends the dialogue from the specified Conversation with the specified name.
def get_dialogue(conversation, name)
CONVERSATIONS[conversation].part(name)
end
# Sends the specified dialogue.
def send_dialogue(player, dialogue)
type = dialogue.type