1
Fork 0

Skip second refresh with less that 150 items when sorting blueprints

development
Eddoursul 3 months ago
parent bb475b50d1
commit edaa704c3b
  1. BIN
      scripts/_00E_BlueprintCollectionItem.pex
  2. 14
      source/scripts/_00E_BlueprintCollectionItem.psc

@ -51,11 +51,19 @@ function StoreSingleCopy()
_00E_FS_BlueprintItemsStored.Show(iItemsToStore)
endif
/;
int iCount = EnderalFunctions.MoveItemsToCountByKeyword(PlayerREF, _00E_FS_BlueprintContainerActorREF, Blueprint, 1)
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
PlayerREF.RemoveItem(item, 1, true) ; doing this twice seems to reliably refresh inventory
Utility.WaitMenuMode(0.5)
Form item = Game.GetForm(0x1FE82) ; non-playable Draugr Skin
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
Function TakeBlueprints()

Loading…
Cancel
Save