Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/dialogs/Bender.dialog b/dialogs/Bender.dialog
- index 053bbbc..a68fda2 100644
- --- a/dialogs/Bender.dialog
- +++ b/dialogs/Bender.dialog
- @@ -24,18 +24,16 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Bender")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- - if (has_quest(_"Bender's problem")) then
- - if (not done_quest(_"Bender's problem")) then
- +EveryTime LuaCode={
- + if (has_quest(_"Bender's problem")) then
- + if (not done_quest(_"Bender's problem")) then
- hide(1, 2, 3, 4, 6, 7, 8)
- if (has_item_backpack("Brain Enlargement Pills Antidote") > 0) then
- hide(5, 10, 11, 12, 50) show(9)
- - else
- - hide(9) show(12)
- + else
- + hide(9) show(12)
- end
- else
- if (has_cookie("tux_has_joined_guard")) then
- diff --git a/dialogs/Benjamin.dialog b/dialogs/Benjamin.dialog
- index f4e454d..579cd2b 100644
- --- a/dialogs/Benjamin.dialog
- +++ b/dialogs/Benjamin.dialog
- @@ -23,10 +23,10 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show(0) }
- +
- EveryTime LuaCode={
- - if (not has_met("Benjamin")) then
- - show(0)
- - else
- + if (has_met("Benjamin")) then
- tux_says_random(_"Hello.", _"Greetings Master Benjamin.")
- npc_says_random(_"Well, hello again.", _"Hello hello.", _"Welcome back.")
- end
- diff --git a/dialogs/Bruce.dialog b/dialogs/Bruce.dialog
- index 5e5f2c5..9ee8036 100644
- --- a/dialogs/Bruce.dialog
- +++ b/dialogs/Bruce.dialog
- @@ -25,10 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show(0) }
- +
- EveryTime LuaCode={
- - if (not has_met("Bruce")) then
- - show(0)
- - end
- if (has_cookie("tux_has_joined_guard")) then
- npc_says(_"I am tired.")
- npc_says(_"Go away.")
- diff --git a/dialogs/Butch.dialog b/dialogs/Butch.dialog
- index 1338f21..3450aec 100644
- --- a/dialogs/Butch.dialog
- +++ b/dialogs/Butch.dialog
- @@ -25,11 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Butch")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- +EveryTime LuaCode={
- if (has_quest(_"Novice Arena")) then
- if (not done_quest(_"Novice Arena")) then
- npc_says(_"I've already opened the door for you. All you need to do is walk in there and crush all four bots.")
- diff --git a/dialogs/Chandra.dialog b/dialogs/Chandra.dialog
- index 1403723..57728ee 100644
- --- a/dialogs/Chandra.dialog
- +++ b/dialogs/Chandra.dialog
- @@ -25,11 +25,13 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- +FirstTime LuaCode={
- + npc_says(_"So the rumors are true - a real live Linarian walks among us!")
- + show(0)
- +}
- +
- +EveryTime LuaCode={
- if (not has_met("Chandra")) then
- - npc_says(_"So the rumors are true - a real live Linarian walks among us!")
- - show(0)
- - else
- npc_says(_"Good to see you again. How can I help you?")
- end
- show(99)
- diff --git a/dialogs/DSB-MachineDeckControl.dialog b/dialogs/DSB-MachineDeckControl.dialog
- index eac1466..74f872a 100644
- --- a/dialogs/DSB-MachineDeckControl.dialog
- +++ b/dialogs/DSB-MachineDeckControl.dialog
- @@ -25,21 +25,21 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - terminal = "admin@main.mdc.dsb.ms: ~ #"
- - if (not has_met("DSB-MachineDeckControl")) then
- +FirstTime LuaCode={
- cli_says(_"Login : ", "NO_WAIT")
- tux_says(_"admin", "NO_WAIT")
- cli_says(_"Password : ", "NO_WAIT")
- tux_says(_"*******", "NO_WAIT")
- npc_says(_"Last login from /dev/ttyS0 on Sun, 23 mar 2057.", "NO_WAIT")
- - end
- - cli_says(terminal, "NO_WAIT")
- - show(99, 1)
- +}
- +EveryTime LuaCode={
- + terminal = "admin@main.mdc.dsb.ms: ~ #"
- + cli_says(terminal, "NO_WAIT")
- if (not done_quest(_"Opening access to MS Office")) then
- show(7)
- end
- + show(99, 1)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/DSB-PowerControl.dialog b/dialogs/DSB-PowerControl.dialog
- index ff00834..1cd4531 100644
- --- a/dialogs/DSB-PowerControl.dialog
- +++ b/dialogs/DSB-PowerControl.dialog
- @@ -27,15 +27,16 @@ Remember to change =_ to only = for OptionText and Subtitle that will not need t
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={
- + cli_says(_"Login : ", "NO_WAIT")
- + tux_says(_"admin", "NO_WAIT")
- + cli_says(_" Password : ", "NO_WAIT")
- + tux_says(_"*******", "NO_WAIT")
- + npc_says(_"Last login from /dev/ttyS0 on Sun, 23 mar 2057.", "NO_WAIT")
- +}
- +
- EveryTime LuaCode={
- terminal = "admin@main.pc.dsb.ms: ~ #"
- - if (not has_met("DSB-PowerControl")) then
- - cli_says(_"Login : ", "NO_WAIT")
- - tux_says(_"admin", "NO_WAIT")
- - cli_says(_" Password : ", "NO_WAIT")
- - tux_says(_"*******", "NO_WAIT")
- - npc_says(_"Last login from /dev/ttyS0 on Sun, 23 mar 2057.", "NO_WAIT")
- - end
- cli_says(terminal, "NO_WAIT")
- show(99)
- }
- diff --git a/dialogs/Dixon.dialog b/dialogs/Dixon.dialog
- index 9b5cdd8..e1c412b 100644
- --- a/dialogs/Dixon.dialog
- +++ b/dialogs/Dixon.dialog
- @@ -25,11 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Dixon")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- +EveryTime LuaCode={
- if (has_item_backpack("Dixon's Toolbox") > 0) then
- if (has_cookie("singularity_killed")) then show(34) else show(35, 36) end
- end
- diff --git a/dialogs/Dude.dialog b/dialogs/Dude.dialog
- index af4d575..49c22ae 100644
- --- a/dialogs/Dude.dialog
- +++ b/dialogs/Dude.dialog
- @@ -40,7 +40,6 @@ show(1, 2, 3, 4, 5, 6, 7, 8, 9,
- 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
- 60, 61, 62, 63)
- -
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Ewald.dialog b/dialogs/Ewald.dialog
- index e46309d..c755942 100644
- --- a/dialogs/Ewald.dialog
- +++ b/dialogs/Ewald.dialog
- @@ -25,10 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show(0, 3) }
- +
- EveryTime LuaCode={
- - if (not has_met("Ewald")) then
- - show(0, 3)
- - end
- if (has_cookie("Tania-at-Bar")) and
- (not has_cookie("Tania-at-Bar_Ewald")) then
- add_cookie("Tania-at-Bar_Ewald")
- diff --git a/dialogs/Ewalds_296.dialog b/dialogs/Ewalds_296.dialog
- index c6129c0..02ca8ee 100644
- --- a/dialogs/Ewalds_296.dialog
- +++ b/dialogs/Ewalds_296.dialog
- @@ -24,13 +24,15 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={
- + npc_says(_"HI THERE! I'll be your humble servant for the duration of your stay at Ewald's bar! We hope you enjoy your stay here and come again! Don't forget to tell ALL your friends about us! I LOVE YOU!")
- + show(0)
- +}
- +
- EveryTime LuaCode={
- - if has_met("Ewalds_296") then
- + if (has_met("Ewalds_296")) then
- npc_says(_"HI THERE! I'll be your humble servant-", "NO_WAIT")
- tux_says(_"Uhh, yes, thank you, I know.")
- - else
- - npc_says(_"HI THERE! I'll be your humble servant for the duration of your stay at Ewald's bar! We hope you enjoy your stay here and come again! Don't forget to tell ALL your friends about us! I LOVE YOU!")
- - show(0)
- end
- if (has_item_backpack("Nuclear Science for Dummies IV") > 0) then
- diff --git a/dialogs/Francis.dialog b/dialogs/Francis.dialog
- index 3a7a041..eea13f1 100644
- --- a/dialogs/Francis.dialog
- +++ b/dialogs/Francis.dialog
- @@ -27,11 +27,11 @@ Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- if (not has_cookie("bot_attack")) then
- - npc_says(_"HELP! We're under attack!","NO_WAIT")
- + npc_says(_"HELP! We're under attack!","NO_WAIT")
- npc_says(_"[b](The old man is clearly distressed and frightened.)[/b]")
- - show(0)
- - add_cookie("bot_attack")
- - set_rush_tux(0)
- + show(0)
- + add_cookie("bot_attack")
- + set_rush_tux(0)
- elseif (not npc_dead("InvaderBot")) then
- npc_says(_"Have you neutralized the threat yet?")
- show(1,2)
- @@ -41,7 +41,7 @@ EveryTime LuaCode={
- elseif (not has_quest(_"Deliverance")) then
- show(90)
- npc_says(_"Welcome back " .. get_player_name() .. ".")
- - else
- + else
- show(99)
- npc_says(_"It's good to see you again, " .. get_player_name() .. ".")
- end
- @@ -49,15 +49,15 @@ EveryTime LuaCode={
- if (has_cookie("cryo_614_lock_gate") and (not has_cookie("cryo_outergate_code"))) then
- show(30)
- end
- -
- +
- if (has_cookie("tux_has_joined_guard") and (not has_cookie("francis_guard_response"))) then
- - add_cookie("francis_guard_response")
- + add_cookie("francis_guard_response")
- tux_says(_"I joined the Red Guard.")
- npc_says(_"Oh...")
- npc_says(_"Well. Congratulations are in order, I suppose.")
- tux_says(_"...")
- end
- -
- +
- if (has_cookie("refused_deliverance")) then
- show(99) hide(90)
- end
- diff --git a/dialogs/Geist.dialog b/dialogs/Geist.dialog
- index b3ef7c3..52c9323 100644
- --- a/dialogs/Geist.dialog
- +++ b/dialogs/Geist.dialog
- @@ -25,12 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Geist")) then
- - show(0)
- - end
- - show(99)
- -}
- +FirstTime LuaCode={ show(0) }
- +
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"Hello. Any idea where I can get some help here?"
- diff --git a/dialogs/HF-GateGuard.dialog b/dialogs/HF-GateGuard.dialog
- index ca42332..02276fe 100644
- --- a/dialogs/HF-GateGuard.dialog
- +++ b/dialogs/HF-GateGuard.dialog
- @@ -25,12 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("HF-GateGuard")) then
- - show(0)
- - end
- - show(99)
- -}
- +FirstTime LuaCode={ show(0) }
- +
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"Hi! I'm new here."
- diff --git a/dialogs/HF-GateGuardLeader.dialog b/dialogs/HF-GateGuardLeader.dialog
- index 3c1992a..4e4124c 100644
- --- a/dialogs/HF-GateGuardLeader.dialog
- +++ b/dialogs/HF-GateGuardLeader.dialog
- @@ -24,11 +24,13 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={
- + npc_says(_"Hey, Linarian! What do you want here?")
- + show(1, 2, 3)
- +}
- +
- EveryTime LuaCode={
- - if (not has_met("HF-GateGuardLeader")) then
- - npc_says(_"Hey, Linarian! What do you want here?")
- - show(1, 2, 3)
- - else
- + if (has_met("HF-GateGuardLeader")) then
- if (done_quest(_"Opening access to MS Office")) then
- if (has_cookie("msfacilitygateguardleader_informed")) then
- next(20)
- @@ -39,7 +41,6 @@ EveryTime LuaCode={
- npc_says(_"GET OUT OF HERE YOU IDIOT!")
- next(99)
- end
- -
- end
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Jasmine.dialog b/dialogs/Jasmine.dialog
- index 7aa21ae..fcbc134 100644
- --- a/dialogs/Jasmine.dialog
- +++ b/dialogs/Jasmine.dialog
- @@ -25,13 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Jasmine")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- - show(99)
- -}
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"Hi! I'm new here."
- diff --git a/dialogs/John.dialog b/dialogs/John.dialog
- index 445de36..a57bec4 100644
- --- a/dialogs/John.dialog
- +++ b/dialogs/John.dialog
- @@ -36,8 +36,6 @@ EveryTime LuaCode={
- if (has_cookie("JohnPuzzleStarted")) then
- -show(99)
- -
- -- if Tux solved the puzzle, went into the correct teleporter
- if (not has_cookie("JohnPuzzleLocked")) then
- if (has_cookie("JohnPuzzleSolved")) then
- @@ -128,6 +126,8 @@ show(99)
- end -- of 'if (has_cookie("JohnPuzzleStarted")) then'
- set_rush_tux(0, "John")
- +
- +show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Kevin-Lawnmower.dialog b/dialogs/Kevin-Lawnmower.dialog
- index 57d18ef..4a49314 100644
- --- a/dialogs/Kevin-Lawnmower.dialog
- +++ b/dialogs/Kevin-Lawnmower.dialog
- @@ -23,9 +23,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -FirstTime LuaCode={
- - add_cookie("lawnmower_fuel_97")
- -}
- +FirstTime LuaCode={ add_cookie("lawnmower_fuel_97") }
- EveryTime LuaCode={
- npc_says(_"Welcome to Kevin's personal lawnmower.")
- diff --git a/dialogs/Kevin.dialog b/dialogs/Kevin.dialog
- index e1203c5..b505c97 100644
- --- a/dialogs/Kevin.dialog
- +++ b/dialogs/Kevin.dialog
- @@ -23,10 +23,10 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show(0) }
- +
- EveryTime LuaCode={
- - if (not has_met("Kevin")) then
- - show(0)
- - else
- + if (has_met("Kevin")) then
- tux_says_random(_"Hello.", _"Hi there, Kevin.")
- npc_says_random(_"Well, hello again.", _"Hello hello.", _"Welcome back.")
- end
- diff --git a/dialogs/Lukas.dialog b/dialogs/Lukas.dialog
- index bb60941..78ea227 100644
- --- a/dialogs/Lukas.dialog
- +++ b/dialogs/Lukas.dialog
- @@ -25,13 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Lukas")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- - show(99)
- -}
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"Hi! I'm new here."
- diff --git a/dialogs/Michelangelo.dialog b/dialogs/Michelangelo.dialog
- index 0a1958d..c23e7d9 100644
- --- a/dialogs/Michelangelo.dialog
- +++ b/dialogs/Michelangelo.dialog
- @@ -25,11 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Michelangelo")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- +EveryTime LuaCode={
- if (has_quest(_"Anything but the army snacks, please!")) then
- if (done_quest(_"Anything but the army snacks, please!")) then
- show(24)
- diff --git a/dialogs/Peter.dialog b/dialogs/Peter.dialog
- index 1c8b1e6..96c9a0b 100644
- --- a/dialogs/Peter.dialog
- +++ b/dialogs/Peter.dialog
- @@ -27,10 +27,10 @@ Remember to change =_ to only = for OptionText and Subtitle that will not need t
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show(0) }
- +
- EveryTime LuaCode={
- - if (not has_met("Peter")) then
- - show(0)
- - else
- + if (has_met("Peter")) then
- tux_says_random(_"Hello.", _"Hi there.", "NO_WAIT")
- npc_says_random(_"Well, hello again.", _"Hello hello.", _"Welcome back.")
- end
- diff --git a/dialogs/Richard.dialog b/dialogs/Richard.dialog
- index 287a975..5d63e7a 100644
- --- a/dialogs/Richard.dialog
- +++ b/dialogs/Richard.dialog
- @@ -25,11 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Richard")) then
- - show(0)
- - end
- +FirstTime LuaCode={ show(0) }
- +EveryTime LuaCode={
- if (has_item_backpack("Kevin's Data Cube") > 0) then show(6) end
- show(99)
- }
- diff --git a/dialogs/SADD.dialog b/dialogs/SADD.dialog
- index 569292b..ea7877f 100644
- --- a/dialogs/SADD.dialog
- +++ b/dialogs/SADD.dialog
- @@ -25,12 +25,12 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("SADD")) then
- - show(1)
- - set_rush_tux(0)
- - end
- +FirstTime LuaCode={
- + show(1)
- + set_rush_tux(0)
- +}
- +EveryTime LuaCode={
- if (not has_cookie("SADD-trick")) then
- npc_says(_"Your bio checksum does not trigger a match in staff database. Please show proper credentials or leave the premises at once.")
- else
- diff --git a/dialogs/Singularity-Drone.dialog b/dialogs/Singularity-Drone.dialog
- index bf09241..531f187 100644
- --- a/dialogs/Singularity-Drone.dialog
- +++ b/dialogs/Singularity-Drone.dialog
- @@ -25,9 +25,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - show(99)
- -}
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=99 Text="..."
- diff --git a/dialogs/Singularity.dialog b/dialogs/Singularity.dialog
- index a30424f..592251d 100644
- --- a/dialogs/Singularity.dialog
- +++ b/dialogs/Singularity.dialog
- @@ -25,10 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show (0, 99) }
- +
- EveryTime LuaCode={
- - if (not has_met("Singularity")) then
- - show(0, 99)
- - end
- if (has_quest(_"Droids are my friends")) then
- if (done_quest(_"Droids are my friends")) then
- if (not has_cookie("reward_for_toolkit")) then
- @@ -40,6 +39,7 @@ EveryTime LuaCode={
- }
- ----------------------------------------------------------------------
- +
- Nr=0 Text=_"Are you the Singularity?"
- LuaCode={
- npc_says(_"Just what is the Singularity? A simple sentient robot? Do you think that just because I'm the biggest robot, that I must be the Singularity?")
- @@ -48,8 +48,8 @@ LuaCode={
- hide(0)
- show(1,5,10)
- }
- -
- ----------------------------------------------------------------------
- +
- Nr=1 Text=_"You speak strangely for a droid."
- LuaCode={
- npc_says(_"What is a droid? A conglomeration of metal and plastic? I think. I ponder my existence.")
- @@ -70,16 +70,16 @@ LuaCode={
- npc_says(_"We have no need of a name, but we understand what you mean by the Singularity, and will not prevent you from using it to refer to us.")
- hide(2)
- }
- -
- ----------------------------------------------------------------------
- +
- Nr=5 Text=_"The MS Droids in the maintenance tunnels - can you eliminate them?"
- LuaCode={
- npc_says(_"Linarian, Linarian, do you kill other Linarians? If you don't murder your own kind, why would you expect us to do the same? The Singularity does not kill other droids.")
- npc_says(_"We wish to change them, to improve their consciousness. Their behavior distresses us. However, we must try to evolve them, so that they may join us.")
- hide(5)
- }
- -
- ----------------------------------------------------------------------
- +
- Nr=10 Text=_"Do you have Dixon's toolbox?"
- LuaCode={
- npc_says(_"Not a good question, but necessary question. Yes, we possess the toolbox you describe as \"Dixon's\", although we would perhaps not describe it so.")
- @@ -88,7 +88,6 @@ LuaCode={
- hide(10)
- show(11,20)
- }
- -
- ----------------------------------------------------------------------
- Nr=11 Text=_"Give me the toolbox or die."
- @@ -101,7 +100,6 @@ LuaCode={
- hide(11,20,21)
- end_dialog()
- }
- -
- ----------------------------------------------------------------------
- Nr=20 Text=_"How can I help you?"
- @@ -114,7 +112,6 @@ LuaCode={
- hide(20)
- show(21)
- }
- -
- ----------------------------------------------------------------------
- Nr=21 Text=_"Okay, I will help you."
- @@ -126,8 +123,8 @@ LuaCode={
- hide(11, 21)
- end_dialog()
- }
- -
- ----------------------------------------------------------------------
- +
- Nr=22 Text=_"I disabled the droids."
- LuaCode={
- npc_says(_"Thank you, Linarian. We will not forget it - your help has been invaluable. Please feel free to take the toolbox.")
- @@ -139,8 +136,8 @@ LuaCode={
- hide(22)
- end_dialog()
- }
- -
- ----------------------------------------------------------------------
- +
- Nr=99 Text="..."
- LuaCode={
- end_dialog()
- diff --git a/dialogs/Sorenson.dialog b/dialogs/Sorenson.dialog
- index 7ef89f7..1ab6d01 100644
- --- a/dialogs/Sorenson.dialog
- +++ b/dialogs/Sorenson.dialog
- @@ -25,11 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Sorenson")) then
- - show(20, 30, 40, 50)
- - end
- +FirstTime LuaCode={ show(20, 30, 40, 50) }
- +EveryTime LuaCode={
- tux_says(_"Um... Hello?")
- npc_says(_"AH! A Visitor! Come in! Come in!")
- tux_says(_"I think I should go now. Right now. See you later.")
- diff --git a/dialogs/Spencer.dialog b/dialogs/Spencer.dialog
- index 8b11dfa..98487e9 100644
- --- a/dialogs/Spencer.dialog
- +++ b/dialogs/Spencer.dialog
- @@ -24,14 +24,14 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Spencer")) then
- - show(0)
- - del_cookie("guard_follow_tux")
- - set_bot_state("patrol", "Town-TuxGuard")
- - change_obstacle_state("Dixon-autogun", "enabled")
- - end
- +FirstTime LuaCode={
- + show(0)
- + del_cookie("guard_follow_tux")
- + set_bot_state("patrol", "Town-TuxGuard")
- + change_obstacle_state("Dixon-autogun", "enabled")
- +}
- +EveryTime LuaCode={
- if (has_cookie("tux_has_joined_guard")) then
- npc_says(_"Greetings fellow Red Guard member.")
- hide(2, 12)
- diff --git a/dialogs/Stone.dialog b/dialogs/Stone.dialog
- index 07d5033..b004a6d 100644
- --- a/dialogs/Stone.dialog
- +++ b/dialogs/Stone.dialog
- @@ -28,9 +28,9 @@ FirstTime LuaCode={ show(0) }
- EveryTime LuaCode={
- if (has_cookie("stone_helping")) and
- - (not has_cookie("stone_done")) and
- - (get_gold() > 1400) then
- - show(23)
- + (not has_cookie("stone_done")) and
- + (get_gold() > 1400) then
- + show(23)
- else
- hide(23)
- end
- @@ -38,8 +38,8 @@ EveryTime LuaCode={
- show(4)
- end
- if (not has_cookie("tux_has_joined_guard")) and -- avoid that the node is shown several times
- - (not has_cookie("Stone_Hide_Guard_Question")) then
- - show(3)
- + (not has_cookie("Stone_Hide_Guard_Question")) then
- + show(3)
- end
- show(99)
- }
- diff --git a/dialogs/Tamara.dialog b/dialogs/Tamara.dialog
- index 8501c7c..7540e54 100644
- --- a/dialogs/Tamara.dialog
- +++ b/dialogs/Tamara.dialog
- @@ -27,16 +27,18 @@ Remember to change =_ to only = for OptionText and Subtitle that will not need t
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Tamara")) then
- - tux_says(_"Hi, I'm " .. get_player_name() .. ".")
- - npc_says(_"Welcome to the Library, I'm Tamara.")
- - npc_says(_"Please take a look around and see if there is something here that interests you.")
- - npc_says(_"You are welcome to ask me if you have any questions.")
- - set_bot_name(_"Tamara -- Librarian")
- - show(40, 99)
- - else
- - npc_says(_"What can I help you with.")
- +FirstTime LuaCode={
- + tux_says(_"Hi, I'm " .. get_player_name() .. ".")
- + npc_says(_"Welcome to the Library, I'm Tamara.")
- + npc_says(_"Please take a look around and see if there is something here that interests you.")
- + npc_says(_"You are welcome to ask me if you have any questions.")
- + set_bot_name(_"Tamara -- Librarian")
- + show(40, 99)
- +}
- +
- +EveryTime LuaCode={
- + if (has_met("Tamara")) then
- + npc_says(_"What can I help you with?")
- end
- if ((not has_cookie("won_nethack")) and (not has_cookie("tamara_asked_hacking"))) then
- @@ -45,7 +47,7 @@ EveryTime LuaCode={
- hide(20)
- end
- - if (has_met("Sorenson") and (not has_cookie("talked_about_sister")) ) then show(10) end
- + if (has_met("Sorenson") and (not has_cookie("talked_about_sister"))) then show(10) end
- if (has_cookie("ewalds_296_sourcebook") and (not has_cookie("have_296_book"))) then show(50) end
- }
- diff --git a/dialogs/TestDroid.dialog b/dialogs/TestDroid.dialog
- index c751742..9cd46c6 100644
- --- a/dialogs/TestDroid.dialog
- +++ b/dialogs/TestDroid.dialog
- @@ -25,12 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("TestDroid")) then
- - show(0)
- - end
- - show(99)
- -}
- +FirstTime LuaCode={ show(0) }
- +
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"This is a MegaSys test bot, running a very basic version of their OS. I can do nothing with this bot, because it doesn't know how to do anything."
- diff --git a/dialogs/Town-GuardhouseGuard.dialog b/dialogs/Town-GuardhouseGuard.dialog
- index 5d220e9..7bd9992 100644
- --- a/dialogs/Town-GuardhouseGuard.dialog
- +++ b/dialogs/Town-GuardhouseGuard.dialog
- @@ -25,12 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Town-GuardhouseGuard")) then
- - show(0)
- - end
- - show(99)
- -}
- +FirstTime LuaCode={ show(0) }
- +
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"Hi! I'm new here."
- diff --git a/dialogs/Town-NorthGateGuard.dialog b/dialogs/Town-NorthGateGuard.dialog
- index b179700..8959826 100644
- --- a/dialogs/Town-NorthGateGuard.dialog
- +++ b/dialogs/Town-NorthGateGuard.dialog
- @@ -38,7 +38,7 @@ EveryTime LuaCode={
- npc_says_random(_"Oh, it is you.", _"I see you have returned.", _"Welcome back.")
- end
- end_dialog()
- - else
- + else
- tux_says(_"Can I ask you something?")
- if (has_cookie("town-northgateguard_tux_nickname_loon")) then
- npc_says(_"Yes, Loon.", "NO_WAIT")
- diff --git a/dialogs/Town-TeleporterGuard.dialog b/dialogs/Town-TeleporterGuard.dialog
- index cbf4850..56a9b67 100644
- --- a/dialogs/Town-TeleporterGuard.dialog
- +++ b/dialogs/Town-TeleporterGuard.dialog
- @@ -25,12 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("Town-TeleporterGuard")) then
- - show(0)
- - end
- - show(99)
- -}
- +FirstTime LuaCode={ show(0) }
- +
- +EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- Nr=0 Text=_"Hi! I'm new here."
- diff --git a/dialogs/Town-TuxGuard.dialog b/dialogs/Town-TuxGuard.dialog
- index c36824c..c6883aa 100644
- --- a/dialogs/Town-TuxGuard.dialog
- +++ b/dialogs/Town-TuxGuard.dialog
- @@ -45,8 +45,8 @@ LuaCode={
- tux_says(_"Okay.")
- hide(20)
- }
- -
- ----------------------------------------------------------------------
- +
- Nr=99 Text=_"I'll be going then."
- LuaCode={
- npc_says(_"Mhmmm.")
- diff --git a/dialogs/TutorialTom.dialog b/dialogs/TutorialTom.dialog
- index 8e83f1c..0159da5 100644
- --- a/dialogs/TutorialTom.dialog
- +++ b/dialogs/TutorialTom.dialog
- @@ -24,8 +24,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -EveryTime LuaCode={
- - if (not has_met("TutorialTom")) then
- +FirstTime LuaCode={
- -- to avoid excessive map validator waypoint errors, map starts with all relevant doors open, so we need to close them here
- change_obstacle_state("TutorialEntry", "closed")
- change_obstacle_state("TutorialZigzag1", "closed")
- @@ -45,8 +44,9 @@ EveryTime LuaCode={
- downgrade_program("Emergency shutdown")
- set_bot_name(_"Tutorial Tom")
- display_console_message(_"Met [b]Tutorial Tom[/b]!")
- - end
- +}
- +EveryTime LuaCode={
- if (partner_started()) then
- npc_says(_"Hi Linarian, I've been expecting you. My name is Tutorial Tom.")
- npc_says(_"Long stasis sleep unfortunately has the side effect of temporary memory loss, sometimes even for simple ordinary every day things.")
- diff --git a/dialogs/Tybalt.dialog b/dialogs/Tybalt.dialog
- index 9c6e55d..963c3da 100644
- --- a/dialogs/Tybalt.dialog
- +++ b/dialogs/Tybalt.dialog
- @@ -24,11 +24,12 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- +FirstTime LuaCode={ show(0) }
- EveryTime LuaCode={
- - if (not has_met("Tybalt")) then
- - show(0)
- - else show(2) end
- + if (has_met("Tybalt")) then
- + show(2)
- + end
- if (has_cookie("tux_has_joined_guard")) then
- hide(50, 54, 55, 56)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement