-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
Simple Prostitution/Scripts/Source/qf_zzzmrt_dibellan_lust_qst_04000092.psc
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,56 @@ | ||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | ||
;NEXT FRAGMENT INDEX 4 | ||
Scriptname qf_zzzmrt_dibellan_lust_qst_04000092 Extends Quest Hidden | ||
|
||
;BEGIN ALIAS PROPERTY Priestess | ||
;ALIAS PROPERTY TYPE ReferenceAlias | ||
ReferenceAlias Property Alias_Priestess Auto | ||
;END ALIAS PROPERTY | ||
|
||
;BEGIN FRAGMENT Fragment_2 | ||
Function Fragment_2() | ||
;BEGIN AUTOCAST TYPE zzzmrt_sp_dibellan_lust_qst_script | ||
Quest __temp = self as Quest | ||
zzzmrt_sp_dibellan_lust_qst_script kmyQuest = __temp as zzzmrt_sp_dibellan_lust_qst_script | ||
;END AUTOCAST | ||
;BEGIN CODE | ||
kmyQuest.DibellanLustCustomers_g.SetValue(0) | ||
UpdateCurrentInstanceGlobal(kmyQuest.DibellanLustCustomers_g) | ||
setObjectiveDisplayed(0, abForce = true) | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;BEGIN FRAGMENT Fragment_0 | ||
Function Fragment_0() | ||
;BEGIN CODE | ||
FailAllObjectives() | ||
Stop() | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;BEGIN FRAGMENT Fragment_3 | ||
Function Fragment_3() | ||
;BEGIN CODE | ||
SetObjectiveCompleted(0) | ||
setObjectiveDisplayed(1, abForce = true) | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;BEGIN FRAGMENT Fragment_1 | ||
Function Fragment_1() | ||
;BEGIN AUTOCAST TYPE zzzmrt_sp_dibellan_lust_qst_script | ||
Quest __temp = self as Quest | ||
zzzmrt_sp_dibellan_lust_qst_script kmyQuest = __temp as zzzmrt_sp_dibellan_lust_qst_script | ||
;END AUTOCAST | ||
;BEGIN CODE | ||
CompleteAllObjectives() | ||
kmyQuest.MainScript.giveTempleQuestReward() | ||
Stop() | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
48 changes: 48 additions & 0 deletions
48
Simple Prostitution/Scripts/Source/qf_zzzmrt_temple_escort_04000098.psc
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,48 @@ | ||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | ||
;NEXT FRAGMENT INDEX 5 | ||
Scriptname qf_zzzmrt_temple_escort_04000098 Extends Quest Hidden | ||
|
||
;BEGIN ALIAS PROPERTY Client01 | ||
;ALIAS PROPERTY TYPE ReferenceAlias | ||
ReferenceAlias Property Alias_Client01 Auto | ||
;END ALIAS PROPERTY | ||
|
||
;BEGIN FRAGMENT Fragment_4 | ||
Function Fragment_4() | ||
;BEGIN AUTOCAST TYPE zzzmrt_sp_temple_escort_qst_script | ||
Quest __temp = self as Quest | ||
zzzmrt_sp_temple_escort_qst_script kmyQuest = __temp as zzzmrt_sp_temple_escort_qst_script | ||
;END AUTOCAST | ||
;BEGIN CODE | ||
FailAllObjectives() | ||
Stop() | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;BEGIN FRAGMENT Fragment_2 | ||
Function Fragment_2() | ||
;BEGIN AUTOCAST TYPE zzzmrt_sp_temple_escort_qst_script | ||
Quest __temp = self as Quest | ||
zzzmrt_sp_temple_escort_qst_script kmyQuest = __temp as zzzmrt_sp_temple_escort_qst_script | ||
;END AUTOCAST | ||
;BEGIN CODE | ||
CompleteAllObjectives() | ||
Stop() | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;BEGIN FRAGMENT Fragment_3 | ||
Function Fragment_3() | ||
;BEGIN AUTOCAST TYPE zzzmrt_sp_temple_escort_qst_script | ||
Quest __temp = self as Quest | ||
zzzmrt_sp_temple_escort_qst_script kmyQuest = __temp as zzzmrt_sp_temple_escort_qst_script | ||
;END AUTOCAST | ||
;BEGIN CODE | ||
setObjectiveDisplayed(1) | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
14 changes: 14 additions & 0 deletions
14
Simple Prostitution/Scripts/Source/zzzmrt_sp_dibel_lust_end_tif_0400009e.psc
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,14 @@ | ||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | ||
;NEXT FRAGMENT INDEX 1 | ||
Scriptname zzzmrt_sp_dibel_lust_end_tif_0400009e Extends TopicInfo Hidden | ||
|
||
;BEGIN FRAGMENT Fragment_0 | ||
Function Fragment_0(ObjectReference akSpeakerRef) | ||
Actor akSpeaker = akSpeakerRef as Actor | ||
;BEGIN CODE | ||
getowningquest().setstage(15) | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
15 changes: 15 additions & 0 deletions
15
Simple Prostitution/Scripts/Source/zzzmrt_sp_dibel_lust_init_tif_0400009b.psc
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,15 @@ | ||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | ||
;NEXT FRAGMENT INDEX 1 | ||
Scriptname zzzmrt_sp_dibel_lust_init_tif_0400009b Extends TopicInfo Hidden | ||
|
||
;BEGIN FRAGMENT Fragment_0 | ||
Function Fragment_0(ObjectReference akSpeakerRef) | ||
Actor akSpeaker = akSpeakerRef as Actor | ||
;BEGIN CODE | ||
zzzmrt_sp_main_qst_script MainScript = GetOwningQuest() As zzzmrt_sp_main_qst_script | ||
MainScript.DibellanLust_Qst.start() | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
17 changes: 17 additions & 0 deletions
17
Simple Prostitution/Scripts/Source/zzzmrt_sp_dibellan_lust_qst_script.psc
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,17 @@ | ||
Scriptname zzzmrt_sp_dibellan_lust_qst_script extends Quest Conditional | ||
|
||
GlobalVariable property DibellanLustCustomers_g Auto | ||
Int property iRequiredTotalCustomers = 10 Auto Hidden Conditional | ||
Quest property DibellanLust_Qst Auto | ||
zzzmrt_sp_main_qst_script property MainScript auto | ||
|
||
Function updateQuest(int iNum) | ||
if (iNum < 1) | ||
return | ||
endif | ||
if (DibellanLust_Qst.isrunning() && DibellanLust_Qst.getStage() == 1) | ||
if DibellanLust_Qst.ModObjectiveGlobal(iNum, DibellanLustCustomers_g, 0, iRequiredTotalCustomers) | ||
DibellanLust_Qst.setStage(5) | ||
endif | ||
endif | ||
endfunction |
12 changes: 12 additions & 0 deletions
12
Simple Prostitution/Scripts/Source/zzzmrt_sp_temple_escort_qst_script.psc
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,12 @@ | ||
Scriptname zzzmrt_sp_temple_escort_qst_script extends Quest Conditional | ||
|
||
ReferenceAlias Property ClientAlias Auto | ||
zzzmrt_sp_main_qst_script property MainScript auto | ||
|
||
Event OnInit() | ||
actor client = ClientAlias.GetReference() as Actor | ||
Debug.trace("Simple Prostitution: Temple of Dibella client: "+ client.GetDisplayName() + " | " + client) | ||
EndEvent | ||
|
||
|
||
|
11 changes: 11 additions & 0 deletions
11
Simple Prostitution/Scripts/Source/zzzmrt_sp_temple_qst_client_alias_scr.psc
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,11 @@ | ||
Scriptname zzzmrt_sp_temple_qst_client_alias_scr extends ReferenceAlias Conditional | ||
|
||
event OnReset() | ||
Debug.Trace("Simple Prostitution: Client is gone.") | ||
GetOwningQuest().setStage(10) | ||
endevent | ||
|
||
event OnDying(Actor akKiller) | ||
Debug.Trace("Simple Prostitution: Client is dying.") | ||
GetOwningQuest().setStage(10) | ||
endevent |
16 changes: 16 additions & 0 deletions
16
Simple Prostitution/Scripts/Source/zzzmrt_temple_escort_end_tif_0400075b.psc
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,16 @@ | ||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | ||
;NEXT FRAGMENT INDEX 1 | ||
Scriptname zzzmrt_temple_escort_end_tif_0400075b Extends TopicInfo Hidden | ||
|
||
;BEGIN FRAGMENT Fragment_0 | ||
Function Fragment_0(ObjectReference akSpeakerRef) | ||
Actor akSpeaker = akSpeakerRef as Actor | ||
;BEGIN CODE | ||
zzzmrt_sp_temple_escort_qst_script escortScript = GetOwningQuest() As zzzmrt_sp_temple_escort_qst_script | ||
escortScript.MainScript.setTempleClient(akSpeaker) | ||
GetOwningQuest().setStage(15) | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
21 changes: 21 additions & 0 deletions
21
Simple Prostitution/Scripts/Source/zzzmrt_temple_escort_tif_04000758.psc
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,21 @@ | ||
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment | ||
;NEXT FRAGMENT INDEX 1 | ||
Scriptname zzzmrt_temple_escort_tif_04000758 Extends TopicInfo Hidden | ||
|
||
;BEGIN FRAGMENT Fragment_0 | ||
Function Fragment_0(ObjectReference akSpeakerRef) | ||
Actor akSpeaker = akSpeakerRef as Actor | ||
;BEGIN CODE | ||
zzzmrt_sp_main_qst_script MainScript = GetOwningQuest() As zzzmrt_sp_main_qst_script | ||
if MainScript.TempleEscort_Qst.isRunning() | ||
MainScript.TempleEscort_Qst.setstage(10) | ||
while MainScript.TempleEscort_Qst.isRunning() | ||
utility.wait(0.1) | ||
endWhile | ||
endif | ||
MainScript.TempleEscort_Qst.start() | ||
;END CODE | ||
EndFunction | ||
;END FRAGMENT | ||
|
||
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+730 Bytes
Simple Prostitution/Scripts/zzzmrt_sp_dibel_lust_end_tif_0400009e.pex
Binary file not shown.
Binary file added
BIN
+828 Bytes
Simple Prostitution/Scripts/zzzmrt_sp_dibel_lust_init_tif_0400009b.pex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+914 Bytes
Simple Prostitution/Scripts/zzzmrt_sp_temple_qst_client_alias_scr.pex
Binary file not shown.
Binary file added
BIN
+937 Bytes
Simple Prostitution/Scripts/zzzmrt_temple_escort_end_tif_0400075b.pex
Binary file not shown.
Binary file not shown.