Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin mort_randomizer
- short i
- short n
- long test
- if ( mort_randomized_done == 1 )
- StopScript mort_randomizer
- Return
- endif
- set test to test + 1
- set n to Random 50
- if ( n == rand_aurielshield )
- elseif ( n == rand_denstagmer )
- elseif ( n == rand_dragonbone )
- elseif ( n == rand_eleidon )
- elseif ( n == rand_fang )
- elseif ( n == rand_hasedoki )
- elseif ( n == rand_mentor )
- elseif ( n == rand_phynaster )
- elseif ( n == rand_randagulf_l )
- elseif ( n == rand_randagulf_r )
- elseif ( n == rand_saviors )
- elseif ( n == rand_scourge )
- elseif ( n == rand_shadows )
- elseif ( n == rand_tenpace )
- elseif ( n == rand_vampring )
- elseif ( n == rand_volendrung )
- elseif ( n == rand_shimsil )
- elseif ( n == rand_magebane )
- elseif ( n == rand_slurring )
- elseif ( n == rand_shadowsting )
- elseif ( n == rand_whitewalker )
- elseif ( n == rand_d_battleaxe )
- elseif ( n == rand_d_boots )
- elseif ( n == rand_d_claymore )
- elseif ( n == rand_d_club )
- elseif ( n == rand_d_cuirass )
- elseif ( n == rand_d_dagger )
- elseif ( n == rand_d_daikatana )
- elseif ( n == rand_d_facegod )
- elseif ( n == rand_d_faceinsp )
- elseif ( n == rand_d_faceterror )
- elseif ( n == rand_d_gaunt_l )
- elseif ( n == rand_d_gaunt_r )
- elseif ( n == rand_d_greaves )
- elseif ( n == rand_d_katana )
- elseif ( n == rand_d_longbow )
- elseif ( n == rand_d_longsword )
- elseif ( n == rand_d_mace )
- elseif ( n == rand_d_pauldron_l )
- elseif ( n == rand_d_pauldron_r )
- elseif ( n == rand_d_shield )
- elseif ( n == rand_d_towershield )
- elseif ( n == rand_d_shortsword )
- elseif ( n == rand_d_spear )
- elseif ( n == rand_d_staff )
- elseif ( n == rand_d_tanto )
- elseif ( n == rand_d_wakizashi )
- elseif ( n == rand_d_waraxe )
- elseif ( n == rand_d_warhammer )
- else
- if ( i == 1 )
- set rand_aurielshield to n
- elseif ( i == 2 )
- set rand_denstagmer to n
- elseif ( i == 3 )
- set rand_dragonbone to n
- elseif ( i == 4 )
- set rand_eleidon to n
- elseif ( i == 5 )
- set rand_fang to n
- elseif ( i == 6 )
- set rand_hasedoki to n
- elseif ( i == 7 )
- set rand_mentor to n
- elseif ( i == 8 )
- set rand_randagulf_r to n
- elseif ( i == 9 )
- set rand_phynaster to n
- elseif ( i == 10 )
- set rand_saviors to n
- elseif ( i == 11 )
- set rand_scourge to n
- elseif ( i == 12 )
- set rand_shadows to n
- elseif ( i == 13 )
- set rand_tenpace to n
- elseif ( i == 14 )
- set rand_vampring to n
- elseif ( i == 15 )
- set rand_shadowsting to n
- elseif ( i == 16 )
- set rand_shimsil to n
- elseif ( i == 17 )
- set rand_slurring to n
- elseif ( i == 18 )
- set rand_whitewalker to n
- elseif ( i == 19 )
- set rand_d_battleaxe to n
- elseif ( i == 20 )
- set rand_d_boots to n
- elseif ( i == 21 )
- set rand_d_claymore to n
- elseif ( i == 22 )
- set rand_d_club to n
- elseif ( i == 23 )
- set rand_d_cuirass to n
- elseif ( i == 24 )
- set rand_d_dagger to n
- elseif ( i == 25 )
- set rand_d_daikatana to n
- elseif ( i == 26 )
- set rand_d_facegod to n
- elseif ( i == 27 )
- set rand_d_faceinsp to n
- elseif ( i == 28 )
- set rand_d_faceterror to n
- elseif ( i == 29 )
- set rand_d_gaunt_l to n
- elseif ( i == 30 )
- set rand_d_gaunt_r to n
- elseif ( i == 31 )
- set rand_d_greaves to n
- elseif ( i == 32 )
- set rand_d_katana to n
- elseif ( i == 33 )
- set rand_d_longbow to n
- elseif ( i == 34 )
- set rand_d_longsword to n
- elseif ( i == 35 )
- set rand_d_mace to n
- elseif ( i == 36 )
- set rand_d_pauldron_l to n
- elseif ( i == 37 )
- set rand_d_pauldron_r to n
- elseif ( i == 38 )
- set rand_d_shield to n
- elseif ( i == 39 )
- set rand_d_shortsword to n
- elseif ( i == 40 )
- set rand_d_spear to n
- elseif ( i == 41 )
- set rand_d_staff to n
- elseif ( i == 42 )
- set rand_d_tanto to n
- elseif ( i == 43 )
- set rand_d_towershield to n
- elseif ( i == 44 )
- set rand_d_wakizashi to n
- elseif ( i == 45 )
- set rand_d_waraxe to n
- elseif ( i == 46 )
- set rand_d_warhammer to n
- elseif ( i == 47 )
- set rand_magebane to n
- elseif ( i == 48 )
- set rand_volendrung to n
- elseif ( i == 49 )
- set rand_randagulf_l to n
- endif
- set i to i + 1
- endif
- DisablePlayerControls
- if ( i > 49 ) ; don't forget to update this when you add items ya dingus
- EnablePlayerControls
- bm_chest_eddard_03->AddItem "mort_count_item" 1
- Contain_bm_hollowstump->AddItem "mort_count_item" 2
- "contain_corpse_pop00"->AddItem "mort_count_item" 3
- "de_p_chest_balfell"->AddItem "mort_count_item" 4
- "de_r_chest_01_tel_fyr"->AddItem "mort_count_item" 5
- "divayth_fyr_closet"->AddItem "mort_count_item" 6
- "dwrv_chest_divayth07"->AddItem "mort_count_item" 7
- "dwrv_closet_dragon"->AddItem "mort_count_item" 8
- "urn_ash_brinne00_unique"->AddItem "mort_count_item" 9
- "urn_ash_nan00_unique"->AddItem "mort_count_item" 10
- "golena sadri_a"->AddItem "mort_count_item" 11
- "delvam andarys"->AddItem "mort_count_item" 12
- "koffutto gilgar"->AddItem "mort_count_item" 13
- mort_rat1->AddItem "mort_count_item" 14
- mort_rat2->AddItem "mort_count_item" 15
- mort_chest_gothren->AddItem "mort_count_item" 16
- "fryssa"->AddItem "mort_count_item" 17
- mort_rat4->AddItem "mort_count_item" 18
- "Dagoth Irvyn"->AddItem "mort_count_item" 19
- skeleton_aldredaynia->AddItem "mort_count_item" 20
- mort_rat7->AddItem "mort_count_item" 21
- dwrv_chest00_kjeld->AddItem "mort_count_item" 22
- mort_rat8->AddItem "mort_count_item" 23
- daedroth_menta_unique->AddItem "mort_count_item" 24
- mort_rat9->AddItem "mort_count_item" 25
- mort_rat10->AddItem "mort_count_item" 26
- mort_rat11->AddItem "mort_count_item" 27
- mort_rat12->AddItem "mort_count_item" 28
- mort_rat13->AddItem "mort_count_item" 29
- "lich_barilzar"->AddItem "mort_count_item" 30
- mort_rat14->AddItem "mort_count_item" 31
- mort_rat15->AddItem "mort_count_item" 32
- "galos farethi"->AddItem "mort_count_item" 33
- "thief dead 01"->AddItem "mort_count_item" 34
- "relas arothan"->AddItem "mort_count_item" 35
- "dead de male_berandas"->AddItem "mort_count_item" 36
- "severa magia"->AddItem "mort_count_item" 37
- mort_chest_udyr->AddItem "mort_count_item" 38
- "wizard dead 01"->AddItem "mort_count_item" 39
- mort_rat16->AddItem "mort_count_item" 40
- "mort_chest_dren"->AddItem "mort_count_item" 41
- "mort_chest_telvanni"->AddItem "mort_count_item" 42
- "mort_chest_hlaalu"->AddItem "mort_count_item" 43
- "mort_chest_redoran"->AddItem "mort_count_item" 44
- "Gathal Llethri"->AddItem "mort_count_item" 45
- "com_chest_02_durgok"->AddItem "mort_count_item" 46
- "bolvyn venim"->AddItem "mort_count_item" 47
- "dreugh_koal"->AddItem "mort_count_item" 48
- "mort_chest_aundae"->AddItem "mort_count_item" 49
- set mort_randomized_done to 1
- StopScript mort_randomizer
- endif
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement