TR_m3_dwemeroreprobe_scr
TR_Mainland.esm
Variables
6
Local Variables
ebonyfound
adamantiumfound
glassfound
goldfound
totalfound
OnPCEquip
Source
1begin TR_m3_dwemeroreprobe_scr
2
3short ebonyfound
4short adamantiumfound
5short glassfound
6short goldfound
7short totalfound
8short OnPCEquip
9
10if ( OnPCEquip )
11 set OnPCEquip to 0
12
13 if ( player->GetItemCount "ingred_adamantium_ore_01" > 0 )
14 if ( adamantiumfound == 0 )
15 MessageBox "The probe emits a series of flashes upon coming in contact with the adamantium ore."
16 Journal TR_m3_EEC_ebony 40
17 set adamantiumfound to 1
18 set totalfound to ( totalfound + 1 )
19 endif
20 endif
21
22 if ( player->GetItemCount "ingred_raw_ebony_01" > 0 )
23 if ( ebonyfound == 0 )
24 MessageBox "The probe emits a series of flashes upon coming in contact with the raw ebony."
25 Journal TR_m3_EEC_ebony 41
26 set ebonyfound to 1
27 set totalfound to ( totalfound + 1 )
28 endif
29 endif
30
31 if ( player->GetItemCount "ingred_raw_glass_01" > 0 )
32 if ( glassfound == 0 )
33 MessageBox "The probe emits a series of flashes upon coming in contact with the raw glass."
34 Journal TR_m3_EEC_ebony 42
35 set glassfound to 1
36 set totalfound to ( totalfound + 1 )
37 endif
38 endif
39
40 if ( player->GetItemCount "T_IngMine_OreGold_01" > 0 )
41 if ( goldfound == 0 )
42 MessageBox "The probe emits a series of flashes upon coming in contact with the raw gold."
43 Journal TR_m3_EEC_ebony 43
44 set goldfound to 1
45 set totalfound to ( totalfound + 1 )
46 endif
47 endif
48
49 if ( totalfound == 4 )
50 Journal TR_m3_EEC_ebony 50
51 set totalfound to 5
52 endif
53endif
54
55end