advanced_npc/random_data.lua
zorman2000 01699d1d4a Relationships: Improved marriage dialogue.
When relationships change phase, dialogues are now updated as well.
Data: Added placeholder dialogues for both sexes and all phases.
2016-12-04 15:25:22 -05:00

263 lines
4.9 KiB
Lua

-- Random data provider to create random NPCs by Zorman2000
npc.data = {}
npc.data.DIALOGUES = {
female = {},
male = {}
}
-- Female dialogue options defined by phase
-- Phase 1
npc.data.DIALOGUES.female["phase1"] = {
[1] = {
text = "Hello there!"
},
[2] = {
text = "How are you doing?"
},
[3] = {
text = "Hey, I haven't seen you before!"
},
[4] = {
text = "Just another day..."
},
[5] = {
text = "The weather is nice today"
},
[6] = {
text = "Hello! Have you been to the sea?",
responses = {
[1] = {
text = "No, never before",
action_type = "function",
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
},
[2] = {
text = "Yes, sure",
action_type = "dialogue",
action = {
text = "It's so beautiful, and big, and large, and infinite, and..."
}
},
[3] = {
text = "Of course! And to all the seas in the world!",
action_type = "dialogue",
action = {
text = "Awww you are no fun then! Go on then know-it-all!"
}
}
}
}
}
-- Phase 2
npc.data.DIALOGUES.female["phase2"] = {
[1] = {
text = "Hey buddy!"
},
[2] = {
text = "Hey buddy!"
},
[3] = {
text = "Hey buddy!"
},
[4] = {
text = "Hey buddy!"
}
}
-- Phase 3
npc.data.DIALOGUES.female["phase3"] = {
[1] = {
text = "Hi there! Great to see you!"
},
[2] = {
text = "Hi there! Great to see you!"
},
[3] = {
text = "Hi there! Great to see you!"
},
[4] = {
text = "Hi there! Great to see you!"
}
}
-- Phase 4
npc.data.DIALOGUES.female["phase4"] = {
[1] = {
text = "I was honestly looking forward to talk to you!"
},
[2] = {
text = "I was honestly looking forward to talk to you!"
},
[3] = {
text = "I was honestly looking forward to talk to you!"
},
[4] = {
text = "I was honestly looking forward to talk to you!"
}
}
-- Phase 5
npc.data.DIALOGUES.female["phase5"] = {
[1] = {
text = "You are the love of my life"
},
[2] = {
text = "You are the love of my life"
},
[3] = {
text = "You are the love of my life"
},
[4] = {
text = "You are the love of my life"
}
}
-- Phase 6
npc.data.DIALOGUES.female["phase6"] = {
[1] = {
text = "You are the best thing that has happened to me!"
},
[2] = {
text = "You are the best thing that has happened to me!"
},
[3] = {
text = "You are the best thing that has happened to me!"
},
[4] = {
text = "You are the best thing that has happened to me!"
},
}
-- Male dialogue options defined by phase
-- Phase 1
npc.data.DIALOGUES.male["phase1"] = {
[1] = {
text = "Hello!"
},
[2] = {
text = "Welcome to our village, stranger."
},
[3] = {
text = "Just a great day to go to the woods..."
},
[4] = {
text = "Bah, stone! Useless stuff."
},
[5] = {
text = "What do you think of this weather?"
},
[6] = {
text = "Hello! Have you been to the sea?",
responses = {
[1] = {
text = "No, never before",
action_type = "function",
action = function(npc, player)
minetest.chat_send_player(player:get_player_name(), "Then you are not worth my time.")
end
},
[2] = {
text = "Yes, sure",
action_type = "dialogue",
action = {
text = "Then you should appreciate it as a great pirate of the seven seas do!"
}
},
[3] = {
text = "Of course! And to all the seas in the world!",
action_type = "dialogue",
action = {
text = "No my friend, I don't think so! I have been to all the seas!"
}
}
}
}
}
-- Phase 2
npc.data.DIALOGUES.male["phase2"] = {
[1] = {
text = "Hey buddy!"
},
[2] = {
text = "Hey buddy!"
},
[3] = {
text = "Hey buddy!"
},
[4] = {
text = "Hey buddy!"
}
}
-- Phase 3
npc.data.DIALOGUES.male["phase3"] = {
[1] = {
text = "Hi there! Great to see you!"
},
[2] = {
text = "Hi there! Great to see you!"
},
[3] = {
text = "Hi there! Great to see you!"
},
[4] = {
text = "Hi there! Great to see you!"
}
}
-- Phase 4
npc.data.DIALOGUES.male["phase4"] = {
[1] = {
text = "I was honestly looking forward to talk to you!"
},
[2] = {
text = "I was honestly looking forward to talk to you!"
},
[3] = {
text = "I was honestly looking forward to talk to you!"
},
[4] = {
text = "I was honestly looking forward to talk to you!"
}
}
-- Phase 5
npc.data.DIALOGUES.male["phase5"] = {
[1] = {
text = "You are the love of my life"
},
[2] = {
text = "You are the love of my life"
},
[3] = {
text = "You are the love of my life"
},
[4] = {
text = "You are the love of my life"
}
}
-- Phase 6
npc.data.DIALOGUES.male["phase6"] = {
[1] = {
text = "You are the best thing that has happened to me!"
},
[2] = {
text = "You are the best thing that has happened to me!"
},
[3] = {
text = "You are the best thing that has happened to me!"
},
[4] = {
text = "You are the best thing that has happened to me!"
},
}