ScriptName aaaKimachuuReturningPotionRA Extends ReferenceAlias

Potion Property aaaKimachuuReturningPotionALCH Auto

Float Property fCW Auto

Bool bFlag

Import PO3_Events_Alias

Event OnInit()
	Utility.Wait(0.1)
	If bFlag == True
		Return
	Else
		bFlag = True
		RegisterForLevelIncrease(Self)
		fCW = Self.GetActorReference().GetActorValue("carryweight")
		Self.GetActorReference().AddItem(aaaKimachuuReturningPotionALCH, 1)
	EndIf
EndEvent

Event OnPlayerLoadGame()
	RegisterForLevelIncrease(Self)
	Self.GetActorReference().SetActorValue("carryweight", fCW)
	;Debug.Notification("Player Carry Weight:" + fCW)
EndEvent

Event OnLevelIncrease(int aiLevel)
	fCW = Self.GetActorReference().GetActorValue("carryweight")
	;Debug.Notification("Player Carry Weight:" + fCW)
EndEvent