4
Fork 0

Fixed coin script

development
Eddoursul 3 months ago
parent 9691a46c23
commit e4a82bd4c8
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      scripts/EddsLuckyCoinScript.pex
  3. 3
      source/scripts/EddsLuckyCoinScript.psc

Binary file not shown.

Binary file not shown.

@ -6,10 +6,11 @@ Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldCo
if akNewContainer == PlayerRef
PlayerRef.AddPerk(EddsLuckyCoinPerk)
elseif PlayerRef.GetItemCount(self) == 0
elseif PlayerRef.GetItemCount(EddsLuckyCoin) == 0
PlayerRef.RemovePerk(EddsLuckyCoinPerk)
endif
endEvent
Perk Property EddsLuckyCoinPerk Auto
MiscObject Property EddsLuckyCoin Auto

Loading…
Cancel
Save