T_ScCrea_MothLute
Tamriel_Data.esm
Variables
1
Local Variables
state
Source
1begin T_ScCrea_MothLute ; This moth is awake both at night - and day time
2
3short state ; 0 = normal, 1 = collected, 2 = disabled due to daytime (not used for this moth)
4
5if ( state == 1 )
6 SetDelete 1 ; Remove the creature permanently after it's been collected
7 return
8endif
9
10if ( OnActivate == 1 )
11 SetHealth 0
12 Disable
13 Player->additem "T_IngCrea_MothWingMw_03" 2
14 PlaySoundVP, "Item Ingredient Up", 0.75, 1.0
15 MessageBox "2 Lute Moth Wings have been added to your inventory."
16 Set state to 1
17 return
18endif
19
20end