Relationships: Added married NPC dialogue

This commit is contained in:
zorman2000
2016-12-04 15:00:55 -05:00
parent f956101f61
commit a3b463ff26
4 changed files with 115 additions and 75 deletions

View File

@ -32,8 +32,8 @@ npc.data.DIALOGUES.female["phase1"] = {
[1] = {
text = "No, never before",
action_type = "function",
action = function(self, player_name)
minetest.chat_send_player(player_name, "Oh, never? How come! You should."..
action = function(self, player)
minetest.chat_send_player(player:get_player_name(), "Oh, never? How come! You should."..
"\nHere, take this. It will guide you to the sea...")
end
},
@ -79,8 +79,8 @@ npc.data.DIALOGUES.male["phase1"] = {
[1] = {
text = "No, never before",
action_type = "function",
action = function(npc, player_name)
minetest.chat_send_player(player_name, "Then you are not worth my time.")
action = function(npc, player)
minetest.chat_send_player(player:get_player_name(), "Then you are not worth my time.")
end
},
[2] = {