Skip second refresh with less that 150 items when sorting blueprints
This commit is contained in:
parent
bb475b50d1
commit
edaa704c3b
Binary file not shown.
@ -51,11 +51,19 @@ function StoreSingleCopy()
|
|||||||
_00E_FS_BlueprintItemsStored.Show(iItemsToStore)
|
_00E_FS_BlueprintItemsStored.Show(iItemsToStore)
|
||||||
endif
|
endif
|
||||||
/;
|
/;
|
||||||
|
int iCount = EnderalFunctions.MoveItemsToCountByKeyword(PlayerREF, _00E_FS_BlueprintContainerActorREF, Blueprint, 1)
|
||||||
ITMBookClose.Play(PlayerREF)
|
ITMBookClose.Play(PlayerREF)
|
||||||
_00E_FS_BlueprintItemsStored.Show(EnderalFunctions.MoveItemsToCountByKeyword(PlayerREF, _00E_FS_BlueprintContainerActorREF, Blueprint, 1))
|
|
||||||
Armor item = Game.GetForm(0x1FE82) as Armor ; non-playable Draugr Skin
|
Utility.WaitMenuMode(0.5)
|
||||||
PlayerREF.RemoveItem(item, 1, true) ; doing this twice seems to reliably refresh inventory
|
Form item = Game.GetForm(0x1FE82) ; non-playable Draugr Skin
|
||||||
PlayerREF.RemoveItem(item, 1, true)
|
PlayerREF.RemoveItem(item, 1, true)
|
||||||
|
|
||||||
|
if iCount > 150
|
||||||
|
Utility.WaitMenuMode(0.5)
|
||||||
|
PlayerREF.RemoveItem(item, 1, true) ; doing this twice seems to reliably refresh inventory
|
||||||
|
endif
|
||||||
|
|
||||||
|
_00E_FS_BlueprintItemsStored.Show(iCount)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
Function TakeBlueprints()
|
Function TakeBlueprints()
|
||||||
|
Loading…
Reference in New Issue
Block a user