|
|
|
@ -8,6 +8,7 @@ ref rEntry |
|
|
|
|
ref rBottleUp |
|
|
|
|
ref rBottleDown |
|
|
|
|
int iCounter |
|
|
|
|
int bAddEmpties |
|
|
|
|
|
|
|
|
|
begin function { i } |
|
|
|
|
|
|
|
|
@ -93,7 +94,7 @@ begin function { i } |
|
|
|
|
ListAddForm EBxUpgradableToPurifiedList rItem |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
set rItem to GetFormFromMod "BrokenSteel.esm" "104F" ; DLC03AquaPura |
|
|
|
|
let rItem := GetFormFromMod "BrokenSteel.esm" "104F" ; DLC03AquaPura |
|
|
|
|
if IsFormValid rItem |
|
|
|
|
ListAddForm EBxUpgradableToPurifiedList rItem |
|
|
|
|
endif |
|
|
|
@ -107,10 +108,17 @@ begin function { i } |
|
|
|
|
let rBottleDown := ITMBottleDown |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
let bAddEmpties := 1 |
|
|
|
|
if FileExists "config\Bottle Rinse Repeat.ini" |
|
|
|
|
let bAddEmpties := GetINIFloat "Settings:bAddEmptyBottlesOnConsumption" "Bottle Rinse Repeat.ini" |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
let i := 0 |
|
|
|
|
while rItem := ListGetNthForm EBxDrinkLists i |
|
|
|
|
SetOnUseAidItemEventHandler EBxOnDrink 1 rItem |
|
|
|
|
|
|
|
|
|
if bAddEmpties |
|
|
|
|
SetOnUseAidItemEventHandler EBxOnDrink 1 rItem |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
if GetType rItem == 85 ; form list |
|
|
|
|
let n := 0 |
|
|
|
|
while rEntry := ListGetNthForm rItem n |
|
|
|
|