Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
894 B
22 lines
894 B
Scriptname _00E_FS_NQ07_DinnerActivatorScript extends ObjectReference
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
if(FS_NQ07.GetStage() == 370 && akActionRef == PlayerREF && PlayerREF.GetItemCount(DalSarkerHoneywine) >= 2 && PlayerREF.GetItemCount(FoodChickenCooked) >= 2 && PlayerREF.GetItemCount(FoodCabbagePotatoSoup) >= 2 && FS_NQ07.IsObjectiveCompleted(140) == 1 && FS_NQ07.IsObjectiveCompleted(150) == 1)
|
|
FS_NQ07.SetStage(380)
|
|
PlayerREF.RemoveItem(DalSarkerHoneywine, 2)
|
|
PlayerREF.RemoveItem(FoodChickenCooked, 2)
|
|
PlayerREF.RemoveItem(FoodCabbagePotatoSoup, 2)
|
|
self.disable()
|
|
else
|
|
_00E_FS_NQ07_DinnerMessagebox.Show()
|
|
Endif
|
|
|
|
EndEvent
|
|
|
|
Actor Property PlayerREF Auto
|
|
Message Property _00E_FS_NQ07_DinnerMessagebox Auto
|
|
Potion Property DalSarkerHoneywine Auto
|
|
Potion Property FoodChickenCooked Auto
|
|
Potion Property FoodCabbagePotatoSoup Auto
|
|
Quest Property FS_NQ07 Auto
|
|
|