You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/NPCs/lighthouse_keeper.script
+32-32Lines changed: 32 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@
83
83
setvard CHAT_STEP 0
84
84
setvard BUSY_CHATTING 1
85
85
setvard CHAT_STEP1 "Oh! Hello there!"
86
-
setvard CHAT_STEP2 "Sorry for being so startled. It�s not very often I get visitors way up here."
86
+
setvard CHAT_STEP2 "Sorry for being so startled. It's not very often I get visitors way up here."
87
87
callevent chat_loop
88
88
89
89
local NEXT_CHAT CHAT_DELAY
@@ -105,7 +105,7 @@
105
105
setvard CHAT_STEPS 2
106
106
setvard CHAT_STEP 0
107
107
setvard BUSY_CHATTING 1
108
-
setvard CHAT_STEP1 "It�s just me up here, and I�m getting on in years, so I often neglect many tasks..."
108
+
setvard CHAT_STEP1 "It's just me up here, and I'm getting on in years, so I often neglect many tasks..."
109
109
callevent build_task_string
110
110
setvard CHAT_STEP2 TASK_STRING
111
111
callevent chat_loop
@@ -122,7 +122,7 @@
122
122
}
123
123
if ( !DONE_GRAVE )
124
124
{
125
-
stradd TASK_STRING "tending Feldar�s [grave], "
125
+
stradd TASK_STRING "tending Feldar's [grave], "
126
126
local QUESTS_LEFT 1
127
127
}
128
128
if ( !DONE_CRYSTAL )
@@ -137,7 +137,7 @@
137
137
}
138
138
if ( !QUESTS_LEFT )
139
139
{
140
-
setvard TASK_STRING "But good young lads like yourself come and fix me up from time to time - so - I�ve nothing that needs doing just now."
140
+
setvard TASK_STRING "But good young lads like yourself come and fix me up from time to time - so - I've nothing that needs doing just now."
141
141
callevent 2.0 resume_tending
142
142
}
143
143
}
@@ -179,10 +179,10 @@
179
179
setvard CHAT_STEPS 4
180
180
setvard CHAT_STEP 0
181
181
setvard BUSY_CHATTING 1
182
-
setvard CHAT_STEP1 "Well, there�s a spider infestation in the caves below. I�ve put it off for far too long, so..."
183
-
setvard CHAT_STEP2 "...I figure by now there�s got to be a nest and some very sizable eggs."
182
+
setvard CHAT_STEP1 "Well, there's a spider infestation in the caves below. I've put it off for far too long, so..."
183
+
setvard CHAT_STEP2 "...I figure by now there's got to be a nest and some very sizable eggs."
184
184
setvard CHAT_STEP3 "If those hatch I could be in for more than a little trouble!"
185
-
setvard CHAT_STEP4 "Think you could go down there and take care of that for me? I�d be ever so grateful."
185
+
setvard CHAT_STEP4 "Think you could go down there and take care of that for me? I'd be ever so grateful."
186
186
setvard MENU_MODE confirm
187
187
setvard MENU_QUEST spider
188
188
setvard CONFIRM_STEP 4
@@ -234,7 +234,7 @@
234
234
setvard CHAT_STEP3 "He loved this old place, so we made his grave just around the back, ... I used to visit it quite often, but lately it's been... Strange."
235
235
setvard CHAT_STEP4 "He had a favorite figurine of The Goddess Felewyn, you see. His widow brought it to me recently. I think he wanted it buried with him..."
236
236
setvard CHAT_STEP5 "Or at least that would explain the... Unrest... Outside."
237
-
setvard CHAT_STEP6 "You look like you might be able to brave the denizens around there. If you could bring this statuette there, I�m sure it�d all quiet down."
237
+
setvard CHAT_STEP6 "You look like you might be able to brave the denizens around there. If you could bring this statuette there, I'm sure it'd all quiet down."
238
238
setvard MENU_MODE confirm
239
239
setvard MENU_QUEST grave
240
240
setvard CONFIRM_STEP 6
@@ -277,11 +277,11 @@
277
277
setvard CHAT_STEPS 5
278
278
setvard CHAT_STEP 0
279
279
setvard BUSY_CHATTING 1
280
-
setvard CHAT_STEP1 "Ah, well... The lighthouse here�s been a bit flickery as of late - I think she needs some new crystals."
280
+
setvard CHAT_STEP1 "Ah, well... The lighthouse here's been a bit flickery as of late - I think she needs some new crystals."
281
281
setvard CHAT_STEP2 "The light crystals that power the magic core are fairly common in these parts..."
282
-
setvard CHAT_STEP3 "But with all the things I�ve seen crawling about lately, I just don�t feel up to grabbing them myself!"
283
-
setvard CHAT_STEP4 "If you could find me a good set, I�ll reward ye handsomely."
284
-
setvard CHAT_STEP5 "Otherwise we could wind up with a boat smashed up on the rocks, and that�d be bad for business!"
282
+
setvard CHAT_STEP3 "But with all the things I've seen crawling about lately, I just don't feel up to grabbing them myself!"
283
+
setvard CHAT_STEP4 "If you could find me a good set, I'll reward ye handsomely."
284
+
setvard CHAT_STEP5 "Otherwise we could wind up with a boat smashed up on the rocks, and that'd be bad for business!"
285
285
setvard MENU_MODE confirm
286
286
setvard MENU_QUEST crystal
287
287
setvard CONFIRM_STEP 4
@@ -295,7 +295,7 @@
295
295
if ( DONE_FOOD )
296
296
{
297
297
playanim critical wave
298
-
saytext Oh, someone already got me some - I�m quite sated, thanks.
298
+
saytext "Oh, someone already got me some - I'm quite sated, thanks."
299
299
local EXIT_SUB 1
300
300
}
301
301
if !EXIT_SUB
@@ -323,9 +323,9 @@
323
323
setvard CHAT_STEPS 3
324
324
setvard CHAT_STEP 0
325
325
setvard BUSY_CHATTING 1
326
-
setvard CHAT_STEP1 "I... I don�t think I�ve actually eaten a thing in a week, now that I think of it..."
326
+
setvard CHAT_STEP1 "I... I don't think I've actually eaten a thing in a week, now that I think of it..."
327
327
setvard CHAT_STEP2 "...and I really try not to, believe me. Too busy for food and all..."
328
-
setvard CHAT_STEP3 "If you could just bring me an apple or two, anything really, I�d be so very grateful."
328
+
setvard CHAT_STEP3 "If you could just bring me an apple or two, anything really, I'd be so very grateful."
329
329
setvard MENU_MODE confirm
330
330
setvard MENU_QUEST food
331
331
setvard CONFIRM_STEP 3
@@ -351,7 +351,7 @@
351
351
if ( MENU_QUEST equals grave )
352
352
{
353
353
setvard HIRED_GRAVE PARAM1
354
-
saytext Thank you, oh so much. Come back here when you�ve done the deed and I�ll reward you.
354
+
saytext Thank you, oh so much. Come back here when you've done the deed and I'll reward you.
355
355
offer PARAM1 item_fstatue
356
356
}
357
357
@@ -364,7 +364,7 @@
364
364
if ( MENU_QUEST equals food )
365
365
{
366
366
setvard HIRED_FOOD PARAM1
367
-
saytext Oh yes, please bring me something, I�d be grateful beyond words.
367
+
saytext "Oh yes, please bring me something, I'd be grateful beyond words."
368
368
setvard APPLE_QUEST_ACTIVE 1
369
369
}
370
370
@@ -391,7 +391,7 @@
391
391
setvard MENU_MODE normal
392
392
quest set PARAM1 l 0
393
393
playanim critical no
394
-
saytext Well... That�s alright. At least you�re some company... I guess.
394
+
saytext "Well... That's alright. At least you're some company... I guess."
395
395
callevent bchat_mouth_move
396
396
setvard TENDING_HOUSE 1
397
397
}
@@ -444,7 +444,7 @@
444
444
445
445
if ( !DONE_GRAVE )
446
446
{
447
-
local reg.mitem.title "Ask about Feldar�s Grave"
447
+
local reg.mitem.title "Ask about Feldar's Grave"
448
448
local reg.mitem.type callback
449
449
local reg.mitem.callback say_grave
450
450
menuitem.register
@@ -476,16 +476,16 @@
476
476
//confirm quests
477
477
if ( MENU_MODE equals confirm )
478
478
{
479
-
if ( MENU_QUEST equals spider ) local reg.mitem.title "I�ll clear the eggs."
480
-
if ( MENU_QUEST equals grave ) local reg.mitem.title "I�ll visit the grave."
481
-
if ( MENU_QUEST equals crystal ) local reg.mitem.title "I�ll get the crystals."
482
-
if ( MENU_QUEST equals food ) local reg.mitem.title "I�ll bring some apples."
479
+
if ( MENU_QUEST equals spider ) local reg.mitem.title "I'll clear the eggs."
480
+
if ( MENU_QUEST equals grave ) local reg.mitem.title "I'll visit the grave."
481
+
if ( MENU_QUEST equals crystal ) local reg.mitem.title "I'll get the crystals."
482
+
if ( MENU_QUEST equals food ) local reg.mitem.title "I'll bring some apples."
483
483
484
484
local reg.mitem.type callback
485
485
local reg.mitem.callback accept_quest
486
486
menuitem.register
487
487
488
-
local reg.mitem.title "Sorry. I�m busy."
488
+
local reg.mitem.title "Sorry. I'm busy."
489
489
local reg.mitem.type callback
490
490
local reg.mitem.callback decline_quest
491
491
menuitem.register
@@ -539,7 +539,7 @@
539
539
if ( SCROLL_TOME == 2 ) offer PARAM1 scroll_ice_shield_lesser
540
540
}
541
541
if ( SCROLL_CHANCE == 2 ) callevent offer_basic_reward BASIC_WINNER
542
-
saytext "Thank you so very much. I�d hate to have a swarm of eight leggeds creeping up here."
542
+
saytext "Thank you so very much. I'd hate to have a swarm of eight leggeds creeping up here."
543
543
quest set PARAM1 l 0
544
544
callevent 2.0 resume_tending
545
545
}
@@ -551,7 +551,7 @@
551
551
callevent face_speaker PARAM1
552
552
callevent convo_anim
553
553
offer PARAM1 gold $rand(10,15)
554
-
saytext "Thank you so very much. I�m sure he�ll rest easier now."
554
+
saytext "Thank you so very much. I'm sure he'll rest easier now."
555
555
quest set PARAM1 l 0
556
556
callevent 2.0 resume_tending
557
557
}
@@ -564,7 +564,7 @@
564
564
callevent face_speaker PARAM1
565
565
callevent convo_anim
566
566
offer PARAM1 gold $rand(10,20)
567
-
saytext "A crystal! Thank goodness! I�m sure they�d hang me if we had another... Accident."
567
+
saytext "A crystal! Thank goodness! I'm sure they'd hang me if we had another... Accident."
568
568
quest set PARAM1 l 0
569
569
callevent 2.0 resume_tending
570
570
}
@@ -599,7 +599,7 @@
599
599
if ( CUR_QUEST equals food ) setvard HIRED_FOOD 0
600
600
setvard MENU_MODE normal
601
601
quest set PARAM1 l 0
602
-
saytext That�s alright. There�s plenty else to do around here too, if you�re interested.
602
+
saytext "That's alright. There's plenty else to do around here too, if you're interested."
603
603
callevent bchat_mouth_move
604
604
setvard TENDING_HOUSE 1
605
605
}
@@ -624,10 +624,10 @@ repeatdelay $randf(3,5)
624
624
//player is already on a quest for me
625
625
playanim critical pondering3
626
626
local CUR_QUEST $get_quest_data(PARAM1,l)
627
-
if ( CUR_QUEST equals spider ) saytext Didn�t you say you were going to kill some spiders for me?
628
-
if ( CUR_QUEST equals grave ) saytext Didn�t you say you were going to tend Feldar�s grave for me?
629
-
if ( CUR_QUEST equals crystal ) saytext Didn�t you say you were going to get some crystals for me?
630
-
if ( CUR_QUEST equals food ) saytext Didn�t you say you were going to get me some food?
627
+
if ( CUR_QUEST equals spider ) saytext "Didn't you say you were going to kill some spiders for me?"
628
+
if ( CUR_QUEST equals grave ) saytext "Didn't you say you were going to tend Feldar's grave for me?"
629
+
if ( CUR_QUEST equals crystal ) saytext "Didn't you say you were going to get some crystals for me?"
630
+
if ( CUR_QUEST equals food ) saytext "Didn't you say you were going to get me some food?"
0 commit comments