commit
8210468f79
43 changed files with 359 additions and 208 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@ |
|||||||
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment |
||||||
|
;NEXT FRAGMENT INDEX 12 |
||||||
|
Scriptname PRKF__00E_CraftQuestPotionPe_0300146D Extends Perk Hidden |
||||||
|
|
||||||
|
;BEGIN FRAGMENT Fragment_7 |
||||||
|
Function Fragment_7(ObjectReference akTargetRef, Actor akActor) |
||||||
|
;BEGIN CODE |
||||||
|
if FS_NQ05.GetStage() >= 40 |
||||||
|
Game.GetPlayer().RemovePerk(Self) |
||||||
|
return |
||||||
|
endif |
||||||
|
(FS_NQ05 as _00E_FS_NQ05_Functions).AskCreatePotion() |
||||||
|
;END CODE |
||||||
|
EndFunction |
||||||
|
;END FRAGMENT |
||||||
|
|
||||||
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
||||||
|
|
||||||
|
Quest Property FS_NQ05 Auto |
@ -0,0 +1,19 @@ |
|||||||
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment |
||||||
|
;NEXT FRAGMENT INDEX 10 |
||||||
|
Scriptname PRKF__00E_FS_NQ07_CraftPotio_0300146E Extends Perk Hidden |
||||||
|
|
||||||
|
;BEGIN FRAGMENT Fragment_0 |
||||||
|
Function Fragment_0(ObjectReference akTargetRef, Actor akActor) |
||||||
|
;BEGIN CODE |
||||||
|
if FS_NQ07.GetStage() >= 120 |
||||||
|
Game.GetPlayer().RemovePerk(Self) |
||||||
|
return |
||||||
|
endif |
||||||
|
(FS_NQ07 as _00E_FS_NQ07_Functions).AskCreatePotion() |
||||||
|
;END CODE |
||||||
|
EndFunction |
||||||
|
;END FRAGMENT |
||||||
|
|
||||||
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
||||||
|
|
||||||
|
Quest Property FS_NQ07 Auto |
@ -0,0 +1,16 @@ |
|||||||
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment |
||||||
|
;NEXT FRAGMENT INDEX 3 |
||||||
|
Scriptname PRKF__00E_SE_2_0_12_UpgradeP_030090B3 Extends Perk Hidden |
||||||
|
|
||||||
|
;BEGIN FRAGMENT Fragment_0 |
||||||
|
Function Fragment_0(ObjectReference akTargetRef, Actor akActor) |
||||||
|
;BEGIN CODE |
||||||
|
if akTargetRef.IsActivationBlocked() |
||||||
|
akTargetRef.Activate(akActor, true) |
||||||
|
akTargetRef.BlockActivation(False) |
||||||
|
endif |
||||||
|
;END CODE |
||||||
|
EndFunction |
||||||
|
;END FRAGMENT |
||||||
|
|
||||||
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
@ -0,0 +1,26 @@ |
|||||||
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment |
||||||
|
;NEXT FRAGMENT INDEX 8 |
||||||
|
Scriptname PRKF__00E_SE_DismantlePerk_03009D21 Extends Perk Hidden |
||||||
|
|
||||||
|
;BEGIN FRAGMENT Fragment_0 |
||||||
|
Function Fragment_0(ObjectReference akTargetRef, Actor akActor) |
||||||
|
;BEGIN CODE |
||||||
|
int iButton = _00E_Smelting_DismantlingMSG.Show() |
||||||
|
|
||||||
|
If iButton == 0 ; if the player wants to process ore into ingots |
||||||
|
akTargetRef.Activate(akActor, true) |
||||||
|
ElseIf iButton == 1 ; if the player wants to dismantle items back into crafting components, disable player controls |
||||||
|
Game.DisablePlayerControls(true, true, true, true, true, true, true, true) |
||||||
|
_00E_Dismantling_SmelterREF.Activate(akActor) |
||||||
|
Else |
||||||
|
return |
||||||
|
EndIf |
||||||
|
;END CODE |
||||||
|
EndFunction |
||||||
|
;END FRAGMENT |
||||||
|
|
||||||
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
||||||
|
|
||||||
|
Message Property _00E_Smelting_DismantlingMSG Auto |
||||||
|
|
||||||
|
ObjectReference Property _00E_Dismantling_SmelterREF Auto |
@ -1,67 +1,22 @@ |
|||||||
Scriptname _00E_Theriantrophist_SummonLabSC extends activemagiceffect |
Scriptname _00E_Theriantrophist_SummonLabSC extends activemagiceffect |
||||||
|
|
||||||
ObjectReference Property _00E_Theriantrophist_SummonPortableLaboratory_Target Auto |
|
||||||
|
|
||||||
Event OnEffectStart(Actor akTarget, Actor akCaster) |
Event OnEffectStart(Actor akTarget, Actor akCaster) |
||||||
|
|
||||||
if PlayerREF.GetRace() == _00E_Theriantrophist_PlayerWerewolfRace |
if PlayerREF.GetRace() == _00E_Theriantrophist_PlayerWerewolfRace |
||||||
_00E_Theriantrophist_CantCraftMSG.Show() |
_00E_Theriantrophist_CantCraftMSG.Show() |
||||||
else |
else |
||||||
CheckforQuestPotions() |
(FS_NQ05 as _00E_FS_NQ05_Functions).AskCreatePotion() |
||||||
|
(FS_NQ07 as _00E_FS_NQ07_Functions).AskCreatePotion() |
||||||
Utility.Wait(1.0) |
Utility.Wait(1.0) |
||||||
_00E_Theriantrophist_SummonPortableLaboratory_Target.activate(PlayerREF, true) |
_00E_Theriantrophist_SummonPortableLaboratory_Target.activate(PlayerREF, true) |
||||||
endif |
endif |
||||||
|
|
||||||
EndEvent |
EndEvent |
||||||
|
|
||||||
Function CheckforQuestPotions() |
ObjectReference Property _00E_Theriantrophist_SummonPortableLaboratory_Target Auto |
||||||
|
|
||||||
If (FS_NQ05.GetStage() < 40 && FS_NQ05.GetStage() >= 30) |
|
||||||
int iButton1 = FS_NQ05_AlchemyMessagebox.Show() |
|
||||||
|
|
||||||
if iButton1 == 0 |
|
||||||
PlayerREF.RemoveItem(Vynroot, 1) |
|
||||||
PlayerREF.RemoveItem(SkeeverTail, 1) |
|
||||||
PlayerREF.RemoveItem(MothWingMonarch, 1) |
|
||||||
PlayerREF.RemoveItem(Garlic, 1) |
|
||||||
PlayerREF.RemoveItem(_00E_FS_NQ05_Rezept, 1) |
|
||||||
FS_NQ05.SetStage(40) |
|
||||||
ElseIf iButton1 == 1 |
|
||||||
; |
|
||||||
EndIf |
|
||||||
Endif |
|
||||||
|
|
||||||
If (FS_NQ07.GetStage() == 115) |
|
||||||
int iButton2 = _00E_FS_NQ07_AlchemyMessagebox.Show() |
|
||||||
|
|
||||||
if iButton2 == 0 |
|
||||||
PlayerREF.RemoveItem(FoodMead, 1) |
|
||||||
PlayerREF.RemoveItem(FrostMirriam, 2) |
|
||||||
PlayerREF.RemoveItem(FoodBananenschnaps, 1) |
|
||||||
PlayerREF.RemoveItem(_00E_FS_NQ07_Rezept, 1) |
|
||||||
FS_NQ07.SetStage(120) |
|
||||||
ElseIf iButton2 == 1 |
|
||||||
; |
|
||||||
EndIf |
|
||||||
EndIf |
|
||||||
|
|
||||||
EndFunction |
|
||||||
|
|
||||||
Actor Property PlayerREF Auto |
Actor Property PlayerREF Auto |
||||||
Message Property _00E_Theriantrophist_CantCraftMSG Auto |
Message Property _00E_Theriantrophist_CantCraftMSG Auto |
||||||
Race Property _00E_Theriantrophist_PlayerWerewolfRace Auto |
Race Property _00E_Theriantrophist_PlayerWerewolfRace Auto |
||||||
|
|
||||||
Quest Property FS_NQ05 Auto |
Quest Property FS_NQ05 Auto |
||||||
Book Property _00E_FS_NQ05_Rezept Auto |
|
||||||
Ingredient Property Vynroot Auto |
|
||||||
Ingredient Property SkeeverTail Auto |
|
||||||
Ingredient Property MothWingMonarch Auto |
|
||||||
Ingredient Property Garlic Auto |
|
||||||
Message Property FS_NQ05_AlchemyMessagebox Auto |
|
||||||
|
|
||||||
Quest Property FS_NQ07 Auto |
Quest Property FS_NQ07 Auto |
||||||
Book Property _00E_FS_NQ07_Rezept Auto |
|
||||||
Potion Property FoodMead Auto |
|
||||||
Ingredient Property FrostMirriam Auto |
|
||||||
Potion Property FoodBananenschnaps Auto |
|
||||||
Message Property _00E_FS_NQ07_AlchemyMessagebox Auto |
|
@ -0,0 +1,15 @@ |
|||||||
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment |
||||||
|
;NEXT FRAGMENT INDEX 6 |
||||||
|
Scriptname PRKF__00E_FS_WerewolfPrevent_0300146D Extends Perk Hidden |
||||||
|
|
||||||
|
;BEGIN FRAGMENT Fragment_0 |
||||||
|
Function Fragment_0(ObjectReference akTargetRef, Actor akActor) |
||||||
|
;BEGIN CODE |
||||||
|
_00E_Theriantrophist_CantCraftMSG.Show() |
||||||
|
;END CODE |
||||||
|
EndFunction |
||||||
|
;END FRAGMENT |
||||||
|
|
||||||
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment |
||||||
|
|
||||||
|
Message Property _00E_Theriantrophist_CantCraftMSG Auto |
Loading…
Reference in new issue