forked from Isaya/bg1ub
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: dark0dave <[email protected]>
- Loading branch information
Showing
5 changed files
with
663 additions
and
653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
*2da text eol=crlf | ||
*baf text eol=crlf | ||
*d text eol=crlf | ||
*tp2 text eol=crlf | ||
*tph text eol=crlf | ||
*tra text eol=crlf | ||
*txt text eol=crlf | ||
*md text eol=crlf | ||
*ini text eol=crlf | ||
*html text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,73 @@ | ||
//if died while blue circle and gems were not put into eyes | ||
IF | ||
Die() | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
THEN | ||
RESPONSE #100 | ||
Unlock("A6StatueRightEye") | ||
Unlock("A6StatueLeftEye") | ||
ActionOverride("A6StatueRightEye",DestroyItem("abgfEyeR")) | ||
ActionOverride("A6StatueLeftEye",DestroyItem("abgfEyeL")) | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) //3 = not in eyes | ||
END | ||
//if turned hostile and gems were not put into the eyes | ||
IF | ||
Allegiance(Myself,ENEMY) | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
THEN | ||
RESPONSE #100 | ||
Unlock("A6StatueRightEye") | ||
Unlock("A6StatueLeftEye") | ||
ActionOverride("A6StatueRightEye",DestroyItem("abgfEyeR")) | ||
ActionOverride("A6StatueLeftEye",DestroyItem("abgfEyeL")) | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) //3 = not in eyes | ||
Attack(NearestEnemyOf(Myself)) | ||
END | ||
//initiate with player if pickpocketed | ||
IF | ||
See([PC]) | ||
Range(LastSeenBy,4) | ||
!HasItem("abgfEyeL",Myself) | ||
!HasItem("abgfEyeR",Myself) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
Global("ab_TalkAbouMissingGems","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue([PC]) | ||
END | ||
IF | ||
See([PC]) | ||
Range(LastSeenBy,4) | ||
!HasItem("abgfEyeL",Myself) | ||
HasItem("abgfEyeR",Myself) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
!Global("ab_TalkAbouMissingGems","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue([PC]) | ||
END | ||
IF | ||
See([PC]) | ||
Range(LastSeenBy,4) | ||
HasItem("abgfEyeL",Myself) | ||
!HasItem("abgfEyeR",Myself) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
!Global("ab_TalkAbouMissingGems","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue([PC]) | ||
END | ||
//return to spot if tried to talk and player ran out of range | ||
IF | ||
See([PC]) | ||
!Range(LastSeenBy,4) | ||
THEN | ||
RESPONSE #100 | ||
ClearActions(Myself) | ||
MoveToPoint([641.2713]) | ||
//if died while blue circle and gems were not put into eyes | ||
IF | ||
Die() | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
THEN | ||
RESPONSE #100 | ||
Unlock("A6StatueRightEye") | ||
Unlock("A6StatueLeftEye") | ||
ActionOverride("A6StatueRightEye",DestroyItem("abgfEyeR")) | ||
ActionOverride("A6StatueLeftEye",DestroyItem("abgfEyeL")) | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) //3 = not in eyes | ||
END | ||
|
||
//if turned hostile and gems were not put into the eyes | ||
IF | ||
Allegiance(Myself,ENEMY) | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
THEN | ||
RESPONSE #100 | ||
Unlock("A6StatueRightEye") | ||
Unlock("A6StatueLeftEye") | ||
ActionOverride("A6StatueRightEye",DestroyItem("abgfEyeR")) | ||
ActionOverride("A6StatueLeftEye",DestroyItem("abgfEyeL")) | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) //3 = not in eyes | ||
Attack(NearestEnemyOf(Myself)) | ||
END | ||
|
||
//initiate with player if pickpocketed | ||
IF | ||
See([PC]) | ||
Range(LastSeenBy,4) | ||
!HasItem("abgfEyeL",Myself) | ||
!HasItem("abgfEyeR",Myself) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
Global("ab_TalkAbouMissingGems","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue([PC]) | ||
END | ||
|
||
IF | ||
See([PC]) | ||
Range(LastSeenBy,4) | ||
!HasItem("abgfEyeL",Myself) | ||
HasItem("abgfEyeR",Myself) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
!Global("ab_TalkAbouMissingGems","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue([PC]) | ||
END | ||
|
||
IF | ||
See([PC]) | ||
Range(LastSeenBy,4) | ||
HasItem("abgfEyeL",Myself) | ||
!HasItem("abgfEyeR",Myself) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
!Global("ab_TalkAbouMissingGems","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
Dialogue([PC]) | ||
END | ||
|
||
//return to spot if tried to talk and player ran out of range | ||
IF | ||
See([PC]) | ||
!Range(LastSeenBy,4) | ||
THEN | ||
RESPONSE #100 | ||
ClearActions(Myself) | ||
MoveToPoint([641.2713]) | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
IF | ||
Dead("prism") | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
THEN | ||
RESPONSE #100 | ||
Unlock("A6StatueRightEye") | ||
Unlock("A6StatueLeftEye") | ||
ActionOverride("A6StatueRightEye",DestroyItem("abgfEyeR")) | ||
ActionOverride("A6StatueLeftEye",DestroyItem("abgfEyeL")) | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) //3 = not in eyes | ||
END | ||
IF | ||
Opened([ANYONE]) | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("abgf_BrokeInto","GLOBAL",1) | ||
ActionOverride("Prism",Dialogue([PC])) | ||
END | ||
IF | ||
Opened([ANYONE]) | ||
Global("abgf_GemInEye","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("abgf_GemInEye","GLOBAL",2) //2 is only 1 gem taken from statue | ||
ReputationInc(-1) //only one rep point loss in total cause it reverts the rep point gain given by letting him finish the work | ||
AddJournalEntry(@%AddJournal_0%%QUEST%) | ||
END | ||
IF | ||
Opened([ANYONE]) | ||
Global("abgf_GemInEye","GLOBAL",2) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) | ||
AddJournalEntry(@%AddJournal_1%%QUEST%) | ||
END | ||
IF | ||
Dead("prism") | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
THEN | ||
RESPONSE #100 | ||
Unlock("A6StatueRightEye") | ||
Unlock("A6StatueLeftEye") | ||
ActionOverride("A6StatueRightEye",DestroyItem("abgfEyeR")) | ||
ActionOverride("A6StatueLeftEye",DestroyItem("abgfEyeL")) | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) //3 = not in eyes | ||
END | ||
|
||
IF | ||
Opened([ANYONE]) | ||
Global("abgf_GemInEye","GLOBAL",0) | ||
!Global("ab_GemsTrulyGone","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("abgf_BrokeInto","GLOBAL",1) | ||
ActionOverride("Prism",Dialogue([PC])) | ||
END | ||
|
||
IF | ||
Opened([ANYONE]) | ||
Global("abgf_GemInEye","GLOBAL",1) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("abgf_GemInEye","GLOBAL",2) //2 is only 1 gem taken from statue | ||
ReputationInc(-1) //only one rep point loss in total cause it reverts the rep point gain given by letting him finish the work | ||
AddJournalEntry(@%AddJournal_0%%QUEST%) | ||
END | ||
|
||
IF | ||
Opened([ANYONE]) | ||
Global("abgf_GemInEye","GLOBAL",2) | ||
THEN | ||
RESPONSE #100 | ||
SetGlobal("abgf_GemInEye","GLOBAL",3) | ||
AddJournalEntry(@%AddJournal_1%%QUEST%) | ||
END |
Oops, something went wrong.