forked from ProbablyManuel/requiem
-
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
1 parent
d994a90
commit a705fdb
Showing
68 changed files
with
3,066 additions
and
358 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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,32 @@ | ||
ScriptName REQ_AddQuestItems Extends ObjectReference | ||
{Adds items to a container or NPC reference after a certain quest stage is reached} | ||
|
||
Form[] Property Items Auto | ||
{Items that will be added to this container} | ||
Int[] Property Amount Auto | ||
{If empty, all items will be added by an amount of 1} | ||
Int Property Stage Auto | ||
{Items are only added after MyQuest has reached this stage} | ||
Quest Property MyQuest Auto | ||
|
||
|
||
Bool Done = False | ||
|
||
|
||
Event OnLoad() | ||
If !Done && MyQuest.GetStageDone(Stage) | ||
Int i = 0 | ||
If !Amount | ||
While i < Items.Length | ||
Additem(Items[i], 1, True) | ||
i += 1 | ||
EndWhile | ||
Else | ||
While i < Items.Length | ||
Additem(Items[i], Amount[i], True) | ||
i += 1 | ||
EndWhile | ||
EndIf | ||
Done = True | ||
EndIf | ||
EndEvent |
10 changes: 0 additions & 10 deletions
10
components/papyrus-scripts/src/REQ_AncientKnowledgeMessage.psc
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
components/papyrus-scripts/src/Req_MehrunesRazorScript.psc
This file was deleted.
Oops, something went wrong.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
components/papyrus-scripts/src/artifacts/DA05HircinesRingScript.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 DA05HircinesRingScript Extends ObjectReference | ||
|
||
Spell Property HircinesRingPower Auto | ||
Quest Property CompanionsCentralQuest Auto | ||
|
||
|
||
Event OnEquipped(Actor akActor) | ||
If akActor == Game.GetPlayer() && (CompanionsCentralQuest As CompanionsHousekeepingScript).PlayerHasBeastBlood | ||
akActor.RemoveSpell(HircinesRingPower) | ||
akActor.AddSpell(HircinesRingPower, False) | ||
EndIf | ||
EndEvent |
19 changes: 19 additions & 0 deletions
19
components/papyrus-scripts/src/artifacts/DA08EbonyBladeTrackingScript.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,19 @@ | ||
Scriptname DA08EbonyBladeTrackingScript extends Quest conditional | ||
|
||
int Property FriendsKilled auto conditional | ||
int Property MaxFriendsKilled auto | ||
|
||
Scene Property GratsScene auto | ||
|
||
REQ_ReapplyNonPersistentChanges Property ReapplyNonPersistentChanges Auto | ||
|
||
Function FriendKilled() | ||
if (FriendsKilled < MaxFriendsKilled) | ||
FriendsKilled += 1 | ||
; Debug.Trace("EBONY BLADE: Killed a friend, current count: " + FriendsKilled) | ||
ReapplyNonPersistentChanges.EbonyBladeScript.ReapplyNonPersistentChanges() | ||
GratsScene.Start() | ||
endif | ||
EndFunction | ||
|
||
|
Oops, something went wrong.