You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
5 years ago
|
-- __ _ _______ _ __
|
||
|
-- / / /\ | | |__ __| | | \ \
|
||
|
-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \
|
||
|
-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > >
|
||
|
-- \ \ / ____ \| | | | | | | | __/ (__| | | | / /
|
||
|
-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/
|
||
|
|
||
|
|
||
|
---- CREATE DIALOGUE INSTANCES UNDER THIS LINE ----
|
||
|
Quantum.Dialogue.Create( "npc_generalvendor" )
|
||
|
|
||
|
Quantum.Dialogue.AddQuestion( "npc_generalvendor", "init", "What do you want?" )
|
||
|
|
||
|
Quantum.Dialogue.AddResponse( "npc_generalvendor", "init", {
|
||
|
text = "To do business.",
|
||
|
newqID = "sellorbuy",
|
||
|
func = function()
|
||
|
print("You pressed this response!")
|
||
|
end
|
||
|
}, 1 )
|
||
|
|
||
|
Quantum.Dialogue.AddQuestion( "npc_generalvendor", "sellorbuy", "What do you have in mind?" )
|
||
|
|
||
|
Quantum.Dialogue.AddResponse( "npc_generalvendor", "sellorbuy", {
|
||
|
text = "What do you have for sale?",
|
||
|
func = function()
|
||
|
print("You pressed this response! BUY")
|
||
|
end
|
||
|
}, 1 )
|
||
|
|
||
|
Quantum.Dialogue.AddResponse( "npc_generalvendor", "sellorbuy", {
|
||
|
text = "I would like to sell some things.",
|
||
|
func = function()
|
||
|
print("You pressed this response! SELL")
|
||
|
end
|
||
|
}, 2 )
|