20 lines
334 B
Plaintext
20 lines
334 B
Plaintext
|
scn EBxPreordVault13CanteenScript
|
||
|
|
||
|
begin GameMode
|
||
|
|
||
|
if GetContainer != playerRef
|
||
|
return
|
||
|
endif
|
||
|
|
||
|
set EBxCanteenSipsMax to 4
|
||
|
|
||
|
if playerRef.GetItemCount EBxVault13Canteen < EBxCanteenSipsMax
|
||
|
playerRef.AddItem EBxVault13Canteen EBxCanteenSipsMax 1
|
||
|
RemoveMe
|
||
|
if MenuMode
|
||
|
RefreshItemsList
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
end
|