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 a85488e..053bbbc 100644
- --- a/dialogs/Bender.dialog
- +++ b/dialogs/Bender.dialog
- @@ -25,10 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_bender")) then
- + if (not has_met("Bender")) then
- show(0)
- - add_cookie("met_bender")
- - else end
- + end
- if (has_quest(_"Bender's problem")) then
- if (not done_quest(_"Bender's problem")) then
- @@ -44,11 +43,10 @@ EveryTime LuaCode={
- npc_says(_"Congratulations on getting into the Red Guard! I voted for you and that was what got you in! I said we'd be buddies, didn't I? Want to stand guard at the gate with me? It gets boring with just that 614 to talk to. I could tell you all the secrets of the Red Guard.")
- add_cookie("bender_congrats")
- show(14)
- - else end
- + end
- else
- next(13)
- end
- -
- end
- end
- diff --git a/dialogs/Benjamin.dialog b/dialogs/Benjamin.dialog
- index 2536996..f4e454d 100644
- --- a/dialogs/Benjamin.dialog
- +++ b/dialogs/Benjamin.dialog
- @@ -24,9 +24,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_benjamin")) then
- + if (not has_met("Benjamin")) then
- show(0)
- - add_cookie("met_benjamin")
- else
- tux_says_random(_"Hello.", _"Greetings Master Benjamin.")
- npc_says_random(_"Well, hello again.", _"Hello hello.", _"Welcome back.")
- diff --git a/dialogs/Bruce.dialog b/dialogs/Bruce.dialog
- index 0b28128..5e5f2c5 100644
- --- a/dialogs/Bruce.dialog
- +++ b/dialogs/Bruce.dialog
- @@ -26,9 +26,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_bruce")) then
- + if (not has_met("Bruce")) then
- show(0)
- - add_cookie("met_bruce")
- end
- if (has_cookie("tux_has_joined_guard")) then
- npc_says(_"I am tired.")
- diff --git a/dialogs/Butch.dialog b/dialogs/Butch.dialog
- index 01767a6..1338f21 100644
- --- a/dialogs/Butch.dialog
- +++ b/dialogs/Butch.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_butch")) then
- + if (not has_met("Butch")) then
- show(0)
- - add_cookie("met_butch")
- - else end
- + end
- if (has_quest(_"Novice Arena")) then
- if (not done_quest(_"Novice Arena")) then
- @@ -38,10 +37,10 @@ EveryTime LuaCode={
- if (not has_cookie("butch_enable_first_set")) then
- add_cookie("butch_enable_first_set")
- show(7, 8)
- - else end
- + end
- show(20)
- end
- - else end
- + end
- if (has_quest(_"Time to say goodnight")) then
- if (not done_quest(_"Time to say goodnight")) then
- @@ -51,10 +50,10 @@ EveryTime LuaCode={
- if (not has_cookie("butch_enable_second_set")) then
- add_cookie("butch_enable_second_set")
- show(10)
- - else end
- + end
- show(21)
- end
- - else end
- + end
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Chandra.dialog b/dialogs/Chandra.dialog
- index bbefb4d..1403723 100644
- --- a/dialogs/Chandra.dialog
- +++ b/dialogs/Chandra.dialog
- @@ -26,11 +26,10 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_chandra")) then
- + if (not has_met("Chandra")) then
- npc_says(_"So the rumors are true - a real live Linarian walks among us!")
- show(0)
- - add_cookie("met_chandra")
- - else
- + else
- npc_says(_"Good to see you again. How can I help you?")
- end
- show(99)
- @@ -44,7 +43,7 @@ LuaCode={
- (not has_cookie("chandra_first_contact")) then
- show(15)
- end
- - hide(0) show(1, 2, 9)
- + hide(0) show(1, 2, 9)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/DSB-MachineDeckControl.dialog b/dialogs/DSB-MachineDeckControl.dialog
- index 30d528f..eac1466 100644
- --- a/dialogs/DSB-MachineDeckControl.dialog
- +++ b/dialogs/DSB-MachineDeckControl.dialog
- @@ -27,20 +27,19 @@ Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- terminal = "admin@main.mdc.dsb.ms: ~ #"
- - if (not has_cookie("met_dsb-mdc")) then
- + if (not has_met("DSB-MachineDeckControl")) 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")
- - add_cookie("met_dsb-mdc")
- - else end
- + end
- cli_says(terminal, "NO_WAIT")
- show(99, 1)
- if (not done_quest(_"Opening access to MS Office")) then
- show(7)
- - else end
- + end
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/DSB-PowerControl.dialog b/dialogs/DSB-PowerControl.dialog
- index 456d97b..ff00834 100644
- --- a/dialogs/DSB-PowerControl.dialog
- +++ b/dialogs/DSB-PowerControl.dialog
- @@ -29,27 +29,17 @@ Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- terminal = "admin@main.pc.dsb.ms: ~ #"
- - if (not has_cookie("met_dsb-pc")) then
- + 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")
- - add_cookie("met_dsb-pc")
- - else end
- + end
- cli_says(terminal, "NO_WAIT")
- show(99)
- }
- ----------------------------------------------------------------------
- -
- -Nr=0 Text=_"<?>"
- -LuaCode={
- - npc_says(_"<?>")
- - cli_says(terminal, "NO_WAIT")
- - hide(0)
- -}
- -----------------------------------------------------------------------
- -
- Nr=99 Text=_"logout"
- LuaCode={
- npc_says(_"Exiting")
- diff --git a/dialogs/DSB-PowerControlGate1.dialog b/dialogs/DSB-PowerControlGate1.dialog
- index 079466c..683818f 100644
- --- a/dialogs/DSB-PowerControlGate1.dialog
- +++ b/dialogs/DSB-PowerControlGate1.dialog
- @@ -39,10 +39,6 @@ EveryTime LuaCode={
- npc_says(_"Last login from /dev/ttyS0 on Sun, 23 mar 2057.", "NO_WAIT")
- cli_says(terminal, "NO_WAIT")
- - if (not has_cookie("met_dsb-pcg1e")) then
- - add_cookie("met_dsb-pcg1e")
- - else end
- -
- if (cmp_obstacle_state("DSB-PCGate1", "closed")) then show(0)
- else
- if (cmp_obstacle_state("DSB-PCGate1", "opened")) then show(10)
- diff --git a/dialogs/Dixon.dialog b/dialogs/Dixon.dialog
- index 1af1541..9b5cdd8 100644
- --- a/dialogs/Dixon.dialog
- +++ b/dialogs/Dixon.dialog
- @@ -26,14 +26,13 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_dixon")) then
- + if (not has_met("Dixon")) then
- show(0)
- - add_cookie("met_dixon")
- - else end
- + end
- if (has_item_backpack("Dixon's Toolbox") > 0) then
- if (has_cookie("singularity_killed")) then show(34) else show(35, 36) end
- - else end
- + end
- if (done_quest(_"The yellow toolkit")) then
- if (has_cookie("singularity_dead")) then
- @@ -41,25 +40,25 @@ EveryTime LuaCode={
- else
- if (has_cookie("dixon_one")) then show(46) else show(45) end
- end
- - else end
- + end
- if (has_cookie("dixon_angry_250")) then
- if (has_cookie("dixon_very_angry")) then next(83)
- else npc_says(_"Linarian, please leave. You are no longer welcome here. You have done me wrong and I have no desire to talk to you.")
- end
- - else end
- + end
- if (has_cookie("dixon_angry_350")) then
- if (has_cookie("dixon_very_angry")) then next(83)
- else npc_says(_"Linarian, please leave. You are no longer welcome here. You have done me wrong and I have no desire to talk to you.")
- end
- - else end
- + end
- if (has_cookie("singularity_saved")) then
- if (has_cookie("dixon_one")) then show(46) else show(45) end
- - else end
- + end
- - if (has_cookie("dixon_saved_and_talked")) then hide(46) else end
- + if (has_cookie("dixon_saved_and_talked")) then hide(46) end
- show(99)
- if (has_cookie("ewalds_296_sourcebook") and (not has_cookie("have_296_book"))) then show(60) end
- diff --git a/dialogs/Duncan.dialog b/dialogs/Duncan.dialog
- index 93b2695..8db013a 100644
- --- a/dialogs/Duncan.dialog
- +++ b/dialogs/Duncan.dialog
- @@ -26,9 +26,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_duncan")) then
- + if (not has_met("Duncan")) then
- show(0, 90, 99)
- - add_cookie("met_duncan")
- elseif (not has_cookie("guard_follow_tux")) and
- (not has_cookie("koan_quest")) then
- next(50)
- @@ -146,7 +145,7 @@ LuaCode={
- npc_says(_"I will be waiting here for your return.")
- tux_says(_"That is all I need to know. I will find Koan.")
- npc_says(_"Only time will tell.")
- - if (cmp_obstacle_state("DesertGate", "closed") and (not has_cookie("met_tania"))) then
- + if (cmp_obstacle_state("DesertGate", "closed") and (not has_met("Tania"))) then
- npc_says(_"Here is a couple of circuits to grease open the western gate, if you know what I mean.")
- add_gold(25)
- end
- diff --git a/dialogs/Engel.dialog b/dialogs/Engel.dialog
- index 8c8ac19..b5878c4 100644
- --- a/dialogs/Engel.dialog
- +++ b/dialogs/Engel.dialog
- @@ -25,7 +25,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -FirstTime LuaCode={ add_cookie("met_engel") show (0, 6) }
- +FirstTime LuaCode={ show (0, 6) }
- EveryTime LuaCode={ show(99) }
- ----------------------------------------------------------------------
- @@ -146,7 +146,7 @@ LuaCode={
- tux_says(_"So they are kind of add-ons?")
- npc_says(_"Yes.")
- npc_says(_"Ask the Stadtmenschen if you want to know more.") --Stadtmenschen = townspeople
- - if (not has_cookie("met_dixon")) then
- + if (not has_met("Dixon")) then
- npc_says(_"I think the Rot Guard makes them.") --Rot = red
- npc_says(_"If you have Gluck, they won't kill you directly.") --Gluck (should actually be 'Glück' but there is no ü in the font) = luck
- end
- diff --git a/dialogs/Ewald.dialog b/dialogs/Ewald.dialog
- index c08f696..e46309d 100644
- --- a/dialogs/Ewald.dialog
- +++ b/dialogs/Ewald.dialog
- @@ -26,9 +26,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_ewald")) then
- + if (not has_met("Ewald")) then
- show(0, 3)
- - add_cookie("met_ewald")
- end
- if (has_cookie("Tania-at-Bar")) and
- (not has_cookie("Tania-at-Bar_Ewald")) then
- diff --git a/dialogs/Ewalds_296.dialog b/dialogs/Ewalds_296.dialog
- index 2597ab6..c6129c0 100644
- --- a/dialogs/Ewalds_296.dialog
- +++ b/dialogs/Ewalds_296.dialog
- @@ -25,11 +25,11 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if has_cookie("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!")
- - add_cookie("met_ewalds_296")
- + 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
- diff --git a/dialogs/Geist.dialog b/dialogs/Geist.dialog
- index 91b2834..b3ef7c3 100644
- --- a/dialogs/Geist.dialog
- +++ b/dialogs/Geist.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_geist")) then
- + if (not has_met("Geist")) then
- show(0)
- - add_cookie("met_geist")
- - else end
- + end
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/HF-GateGuard.dialog b/dialogs/HF-GateGuard.dialog
- index b693557..ca42332 100644
- --- a/dialogs/HF-GateGuard.dialog
- +++ b/dialogs/HF-GateGuard.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_hf-gateguard")) then
- + if (not has_met("HF-GateGuard")) then
- show(0)
- - add_cookie("met_hf-gateguard")
- - else end
- + end
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/HF-GateGuardLeader.dialog b/dialogs/HF-GateGuardLeader.dialog
- index 2a7bcae..3c1992a 100644
- --- a/dialogs/HF-GateGuardLeader.dialog
- +++ b/dialogs/HF-GateGuardLeader.dialog
- @@ -25,10 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_hf-gateguardleader")) then
- + if (not has_met("HF-GateGuardLeader")) then
- npc_says(_"Hey, Linarian! What do you want here?")
- show(1, 2, 3)
- - add_cookie("met_hf-gateguardleader")
- else
- if (done_quest(_"Opening access to MS Office")) then
- if (has_cookie("msfacilitygateguardleader_informed")) then
- diff --git a/dialogs/Iris.dialog b/dialogs/Iris.dialog
- index 7cc3487..de46b16 100644
- --- a/dialogs/Iris.dialog
- +++ b/dialogs/Iris.dialog
- @@ -27,7 +27,7 @@ Remember to change =_ to only = for OptionText and Subtitle that will not need t
- Beginning of new chat dialog for character="XXXXX"
- -FirstTime LuaCode={ add_cookie("met_iris") show(0) }
- +FirstTime LuaCode={ show(0) }
- EveryTime LuaCode={
- if has_cookie("Iris_wants_lamp") then
- diff --git a/dialogs/Jasmine.dialog b/dialogs/Jasmine.dialog
- index 9d1b102..7aa21ae 100644
- --- a/dialogs/Jasmine.dialog
- +++ b/dialogs/Jasmine.dialog
- @@ -26,9 +26,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_jasmine")) then
- + if (not has_met("Jasmine")) then
- show(0)
- - add_cookie("met_jasmine")
- end
- show(99)
- diff --git a/dialogs/John.dialog b/dialogs/John.dialog
- index 57c6f81..445de36 100644
- --- a/dialogs/John.dialog
- +++ b/dialogs/John.dialog
- @@ -25,7 +25,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -FirstTime LuaCode={ add_cookie("met_john") show(0) }
- +FirstTime LuaCode={ show(0) }
- EveryTime LuaCode={
- if (has_cookie("john_dislike")) then
- diff --git a/dialogs/Kevin-Lawnmower.dialog b/dialogs/Kevin-Lawnmower.dialog
- index ee781b3..57d18ef 100644
- --- a/dialogs/Kevin-Lawnmower.dialog
- +++ b/dialogs/Kevin-Lawnmower.dialog
- @@ -25,7 +25,6 @@ Beginning of new chat dialog for character="XXXXX"
- FirstTime LuaCode={
- add_cookie("lawnmower_fuel_97")
- - add_cookie("met_kevins_lawnmower")
- }
- EveryTime LuaCode={
- diff --git a/dialogs/Kevin.dialog b/dialogs/Kevin.dialog
- index ef5dfa2..e1203c5 100644
- --- a/dialogs/Kevin.dialog
- +++ b/dialogs/Kevin.dialog
- @@ -24,15 +24,14 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_kevin")) then
- + if (not has_met("Kevin")) then
- show(0)
- - add_cookie("met_kevin")
- else
- tux_says_random(_"Hello.", _"Hi there, Kevin.")
- npc_says_random(_"Well, hello again.", _"Hello hello.", _"Welcome back.")
- end
- - if ( (has_quest(_"A strange guy stealing from town")) and (not done_quest(_"A strange guy stealing from town")) ) then
- + if ((has_quest(_"A strange guy stealing from town")) and (not done_quest(_"A strange guy stealing from town")) ) then
- add_xp(100)
- end_quest(_"A strange guy stealing from town", _"Oh, I seem to have found the guy the town guard was raving on about. Better not tell the Red Guards in town or they might force me to assist them in his capture. I'll likely have more use of Kevin and his knowledge here in his house with his computers than in a holding cell in town.")
- end
- diff --git a/dialogs/Koan.dialog b/dialogs/Koan.dialog
- index abae652..d5fe5b1 100644
- --- a/dialogs/Koan.dialog
- +++ b/dialogs/Koan.dialog
- @@ -43,7 +43,7 @@ EveryTime LuaCode={
- if has_quest("Doing Duncan a favor") then
- show(2)
- else
- - if (not has_cookie("met_duncan")) then
- + if (not has_met("Duncan")) then
- show(4)
- else
- show(5)
- diff --git a/dialogs/Lukas.dialog b/dialogs/Lukas.dialog
- index 1b66b32..bb60941 100644
- --- a/dialogs/Lukas.dialog
- +++ b/dialogs/Lukas.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_lukas")) then
- + if (not has_met("Lukas")) then
- show(0)
- - add_cookie("met_lukas")
- - else end
- + end
- show(99)
- }
- diff --git a/dialogs/Michelangelo.dialog b/dialogs/Michelangelo.dialog
- index 8bd0066..0a1958d 100644
- --- a/dialogs/Michelangelo.dialog
- +++ b/dialogs/Michelangelo.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_michelangelo")) then
- + if (not has_met("Michelangelo")) then
- show(0)
- - add_cookie("met_michelangelo")
- - else end
- + end
- if (has_quest(_"Anything but the army snacks, please!")) then
- if (done_quest(_"Anything but the army snacks, please!")) then
- @@ -38,7 +37,7 @@ EveryTime LuaCode={
- if (done_quest(_"SADD's power supply")) then
- hide(75, 76, 77)
- else
- - if (has_item_backpack("Red Dilithium Crystal") < 1) then show(40, 75) else end
- + if (has_item_backpack("Red Dilithium Crystal") < 1) then show(40, 75) end
- end
- end
- if (has_quest(_"Gapes Gluttony")) then
- @@ -61,7 +60,7 @@ EveryTime LuaCode={
- if (has_cookie("asked_michelangelo_for_army_snacks")) then show(26) else show(12) end
- end
- end
- - else end
- + end
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Pendragon.dialog b/dialogs/Pendragon.dialog
- index 2ffbee9..d64b511 100644
- --- a/dialogs/Pendragon.dialog
- +++ b/dialogs/Pendragon.dialog
- @@ -27,7 +27,6 @@ Beginning of new chat dialog for character="XXXXX"
- FirstTime LuaCode={
- show(0)
- - add_cookie("met_pendragon")
- }
- EveryTime LuaCode={
- @@ -88,7 +87,7 @@ EveryTime LuaCode={
- hide(40)
- end
- - if ((cmp_obstacle_state("DesertGate", "opened")) or has_cookie("met_tania")) then
- + if ((cmp_obstacle_state("DesertGate", "opened")) or has_met("Tania")) then
- hide(40, 45)
- end
- diff --git a/dialogs/Peter.dialog b/dialogs/Peter.dialog
- index 367208d..1c8b1e6 100644
- --- a/dialogs/Peter.dialog
- +++ b/dialogs/Peter.dialog
- @@ -28,9 +28,8 @@ 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_cookie("met_peter")) then
- + if (not has_met("Peter")) then
- show(0)
- - add_cookie("met_peter")
- else
- tux_says_random(_"Hello.", _"Hi there.", "NO_WAIT")
- npc_says_random(_"Well, hello again.", _"Hello hello.", _"Welcome back.")
- diff --git a/dialogs/Richard.dialog b/dialogs/Richard.dialog
- index 53ae4ff..287a975 100644
- --- a/dialogs/Richard.dialog
- +++ b/dialogs/Richard.dialog
- @@ -26,12 +26,11 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_richard")) then
- + if (not has_met("Richard")) then
- show(0)
- - add_cookie("met_richard")
- - else end
- + end
- - if (has_item_backpack("Kevin's Data Cube") > 0) then show(6) else end
- + 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 523b156..569292b 100644
- --- a/dialogs/SADD.dialog
- +++ b/dialogs/SADD.dialog
- @@ -26,9 +26,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_sadd")) then
- + if (not has_met("SADD")) then
- show(1)
- - add_cookie("met_sadd")
- set_rush_tux(0)
- end
- diff --git a/dialogs/Singularity.dialog b/dialogs/Singularity.dialog
- index 6199585..a30424f 100644
- --- a/dialogs/Singularity.dialog
- +++ b/dialogs/Singularity.dialog
- @@ -26,8 +26,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_singularity")) then
- - add_cookie("met_singularity")
- + if (not has_met("Singularity")) then
- show(0, 99)
- end
- if (has_quest(_"Droids are my friends")) then
- @@ -37,7 +36,7 @@ EveryTime LuaCode={
- add_cookie("reward_for_toolkit")
- end
- end
- - end
- + end
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Skippy.dialog b/dialogs/Skippy.dialog
- index 03a2318..3c21d3a 100644
- --- a/dialogs/Skippy.dialog
- +++ b/dialogs/Skippy.dialog
- @@ -26,7 +26,6 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- FirstTime LuaCode={
- - add_cookie("met_skippy")
- show(0, 99)
- }
- diff --git a/dialogs/Sorenson.dialog b/dialogs/Sorenson.dialog
- index 86e1215..7ef89f7 100644
- --- a/dialogs/Sorenson.dialog
- +++ b/dialogs/Sorenson.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_sorenson")) then
- + if (not has_met("Sorenson")) then
- show(20, 30, 40, 50)
- - add_cookie("met_sorenson")
- - else end
- + end
- tux_says(_"Um... Hello?")
- npc_says(_"AH! A Visitor! Come in! Come in!")
- diff --git a/dialogs/Spencer.dialog b/dialogs/Spencer.dialog
- index bb5833d..8b11dfa 100644
- --- a/dialogs/Spencer.dialog
- +++ b/dialogs/Spencer.dialog
- @@ -25,9 +25,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_spencer")) then
- + if (not has_met("Spencer")) then
- show(0)
- - add_cookie("met_spencer")
- del_cookie("guard_follow_tux")
- set_bot_state("patrol", "Town-TuxGuard")
- change_obstacle_state("Dixon-autogun", "enabled")
- diff --git a/dialogs/Stone.dialog b/dialogs/Stone.dialog
- index d7e1b53..07d5033 100644
- --- a/dialogs/Stone.dialog
- +++ b/dialogs/Stone.dialog
- @@ -24,7 +24,7 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- -FirstTime LuaCode={ add_cookie("met_stone") show(0) }
- +FirstTime LuaCode={ show(0) }
- EveryTime LuaCode={
- if (has_cookie("stone_helping")) and
- diff --git a/dialogs/Tamara.dialog b/dialogs/Tamara.dialog
- index c74d950..8501c7c 100644
- --- a/dialogs/Tamara.dialog
- +++ b/dialogs/Tamara.dialog
- @@ -28,14 +28,13 @@ 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_cookie("met_tamara")) then
- + 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)
- - add_cookie("met_tamara")
- else
- npc_says(_"What can I help you with.")
- end
- @@ -46,7 +45,7 @@ EveryTime LuaCode={
- hide(20)
- end
- - if (has_cookie("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/Tania.dialog b/dialogs/Tania.dialog
- index c6db435..d66691c 100644
- --- a/dialogs/Tania.dialog
- +++ b/dialogs/Tania.dialog
- @@ -27,7 +27,6 @@ Beginning of new chat dialog for character="XXXXX"
- FirstTime LuaCode={
- show(0)
- - add_cookie("met_tania")
- }
- EveryTime LuaCode={
- @@ -362,7 +361,7 @@ LuaCode={
- Nr=50 Text=_"I have some industrial coolant you could have."
- LuaCode={
- npc_says(_"I can't drink this.")
- - if has_cookie("met_ewald") then
- + if has_met("Ewald") then
- tux_says(_"I've seen the town bartender put it in drinks.")
- npc_says(_"I guess I'll give it a try then.")
- del_item_backpack("Industrial coolant")
- diff --git a/dialogs/TestDroid.dialog b/dialogs/TestDroid.dialog
- index a320b7d..c751742 100644
- --- a/dialogs/TestDroid.dialog
- +++ b/dialogs/TestDroid.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_testdroid")) then
- + if (not has_met("TestDroid")) then
- show(0)
- - add_cookie("met_testdroid")
- - else end
- + end
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Town-GuardhouseGuard.dialog b/dialogs/Town-GuardhouseGuard.dialog
- index c0b0990..5d220e9 100644
- --- a/dialogs/Town-GuardhouseGuard.dialog
- +++ b/dialogs/Town-GuardhouseGuard.dialog
- @@ -26,10 +26,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_town-guardhouseguard")) then
- + if (not has_met("Town-GuardhouseGuard")) then
- show(0)
- - add_cookie("met_town-guardhouseguard")
- - else end
- + end
- show(99)
- }
- ----------------------------------------------------------------------
- diff --git a/dialogs/Town-NorthGateGuard.dialog b/dialogs/Town-NorthGateGuard.dialog
- index 9e28272..b179700 100644
- --- a/dialogs/Town-NorthGateGuard.dialog
- +++ b/dialogs/Town-NorthGateGuard.dialog
- @@ -25,10 +25,9 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_town-northgateguard")) then
- + if (not has_met("Town-NorthGateGuard")) then
- npc_says(_"Hey you! Linarian! What do you want here?")
- show(1, 2, 3)
- - add_cookie("met_town-northgateguard")
- set_rush_tux(0)
- add_cookie("guard_follow_tux")
- elseif will_rush_tux() then
- @@ -91,7 +90,7 @@ LuaCode={
- npc_says(_"Heh, you sure are a curious little bird, in more than one way I might say.")
- npc_says(_"On the day he visited all our computers went insane, 20 bags of food rations vanished from our storage and one of our bots was stolen.")
- npc_says(_"I think that freak lives somewhere to the east. I would love to get my hands on him and beat the life out of him. Slowly.")
- - if (not has_cookie("met_kevin")) then
- + if (not has_met("Kevin")) then
- add_quest(_"A strange guy stealing from town", _"The guard in charge at the entrance of the town mentioned that somebody sneaked into town recently, and stole food and hardware. I might want to find out who this person is - apparently he lives somewhere to the east. But maybe I should get some experience and better equipment first before traveling far outside of town. With all those lethal bots roaming around I might not get far otherwise.")
- else
- add_quest(_"A strange guy stealing from town", _"Ooops, the guard must be talking about Kevin. I'll better not mention I know him and where he lives or I might find myself in a holding cell or being forced to show the guards straight to his home. But I guess that explains where Kevin got that 614 bot from.")
- diff --git a/dialogs/Town-TeleporterGuard.dialog b/dialogs/Town-TeleporterGuard.dialog
- index 35fe3c8..cbf4850 100644
- --- a/dialogs/Town-TeleporterGuard.dialog
- +++ b/dialogs/Town-TeleporterGuard.dialog
- @@ -26,9 +26,8 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_town-teleporterguard")) then
- + if (not has_met("Town-TeleporterGuard")) then
- show(0)
- - add_cookie("met_town-teleporterguard")
- end
- show(99)
- }
- diff --git a/dialogs/Tybalt.dialog b/dialogs/Tybalt.dialog
- index 8355c2d..9c6e55d 100644
- --- a/dialogs/Tybalt.dialog
- +++ b/dialogs/Tybalt.dialog
- @@ -26,14 +26,13 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_tybalt")) then
- + if (not has_met("Tybalt")) then
- show(0)
- - add_cookie("met_tybalt")
- else show(2) end
- if (has_cookie("tux_has_joined_guard")) then
- hide(50, 54, 55, 56)
- - else end
- + end
- show(99)
- }
- @@ -63,7 +62,7 @@ LuaCode={
- npc_says(_"Sorry pal, but I don't think so. Only authorized personnel are permitted and that means members of the Red Guard.")
- npc_says(_"Talk to Spencer if you have any business inside. I cannot let you pass.")
- -- do we propose a bribe ?
- - if(not has_cookie("tybalt_bribe")) then show(50) else end
- + if (not has_cookie("tybalt_bribe")) then show(50) end
- end
- hide(2)
- }
- diff --git a/dialogs/WillGapes.dialog b/dialogs/WillGapes.dialog
- index 52710d3..4d3031f 100644
- --- a/dialogs/WillGapes.dialog
- +++ b/dialogs/WillGapes.dialog
- @@ -24,16 +24,15 @@ freedroid-discussion@lists.sourceforge.net
- Beginning of new chat dialog for character="XXXXX"
- EveryTime LuaCode={
- - if (not has_cookie("met_willgapes")) then
- + if (not has_met("WillGapes")) then
- npc_says(_"Don't come any closer! Or I'll turn you into scrap metal!")
- npc_says(_"Wait... You're not a robot. Who are you? What are you doing here?")
- - add_cookie("met_willgapes")
- show(1, 2, 3)
- elseif (has_quest(_"Gapes Gluttony")) and (not done_quest(_"Gapes Gluttony")) then
- if (has_item_backpack("Lunch in a Picnic Basket") > 0) then
- del_item_backpack("Lunch in a Picnic Basket")
- show (9)
- - else
- + else
- npc_says(_"Have you brought me some food?")
- tux_says(_"No, not yet.")
- npc_says(_"Hurry... I'm starting to feel weak.")
- diff --git a/dialogs/c-net.dialog b/dialogs/c-net.dialog
- index bbadf95..2ad5f65 100644
- --- a/dialogs/c-net.dialog
- +++ b/dialogs/c-net.dialog
- @@ -301,7 +301,7 @@ LuaCode={
- show(66)
- elseif (username =="lily") then -- no special files yet
- elseif (username =="cpain") then -- no special files yet
- - else end
- + end
- cli_says(terminal, "NO_WAIT")
- show(31) hide(10, 20, 30, 80, 99)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement