Skip to content

Commit 9e13f4e

Browse files
committed
Merge branch 'MSR-Alpha' into MSR-Scripts
2 parents bcf5509 + cbd9f42 commit 9e13f4e

File tree

107 files changed

+1279
-1029
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1279
-1029
lines changed

scripts/NPCs/g_adventurer.script

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@
144144
setvard CONVO_TYPE intro
145145
setvard CHAT_STEPS 3
146146
setvard CHAT_STEP 0
147-
setvard CHAT_STEP1 "Ah, hello there. Ive been honing my skills here for awhile now."
147+
setvard CHAT_STEP1 "Ah, hello there. I've been honing my skills here for awhile now."
148148
setvard CHAT_DELAY_STEP1 5.01
149149
setvard CHAT_SOUND1 voices/jerdid/Jerdid_1.wav
150-
setvard CHAT_STEP2 "However, Im hearing far more howls than Id feel comfortable dealing with... Should there be wolves attached to them all."
150+
setvard CHAT_STEP2 "However, I'm hearing far more howls than I'd feel comfortable dealing with... Should there be wolves attached to them all."
151151
setvard CHAT_DELAY_STEP2 8.19
152152
setvard CHAT_SOUND2 voices/jerdid/Jerdid_2.wav
153153
setvard CHAT_STEP3 "If you'd be so kind as to stay a moment and assist me, I'd would be forever grateful."
@@ -258,7 +258,7 @@
258258
setvard CONVO_TYPE none
259259
setvard QUEST_WINNER PARAM1
260260
playanim critical yes
261-
saytext Your assistance is greatly appreciated! Now stand-fast and be ready... Im sure theyve caught our scent by now.
261+
saytext Your assistance is greatly appreciated! Now stand-fast and be ready... I'm sure they've caught our scent by now.
262262
playsound 0 10 voices/jerdid/Jerdid_5.wav
263263
setvard IN_BATTLE 1
264264
usetrigger wolves_go

scripts/NPCs/lighthouse_keeper.script

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
setvard CHAT_STEP 0
8484
setvard BUSY_CHATTING 1
8585
setvard CHAT_STEP1 "Oh! Hello there!"
86-
setvard CHAT_STEP2 "Sorry for being so startled. Its 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."
8787
callevent chat_loop
8888

8989
local NEXT_CHAT CHAT_DELAY
@@ -105,7 +105,7 @@
105105
setvard CHAT_STEPS 2
106106
setvard CHAT_STEP 0
107107
setvard BUSY_CHATTING 1
108-
setvard CHAT_STEP1 "Its just me up here, and Im 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..."
109109
callevent build_task_string
110110
setvard CHAT_STEP2 TASK_STRING
111111
callevent chat_loop
@@ -122,7 +122,7 @@
122122
}
123123
if ( !DONE_GRAVE )
124124
{
125-
stradd TASK_STRING "tending Feldars [grave], "
125+
stradd TASK_STRING "tending Feldar's [grave], "
126126
local QUESTS_LEFT 1
127127
}
128128
if ( !DONE_CRYSTAL )
@@ -137,7 +137,7 @@
137137
}
138138
if ( !QUESTS_LEFT )
139139
{
140-
setvard TASK_STRING "But good young lads like yourself come and fix me up from time to time - so - Ive 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."
141141
callevent 2.0 resume_tending
142142
}
143143
}
@@ -179,10 +179,10 @@
179179
setvard CHAT_STEPS 4
180180
setvard CHAT_STEP 0
181181
setvard BUSY_CHATTING 1
182-
setvard CHAT_STEP1 "Well, theres a spider infestation in the caves below. Ive put it off for far too long, so..."
183-
setvard CHAT_STEP2 "...I figure by now theres 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."
184184
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? Id 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."
186186
setvard MENU_MODE confirm
187187
setvard MENU_QUEST spider
188188
setvard CONFIRM_STEP 4
@@ -234,7 +234,7 @@
234234
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."
235235
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..."
236236
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, Im sure itd 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."
238238
setvard MENU_MODE confirm
239239
setvard MENU_QUEST grave
240240
setvard CONFIRM_STEP 6
@@ -277,11 +277,11 @@
277277
setvard CHAT_STEPS 5
278278
setvard CHAT_STEP 0
279279
setvard BUSY_CHATTING 1
280-
setvard CHAT_STEP1 "Ah, well... The lighthouse heres 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."
281281
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 Ive seen crawling about lately, I just dont feel up to grabbing them myself!"
283-
setvard CHAT_STEP4 "If you could find me a good set, Ill reward ye handsomely."
284-
setvard CHAT_STEP5 "Otherwise we could wind up with a boat smashed up on the rocks, and thatd 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!"
285285
setvard MENU_MODE confirm
286286
setvard MENU_QUEST crystal
287287
setvard CONFIRM_STEP 4
@@ -295,7 +295,7 @@
295295
if ( DONE_FOOD )
296296
{
297297
playanim critical wave
298-
saytext Oh, someone already got me some - Im quite sated, thanks.
298+
saytext "Oh, someone already got me some - I'm quite sated, thanks."
299299
local EXIT_SUB 1
300300
}
301301
if !EXIT_SUB
@@ -323,9 +323,9 @@
323323
setvard CHAT_STEPS 3
324324
setvard CHAT_STEP 0
325325
setvard BUSY_CHATTING 1
326-
setvard CHAT_STEP1 "I... I dont think Ive 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..."
327327
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, Id 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."
329329
setvard MENU_MODE confirm
330330
setvard MENU_QUEST food
331331
setvard CONFIRM_STEP 3
@@ -351,7 +351,7 @@
351351
if ( MENU_QUEST equals grave )
352352
{
353353
setvard HIRED_GRAVE PARAM1
354-
saytext Thank you, oh so much. Come back here when youve done the deed and Ill reward you.
354+
saytext Thank you, oh so much. Come back here when you've done the deed and I'll reward you.
355355
offer PARAM1 item_fstatue
356356
}
357357

@@ -364,7 +364,7 @@
364364
if ( MENU_QUEST equals food )
365365
{
366366
setvard HIRED_FOOD PARAM1
367-
saytext Oh yes, please bring me something, Id be grateful beyond words.
367+
saytext "Oh yes, please bring me something, I'd be grateful beyond words."
368368
setvard APPLE_QUEST_ACTIVE 1
369369
}
370370

@@ -391,7 +391,7 @@
391391
setvard MENU_MODE normal
392392
quest set PARAM1 l 0
393393
playanim critical no
394-
saytext Well... Thats alright. At least youre some company... I guess.
394+
saytext "Well... That's alright. At least you're some company... I guess."
395395
callevent bchat_mouth_move
396396
setvard TENDING_HOUSE 1
397397
}
@@ -444,7 +444,7 @@
444444

445445
if ( !DONE_GRAVE )
446446
{
447-
local reg.mitem.title "Ask about Feldars Grave"
447+
local reg.mitem.title "Ask about Feldar's Grave"
448448
local reg.mitem.type callback
449449
local reg.mitem.callback say_grave
450450
menuitem.register
@@ -476,16 +476,16 @@
476476
//confirm quests
477477
if ( MENU_MODE equals confirm )
478478
{
479-
if ( MENU_QUEST equals spider ) local reg.mitem.title "Ill clear the eggs."
480-
if ( MENU_QUEST equals grave ) local reg.mitem.title "Ill visit the grave."
481-
if ( MENU_QUEST equals crystal ) local reg.mitem.title "Ill get the crystals."
482-
if ( MENU_QUEST equals food ) local reg.mitem.title "Ill 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."
483483

484484
local reg.mitem.type callback
485485
local reg.mitem.callback accept_quest
486486
menuitem.register
487487

488-
local reg.mitem.title "Sorry. Im busy."
488+
local reg.mitem.title "Sorry. I'm busy."
489489
local reg.mitem.type callback
490490
local reg.mitem.callback decline_quest
491491
menuitem.register
@@ -539,7 +539,7 @@
539539
if ( SCROLL_TOME == 2 ) offer PARAM1 scroll_ice_shield_lesser
540540
}
541541
if ( SCROLL_CHANCE == 2 ) callevent offer_basic_reward BASIC_WINNER
542-
saytext "Thank you so very much. Id 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."
543543
quest set PARAM1 l 0
544544
callevent 2.0 resume_tending
545545
}
@@ -551,7 +551,7 @@
551551
callevent face_speaker PARAM1
552552
callevent convo_anim
553553
offer PARAM1 gold $rand(10,15)
554-
saytext "Thank you so very much. Im sure hell rest easier now."
554+
saytext "Thank you so very much. I'm sure he'll rest easier now."
555555
quest set PARAM1 l 0
556556
callevent 2.0 resume_tending
557557
}
@@ -564,7 +564,7 @@
564564
callevent face_speaker PARAM1
565565
callevent convo_anim
566566
offer PARAM1 gold $rand(10,20)
567-
saytext "A crystal! Thank goodness! Im sure theyd 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."
568568
quest set PARAM1 l 0
569569
callevent 2.0 resume_tending
570570
}
@@ -599,7 +599,7 @@
599599
if ( CUR_QUEST equals food ) setvard HIRED_FOOD 0
600600
setvard MENU_MODE normal
601601
quest set PARAM1 l 0
602-
saytext Thats alright. Theres plenty else to do around here too, if youre interested.
602+
saytext "That's alright. There's plenty else to do around here too, if you're interested."
603603
callevent bchat_mouth_move
604604
setvard TENDING_HOUSE 1
605605
}
@@ -624,10 +624,10 @@ repeatdelay $randf(3,5)
624624
//player is already on a quest for me
625625
playanim critical pondering3
626626
local CUR_QUEST $get_quest_data(PARAM1,l)
627-
if ( CUR_QUEST equals spider ) saytext Didnt you say you were going to kill some spiders for me?
628-
if ( CUR_QUEST equals grave ) saytext Didnt you say you were going to tend Feldars grave for me?
629-
if ( CUR_QUEST equals crystal ) saytext Didnt you say you were going to get some crystals for me?
630-
if ( CUR_QUEST equals food ) saytext Didnt 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?"
631631
setvard MENU_MODE confirm
632632
setvard MENU_QUEST CUR_QUEST
633633
menu.open PARAM1

scripts/a3/nightmare_a3TC2.script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// |Store name| |Item name| |Quantity| |cost|
1717
addstoreitem STORENAME pack_archersquiver 1 0
1818
addstoreitem STORENAME proj_arrow_poison GIVE_QUANTITY 0 0 60
19-
if ( TC_NPLAYERS > 6 )
19+
if ( TC_NPLAYERS > 1 )
2020
{
2121
//add_great_item 50 //this did nothing
2222
callevent get_quantity 30 300 30 300

scripts/a3/nightmare_a3TC3.script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
if ( GIVE_PRIZE )
3030
{
3131
addstoreitem STORENAME scroll_fire_wall 1 0
32-
if TC_NPLAYERS > 5
32+
if TC_NPLAYERS > 1
3333
addstoreitem STORENAME scroll2_fire_wall 1 0
3434
}
3535
callevent get_chance_rare 300

scripts/aleyesu/final_chest.script

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
addstoreitem STORENAME NEWEST_CHARM 1 0
2626

27-
if ( $rand(1,10) == 10 ) addstoreitem STORENAME armor_paura 1 0
27+
if ( $rand(1,10) == 1 ) addstoreitem STORENAME armor_paura 1 0
2828

2929
//if ( $rand(1,2) == 1 ) addstoreitem STORENAME key_blue 1 0
3030
local L_LIST $rand(0,1)
@@ -36,14 +36,14 @@
3636
local RND_PICK $rand(0,L_LIST)
3737
local SCROLL_NAME $get_token(L_LIST,RND_PICK)
3838
addstoreitem STORENAME SCROLL_NAME 1 0
39-
if TC_NPLAYERS >= 4
39+
if TC_NPLAYERS >= 2
4040
callevent add_epic_item 100%
4141
local N_SCROLLS $get_token_amt(L_LIST)
4242
subtract N_SCROLLS 1
4343
local RND_PICK $rand(0,L_LIST)
4444
local SCROLL_NAME $get_token(L_LIST,RND_PICK)
4545
addstoreitem STORENAME SCROLL_NAME 1 0
46-
if TC_NPLAYERS >= 8
46+
if TC_NPLAYERS >= 4
4747
local N_SCROLLS $get_token_amt(L_LIST)
4848
subtract N_SCROLLS 1
4949
local RND_PICK $rand(0,L_LIST)

scripts/aleyesu/k_cult_chest.script

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@
1515

1616
callevent add_good_item
1717
callevent add_good_item
18-
19-
if TC_NPLAYERS >= 4
20-
2118
callevent add_great_item
2219

23-
if TC_NPLAYERS >=8
20+
if TC_NPLAYERS >= 2
2421
callevent add_great_item
2522
}

scripts/aleyesu/snakeman_chest.script

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
local RND_PICK $rand(0,SCROLL_LIST)
2020
local SCROLL_NAME $get_token(SCROLL_LIST,RND_PICK)
2121
addstoreitem STORENAME SCROLL_NAME 1 0
22-
if TC_NPLAYERS >= 4
22+
if TC_NPLAYERS >= 2
2323
local N_SCROLLS $get_token_amt(SCROLL_LIST)
2424
subtract N_SCROLLS 1
2525
local RND_PICK $rand(0,SCROLL_LIST)
2626
local SCROLL_NAME $get_token(SCROLL_LIST,RND_PICK)
2727
addstoreitem STORENAME SCROLL_NAME 1 0
28-
if TC_NPLAYERS >= 8
28+
if TC_NPLAYERS >= 4
2929
local N_SCROLLS $get_token_amt(SCROLL_LIST)
3030
subtract N_SCROLLS 1
3131
local RND_PICK $rand(0,SCROLL_LIST)

scripts/aleyesu/spider_chest.script

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#include chests/gold_10
22

3-
{
4-
eventname treasure_spawn
3+
{ treasure_spawn
54

65
gold 50
76
setvar STORENAME alyspider
87
}
98

109
#include items/base_treasurechest
1110

12-
{
13-
eventname chest_additems
11+
{ chest_additems
1412

1513
// |Store name| |Item name| |Quant| |cost| |0?| |Stack?|
1614
addstoreitem STORENAME mana_mpotion 1 0
@@ -26,7 +24,7 @@
2624
if ( $rand(1,20) == 1 ) addstoreitem STORENAME shields_lironshield 1 0
2725
if ( $rand(1,10) == 1 ) addstoreitem STORENAME armor_knight 1 0
2826

29-
if ( $item_exists(TC_CHEST_USER,bows_crossbow_heavy33) ) addstoreitem STORENAME proj_bolt_steal 50 0 0 50
27+
if ( $item_exists(TC_CHEST_USER,bows_crossbow_heavy33) ) addstoreitem STORENAME proj_bolt_steel 50 0 0 50
3028
addstoreitem STORENAME mana_prot_spiders
3129

3230
}

scripts/bloodrose/key_chest.script

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@
88

99
#include items/base_treasurechest
1010

11-
{
12-
eventname treasure_spawn
11+
{ treasure_spawn
1312

1413
gold $rand(13,26)
1514
name an|Old Dresser
1615
setmodel props/Xen_furniture2.mdl
1716
setidleanim ANIM_IDLE
1817
}
1918

20-
{
21-
eventname trade_success
19+
{ trade_success
2220

2321
//Need a squeak sound
2422

@@ -29,8 +27,7 @@
2927
setidleanim openidle
3028
}
3129

32-
{
33-
eventname chest_additems
30+
{ chest_additems
3431

3532
// |Store name| |Item name| |Quantity| |cost|
3633
addstoreitem cupboard01 health_mpotion 1 0

scripts/calruin/chest_qspider.script

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,21 @@
88

99
{ treasure_spawn
1010

11-
gold $rand(4,10)
11+
gold $rand(4,10)
1212
}
1313

1414
{ chest_additems
1515

16-
// |Store name| |Item name| |Quantity| |cost|
17-
addstoreitem STORENAME health_lpotion $rand(1,5) 0
18-
addstoreitem STORENAME item_torch $rand(1,2) 0
19-
addstoreitem STORENAME swords_scimitar 1 0
20-
addstoreitem STORENAME pack_archersquiver 1 0
21-
addstoreitem STORENAME bows_longbow 1 0
22-
addstoreitem STORENAME proj_arrow_jagged 30 0 0 30
23-
24-
if ( $rand(1,25) == 1 ) addstoreitem STORENAME bows_swiftbow 1 0
16+
// |Store name| |Item name| |Quantity| |cost|
17+
addstoreitem STORENAME health_lpotion $rand(1,5) 0
18+
addstoreitem STORENAME item_torch $rand(1,2) 0
19+
addstoreitem STORENAME swords_scimitar 1 0
20+
addstoreitem STORENAME pack_archersquiver 1 0
21+
addstoreitem STORENAME bows_longbow 1 0
22+
addstoreitem STORENAME proj_arrow_jagged 30 0 0 30
2523

24+
if ( $rand(1,25) == 1 ) addstoreitem STORENAME bows_swiftbow 1 0
2625

2726
if $rand(1,25) == 1
28-
addstoreitem STORENAME proj_arrow_gholy 15 0 0 15
27+
addstoreitem STORENAME proj_arrow_gholy 15 0 0 15
2928
}

0 commit comments

Comments
 (0)