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.
|
scn EBxOnDrink
|
|
|
|
ref rDrink
|
|
ref rBottle
|
|
|
|
begin function { rDrink }
|
|
|
|
if this != playerRef
|
|
return
|
|
endif
|
|
|
|
let rBottle := call EBxGetBottleByDrink rDrink
|
|
|
|
if IsFormValid rBottle == 0
|
|
return
|
|
endif
|
|
|
|
AddItem rBottle 1 1
|
|
|
|
if MenuMode
|
|
RefreshItemsList
|
|
endif
|
|
|
|
end
|
|
|