Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin R_HouseLab_propertyNote
- short PCSkipEquip
- short state
- if ( MenuMode )
- elseif ( OnActivate )
- Activate
- set state to 1 ; flag for activated
- set PCSkipEquip to 1
- endif
- if ( PCSkipEquip )
- else
- return
- endif
- set PCSkipEquip to 0
- ; your logic below
- ; MessageBox "This runs when activating or equipping the book!"
- if ( state ) ; activated
- set state to 0
- else ; equipped
- if ( R_HouseLab_noteTaken )
- else
- set R_HouseLab_noteTaken to 1
- endif
- endif
- short i1
- set i1 to ( GetJournalIndex "R_HouseLab_TheAshpileMatter" )
- if ( i1 == 10 )
- Journal "R_HouseLab_TheAshpileMatter" 80
- elseif ( i1 == 30 )
- Journal "R_HouseLab_TheAshpileMatter" 40
- elseif ( i1 == 60 )
- Journal "R_HouseLab_TheAshpileMatter" 70
- else
- set i1 to 0
- endif
- if ( i1 )
- AddTopic "Legion corpse"
- endif
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement