Jump to content

[LE] Questions: automatic visual representation of stored item amount


Blimketi

Recommended Posts

What I try to do:

I. I'm trying to have a visual representation of ingots stored in a cupboard connected to a chest, so everytime I add an Ingot to the chest, one static ingot will appear in the cupboard.
II. Later I'll try to connect the cupboard with the forge in my house, so everytime I use the forge, it takes the ingots from my cupboard and
III. stores the product in my armory chest.

What do I know about scripting:

Just a basic understanding of how it works, but eager to learn more.

Where am I right now:

I'm still working on I., as soon as I have finished that I'll try II and III. .
So far I got a script doing what I want when I add or remove items from the chest but I struggle with the OnCellLoad or OnLoad or OnCellAttach to initiate the visuals when I enter the house.

Why I write here:

1. Questions about my script
2. How do activate the script on entering the house
3. happy about tips to help me with II and III. Might save me a lot of searching and trial and error.

To
1. Why did this work:

Scriptname TBScriptEnableOnItemAdded extends ObjectReference
{On Item Added enable/disable action}

;====================
;Properties
;====================

MiscObject Property IngotCorundum Auto
MiscObject Property IngotDwarven Auto
MiscObject Property IngotEbony Auto
MiscObject Property IngotGold Auto
MiscObject Property IngotIMoonstone Auto
MiscObject Property IngotIron Auto
MiscObject Property IngotMalachite Auto
MiscObject Property IngotOrichalcum Auto
MiscObject Property IngotQuicksilver Auto
MiscObject Property IngotSilver Auto
MiscObject Property IngotSteel Auto

ObjectReference Property IngotCorundumStorage Auto
ObjectReference Property IngotDwarvenStorage Auto
ObjectReference Property IngotEbonyStorage Auto
ObjectReference Property IngotGoldStorage Auto
;ObjectReference Property IngotIronStorage Auto
ObjectReference Property IngotMalachiteStorage Auto
ObjectReference Property IngotMoonstoneStorage Auto
ObjectReference Property IngotOrichalcumStorage Auto
ObjectReference Property IngotQuicksilverStorage Auto
ObjectReference Property IngotSilverStorage Auto
ObjectReference Property IngotSteelStorage Auto

;====================
;Events
;====================

Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If akBaseItem == IngotCorundum && GetItemCount(IngotCorundum) >= 1 ;Enable
IngotCorundumStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotDwarven && GetItemCount(IngotDwarven) >= 1 ;Enable
IngotDwarvenStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotEbony && GetItemCount(IngotEbony) >= 1 ;Enable
IngotEbonyStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotGold && GetItemCount(IngotGold) >= 1 ;Enable
IngotGoldStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotIMoonstone && GetItemCount(IngotIMoonstone) >= 1 ;Enable
IngotMoonstoneStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotIron && GetItemCount(IngotIron) >= 1 ;Enable
IngotIronStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotMalachite && GetItemCount(IngotMalachite) >= 1 ;Enable
IngotMalachiteStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotOrichalcum && GetItemCount(IngotOrichalcum) >= 1 ;Enable
IngotOrichalcumStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotQuicksilver && GetItemCount(IngotQuicksilver) >= 1 ;Enable
IngotQuicksilverStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotSilver && GetItemCount(IngotSilver) >= 1 ;Enable
IngotSilverStorage.enable()
debug.notification ("Item Stored")
ElseIf akBaseItem == IngotSteel && GetItemCount(IngotSteel) >= 1 ;Enable
IngotSteelStorage.enable()
debug.notification ("Item Stored")
EndIf
EndEvent

Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If akBaseItem == IngotCorundum && GetItemCount(IngotCorundum) == 0 ;Disable
IngotCorundumStorage.disable()
ElseIf akBaseItem == IngotDwarven && GetItemCount(IngotDwarven) == 0 ;Disable
IngotDwarvenStorage.disable()
ElseIf akBaseItem == IngotEbony && GetItemCount(IngotEbony) == 0 ;Disable
IngotEbonyStorage.disable()
ElseIf akBaseItem == IngotGold && GetItemCount(IngotGold) == 0 ;Disable
IngotGoldStorage.disable()
ElseIf akBaseItem == IngotIMoonstone && GetItemCount(IngotIMoonstone) == 0 ;Disable
IngotMoonstoneStorage.disable()
ElseIf akBaseItem == IngotIron && GetItemCount(IngotIron) == 0 ;Disable
IngotIronStorage.disable()
ElseIf akBaseItem == IngotMalachite && GetItemCount(IngotMalachite) == 0 ;Disable
IngotMalachiteStorage.disable()
ElseIf akBaseItem == IngotOrichalcum && GetItemCount(IngotOrichalcum) == 0 ;Disable
IngotOrichalcumStorage.disable()
ElseIf akBaseItem == IngotQuicksilver && GetItemCount(IngotQuicksilver) == 0 ;Disable
IngotQuicksilverStorage.disable()
ElseIf akBaseItem == IngotSilver && GetItemCount(IngotSilver) == 0 ;Disable
IngotSilverStorage.disable()
ElseIf akBaseItem == IngotSteel && GetItemCount(IngotSteel) == 0 ;Disable
IngotSteelStorage.disable()
EndIf
EndEvent



and this didn't:

 

 

Scriptname TBScriptTestVisualActivation extends ObjectReference

;====================
;Properties
;====================

MiscObject Property IngotCorundum Auto
MiscObject Property IngotDwarven Auto
MiscObject Property IngotEbony Auto
MiscObject Property IngotGold Auto
MiscObject Property IngotIMoonstone Auto
MiscObject Property IngotIron Auto
MiscObject Property IngotMalachite Auto
MiscObject Property IngotOrichalcum Auto
MiscObject Property IngotQuicksilver Auto
MiscObject Property IngotSilver Auto
MiscObject Property IngotSteel Auto

ObjectReference Property IngotCorundumStorage001 Auto
ObjectReference Property IngotCorundumStorage002 Auto
ObjectReference Property IngotCorundumStorage003 Auto
ObjectReference Property IngotCorundumStorage004 Auto
ObjectReference Property IngotCorundumStorage005 Auto
ObjectReference Property IngotCorundumStorage006 Auto
ObjectReference Property IngotCorundumStorage007 Auto
ObjectReference Property IngotCorundumStorage008 Auto
ObjectReference Property IngotCorundumStorage009 Auto
ObjectReference Property IngotCorundumStorage010 Auto
ObjectReference Property IngotCorundumStorage011 Auto
ObjectReference Property IngotCorundumStorage012 Auto
ObjectReference Property IngotDwarvenStorage001 Auto
ObjectReference Property IngotDwarvenStorage002 Auto
ObjectReference Property IngotDwarvenStorage003 Auto
ObjectReference Property IngotDwarvenStorage004 Auto
ObjectReference Property IngotDwarvenStorage005 Auto
ObjectReference Property IngotDwarvenStorage006 Auto
ObjectReference Property IngotDwarvenStorage007 Auto
ObjectReference Property IngotDwarvenStorage008 Auto
ObjectReference Property IngotDwarvenStorage009 Auto
ObjectReference Property IngotDwarvenStorage010 Auto
ObjectReference Property IngotEbonyStorage001 Auto
ObjectReference Property IngotEbonyStorage002 Auto
ObjectReference Property IngotEbonyStorage003 Auto
ObjectReference Property IngotEbonyStorage004 Auto
ObjectReference Property IngotEbonyStorage005 Auto
ObjectReference Property IngotEbonyStorage006 Auto
ObjectReference Property IngotEbonyStorage007 Auto
ObjectReference Property IngotEbonyStorage008 Auto
ObjectReference Property IngotEbonyStorage009 Auto
ObjectReference Property IngotEbonyStorage010 Auto
ObjectReference Property IngotEbonyStorage011 Auto
ObjectReference Property IngotGoldStorage001 Auto
ObjectReference Property IngotGoldStorage002 Auto
ObjectReference Property IngotGoldStorage003 Auto
ObjectReference Property IngotGoldStorage004 Auto
ObjectReference Property IngotGoldStorage005 Auto
ObjectReference Property IngotIronStorage001 Auto
ObjectReference Property IngotIronStorage002 Auto
ObjectReference Property IngotIronStorage003 Auto
ObjectReference Property IngotIronStorage004 Auto
ObjectReference Property IngotIronStorage005 Auto
ObjectReference Property IngotIronStorage006 Auto
ObjectReference Property IngotIronStorage007 Auto
ObjectReference Property IngotIronStorage008 Auto
ObjectReference Property IngotIronStorage009 Auto
ObjectReference Property IngotIronStorage010 Auto
ObjectReference Property IngotIronStorage011 Auto
ObjectReference Property IngotIronStorage012 Auto
ObjectReference Property IngotIronStorage013 Auto
ObjectReference Property IngotIronStorage014 Auto
ObjectReference Property IngotIronStorage015 Auto
ObjectReference Property IngotIronStorage016 Auto
ObjectReference Property IngotIronStorage017 Auto
ObjectReference Property IngotIronStorage018 Auto
ObjectReference Property IngotIronStorage019 Auto
ObjectReference Property IngotIronStorage020 Auto
ObjectReference Property IngotIronStorage021 Auto
ObjectReference Property IngotMalachiteStorage001 Auto
ObjectReference Property IngotMalachiteStorage002 Auto
ObjectReference Property IngotMalachiteStorage003 Auto
ObjectReference Property IngotMalachiteStorage004 Auto
ObjectReference Property IngotMalachiteStorage005 Auto
ObjectReference Property IngotMalachiteStorage006 Auto
ObjectReference Property IngotMalachiteStorage007 Auto
ObjectReference Property IngotMalachiteStorage008 Auto
ObjectReference Property IngotMalachiteStorage009 Auto
ObjectReference Property IngotMalachiteStorage010 Auto
ObjectReference Property IngotMoonstoneStorage001 Auto
ObjectReference Property IngotMoonstoneStorage002 Auto
ObjectReference Property IngotMoonstoneStorage003 Auto
ObjectReference Property IngotMoonstoneStorage004 Auto
ObjectReference Property IngotMoonstoneStorage005 Auto
ObjectReference Property IngotMoonstoneStorage006 Auto
ObjectReference Property IngotMoonstoneStorage007 Auto
ObjectReference Property IngotMoonstoneStorage008 Auto
ObjectReference Property IngotMoonstoneStorage009 Auto
ObjectReference Property IngotMoonstoneStorage010 Auto
ObjectReference Property IngotOrichalcumStorage001 Auto
ObjectReference Property IngotOrichalcumStorage002 Auto
ObjectReference Property IngotOrichalcumStorage003 Auto
ObjectReference Property IngotOrichalcumStorage004 Auto
ObjectReference Property IngotOrichalcumStorage005 Auto
ObjectReference Property IngotOrichalcumStorage006 Auto
ObjectReference Property IngotOrichalcumStorage007 Auto
ObjectReference Property IngotOrichalcumStorage008 Auto
ObjectReference Property IngotOrichalcumStorage009 Auto
ObjectReference Property IngotOrichalcumStorage010 Auto
ObjectReference Property IngotOrichalcumStorage011 Auto
ObjectReference Property IngotQuicksilverStorage001 Auto
ObjectReference Property IngotQuicksilverStorage002 Auto
ObjectReference Property IngotQuicksilverStorage003 Auto
ObjectReference Property IngotQuicksilverStorage004 Auto
ObjectReference Property IngotQuicksilverStorage005 Auto
ObjectReference Property IngotQuicksilverStorage006 Auto
ObjectReference Property IngotQuicksilverStorage007 Auto
ObjectReference Property IngotQuicksilverStorage008 Auto
ObjectReference Property IngotQuicksilverStorage009 Auto
ObjectReference Property IngotQuicksilverStorage010 Auto
ObjectReference Property IngotQuicksilverStorage011 Auto
ObjectReference Property IngotQuicksilverStorage012 Auto
ObjectReference Property IngotSilverStorage001 Auto
ObjectReference Property IngotSilverStorage002 Auto
ObjectReference Property IngotSilverStorage003 Auto
ObjectReference Property IngotSilverStorage004 Auto
ObjectReference Property IngotSilverStorage005 Auto
ObjectReference Property IngotSilverStorage006 Auto
ObjectReference Property IngotSteelStorage001 Auto
ObjectReference Property IngotSteelStorage002 Auto
ObjectReference Property IngotSteelStorage003 Auto
ObjectReference Property IngotSteelStorage004 Auto
ObjectReference Property IngotSteelStorage005 Auto
ObjectReference Property IngotSteelStorage006 Auto
ObjectReference Property IngotSteelStorage007 Auto
ObjectReference Property IngotSteelStorage008 Auto
ObjectReference Property IngotSteelStorage009 Auto
ObjectReference Property IngotSteelStorage010 Auto
ObjectReference Property IngotSteelStorage011 Auto
ObjectReference Property IngotSteelStorage012 Auto
ObjectReference Property IngotSteelStorage013 Auto
ObjectReference Property IngotSteelStorage014 Auto
ObjectReference Property IngotSteelStorage015 Auto

;====================
;Events
;====================

Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If GetItemCount(IngotCorundum) == 1 ;Enable
IngotCorundumStorage001.enable()
ElseIf GetItemCount(IngotCorundum) == 2 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
ElseIf GetItemCount(IngotCorundum) == 3 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
ElseIf GetItemCount(IngotCorundum) == 4 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
ElseIf GetItemCount(IngotCorundum) == 5 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
ElseIf GetItemCount(IngotCorundum) == 6 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
ElseIf GetItemCount(IngotCorundum) == 7 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
IngotCorundumStorage007.enable()
ElseIf GetItemCount(IngotCorundum) == 8 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
IngotCorundumStorage007.enable()
IngotCorundumStorage008.enable()
ElseIf GetItemCount(IngotCorundum) == 9 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
IngotCorundumStorage007.enable()
IngotCorundumStorage008.enable()
IngotCorundumStorage009.enable()
ElseIf GetItemCount(IngotCorundum) == 10 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
IngotCorundumStorage007.enable()
IngotCorundumStorage008.enable()
IngotCorundumStorage009.enable()
IngotCorundumStorage010.enable()
ElseIf GetItemCount(IngotCorundum) == 11 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
IngotCorundumStorage007.enable()
IngotCorundumStorage008.enable()
IngotCorundumStorage009.enable()
IngotCorundumStorage010.enable()
IngotCorundumStorage011.enable()
ElseIf GetItemCount(IngotCorundum) >= 12 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
IngotCorundumStorage004.enable()
IngotCorundumStorage005.enable()
IngotCorundumStorage006.enable()
IngotCorundumStorage007.enable()
IngotCorundumStorage008.enable()
IngotCorundumStorage009.enable()
IngotCorundumStorage010.enable()
IngotCorundumStorage011.enable()
IngotCorundumStorage012.enable()
ElseIf GetItemCount(IngotDwarven) == 1 ;Enable
IngotDwarvenStorage001.enable()
ElseIf GetItemCount(IngotDwarven) == 2 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
ElseIf GetItemCount(IngotDwarven) == 3 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
ElseIf GetItemCount(IngotDwarven) == 4 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
ElseIf GetItemCount(IngotDwarven) == 5 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
IngotDwarvenStorage005.enable()
ElseIf GetItemCount(IngotDwarven) == 6 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
IngotDwarvenStorage005.enable()
IngotDwarvenStorage006.enable()
ElseIf GetItemCount(IngotDwarven) == 7 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
IngotDwarvenStorage005.enable()
IngotDwarvenStorage006.enable()
IngotDwarvenStorage007.enable()
ElseIf GetItemCount(IngotDwarven) == 8 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
IngotDwarvenStorage005.enable()
IngotDwarvenStorage006.enable()
IngotDwarvenStorage007.enable()
IngotDwarvenStorage008.enable()
ElseIf GetItemCount(IngotDwarven) == 9 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
IngotDwarvenStorage005.enable()
IngotDwarvenStorage006.enable()
IngotDwarvenStorage007.enable()
IngotDwarvenStorage008.enable()
IngotDwarvenStorage009.enable()
ElseIf GetItemCount(IngotDwarven) >= 10 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()
IngotDwarvenStorage003.enable()
IngotDwarvenStorage004.enable()
IngotDwarvenStorage005.enable()
IngotDwarvenStorage006.enable()
IngotDwarvenStorage007.enable()
IngotDwarvenStorage008.enable()
IngotDwarvenStorage009.enable()
IngotDwarvenStorage010.enable()
ElseIf GetItemCount(IngotEbony) == 1 ;Enable
IngotEbonyStorage001.enable()
ElseIf GetItemCount(IngotEbony) == 2 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
ElseIf GetItemCount(IngotEbony) == 3 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
ElseIf GetItemCount(IngotEbony) == 4 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
ElseIf GetItemCount(IngotEbony) == 5 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
ElseIf GetItemCount(IngotEbony) == 6 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
IngotEbonyStorage006.enable()
ElseIf GetItemCount(IngotEbony) == 7 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
IngotEbonyStorage006.enable()
IngotEbonyStorage007.enable()
ElseIf GetItemCount(IngotEbony) == 8 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
IngotEbonyStorage006.enable()
IngotEbonyStorage007.enable()
IngotEbonyStorage008.enable()
ElseIf GetItemCount(IngotEbony) == 9 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
IngotEbonyStorage006.enable()
IngotEbonyStorage007.enable()
IngotEbonyStorage008.enable()
IngotEbonyStorage009.enable()
ElseIf GetItemCount(IngotEbony) == 10 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
IngotEbonyStorage006.enable()
IngotEbonyStorage007.enable()
IngotEbonyStorage008.enable()
IngotEbonyStorage009.enable()
IngotEbonyStorage010.enable()
ElseIf GetItemCount(IngotEbony) >= 11 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()
IngotEbonyStorage004.enable()
IngotEbonyStorage005.enable()
IngotEbonyStorage006.enable()
IngotEbonyStorage007.enable()
IngotEbonyStorage008.enable()
IngotEbonyStorage009.enable()
IngotEbonyStorage010.enable()
IngotEbonyStorage011.enable()
ElseIf GetItemCount(IngotGold) == 1 ;Enable
IngotGoldStorage001.enable()
ElseIf GetItemCount(IngotGold) == 2 ;Enable
IngotGoldStorage001.enable()
IngotGoldStorage002.enable()
ElseIf GetItemCount(IngotGold) == 3 ;Enable
IngotGoldStorage001.enable()
IngotGoldStorage002.enable()
IngotGoldStorage003.enable()
ElseIf GetItemCount(IngotGold) == 4 ;Enable
IngotGoldStorage001.enable()
IngotGoldStorage002.enable()
IngotGoldStorage003.enable()
IngotGoldStorage004.enable()
ElseIf GetItemCount(IngotGold) >= 5 ;Enable
IngotGoldStorage001.enable()
IngotGoldStorage002.enable()
IngotGoldStorage003.enable()
IngotGoldStorage004.enable()
IngotGoldStorage005.enable()
ElseIf GetItemCount(IngotIron) == 1 ;Enable
IngotIronStorage001.enable()
ElseIf GetItemCount(IngotIron) == 2 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
ElseIf GetItemCount(IngotIron) == 3 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
ElseIf GetItemCount(IngotIron) == 4 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
ElseIf GetItemCount(IngotIron) == 5 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
ElseIf GetItemCount(IngotIron) == 6 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
ElseIf GetItemCount(IngotIron) == 7 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
ElseIf GetItemCount(IngotIron) == 8 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
ElseIf GetItemCount(IngotIron) == 9 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
ElseIf GetItemCount(IngotIron) == 10 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
ElseIf GetItemCount(IngotIron) == 11 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
ElseIf GetItemCount(IngotIron) == 12 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
ElseIf GetItemCount(IngotIron) == 13 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
ElseIf GetItemCount(IngotIron) == 14 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
ElseIf GetItemCount(IngotIron) == 15 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
ElseIf GetItemCount(IngotIron) == 16 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
IngotIronStorage016.enable()
ElseIf GetItemCount(IngotIron) == 17 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
IngotIronStorage016.enable()
IngotIronStorage017.enable()
ElseIf GetItemCount(IngotIron) == 18 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
IngotIronStorage016.enable()
IngotIronStorage017.enable()
IngotIronStorage018.enable()
ElseIf GetItemCount(IngotIron) == 19 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
IngotIronStorage016.enable()
IngotIronStorage017.enable()
IngotIronStorage018.enable()
IngotIronStorage019.enable()
ElseIf GetItemCount(IngotIron) == 20 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
IngotIronStorage016.enable()
IngotIronStorage017.enable()
IngotIronStorage018.enable()
IngotIronStorage019.enable()
IngotIronStorage020.enable()
ElseIf GetItemCount(IngotIron) >= 21 ;Enable
IngotIronStorage001.enable()
IngotIronStorage002.enable()
IngotIronStorage003.enable()
IngotIronStorage004.enable()
IngotIronStorage005.enable()
IngotIronStorage006.enable()
IngotIronStorage007.enable()
IngotIronStorage008.enable()
IngotIronStorage009.enable()
IngotIronStorage010.enable()
IngotIronStorage011.enable()
IngotIronStorage012.enable()
IngotIronStorage013.enable()
IngotIronStorage014.enable()
IngotIronStorage015.enable()
IngotIronStorage016.enable()
IngotIronStorage017.enable()
IngotIronStorage018.enable()
IngotIronStorage019.enable()
IngotIronStorage020.enable()
IngotIronStorage021.enable()
ElseIf GetItemCount(IngotMalachite) == 1 ;Enable
IngotMalachiteStorage001.enable()
ElseIf GetItemCount(IngotMalachite) == 2 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
ElseIf GetItemCount(IngotMalachite) == 3 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
ElseIf GetItemCount(IngotMalachite) == 4 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
ElseIf GetItemCount(IngotMalachite) == 5 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
IngotMalachiteStorage005.enable()
ElseIf GetItemCount(IngotMalachite) == 6 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
IngotMalachiteStorage005.enable()
IngotMalachiteStorage006.enable()
ElseIf GetItemCount(IngotMalachite) == 7 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
IngotMalachiteStorage005.enable()
IngotMalachiteStorage006.enable()
IngotMalachiteStorage007.enable()
ElseIf GetItemCount(IngotMalachite) == 8 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
IngotMalachiteStorage005.enable()
IngotMalachiteStorage006.enable()
IngotMalachiteStorage007.enable()
IngotMalachiteStorage008.enable()
ElseIf GetItemCount(IngotMalachite) == 9 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
IngotMalachiteStorage005.enable()
IngotMalachiteStorage006.enable()
IngotMalachiteStorage007.enable()
IngotMalachiteStorage008.enable()
IngotMalachiteStorage009.enable()
ElseIf GetItemCount(IngotMalachite) >= 10 ;Enable
IngotMalachiteStorage001.enable()
IngotMalachiteStorage002.enable()
IngotMalachiteStorage003.enable()
IngotMalachiteStorage004.enable()
IngotMalachiteStorage005.enable()
IngotMalachiteStorage006.enable()
IngotMalachiteStorage007.enable()
IngotMalachiteStorage008.enable()
IngotMalachiteStorage009.enable()
IngotMalachiteStorage010.enable()
ElseIf GetItemCount(IngotIMoonstone) == 1 ;Enable
IngotMoonstoneStorage001.enable()
ElseIf GetItemCount(IngotIMoonstone) == 2 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
ElseIf GetItemCount(IngotIMoonstone) == 3 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
ElseIf GetItemCount(IngotIMoonstone) == 4 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
ElseIf GetItemCount(IngotIMoonstone) == 5 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
IngotMoonstoneStorage005.enable()
ElseIf GetItemCount(IngotIMoonstone) == 6 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
IngotMoonstoneStorage005.enable()
IngotMoonstoneStorage006.enable()
ElseIf GetItemCount(IngotIMoonstone) == 7 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
IngotMoonstoneStorage005.enable()
IngotMoonstoneStorage006.enable()
IngotMoonstoneStorage007.enable()
ElseIf GetItemCount(IngotIMoonstone) == 8 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
IngotMoonstoneStorage005.enable()
IngotMoonstoneStorage006.enable()
IngotMoonstoneStorage007.enable()
IngotMoonstoneStorage008.enable()
ElseIf GetItemCount(IngotIMoonstone) == 9 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
IngotMoonstoneStorage005.enable()
IngotMoonstoneStorage006.enable()
IngotMoonstoneStorage007.enable()
IngotMoonstoneStorage008.enable()
IngotMoonstoneStorage009.enable()
ElseIf GetItemCount(IngotIMoonstone) >= 10 ;Enable
IngotMoonstoneStorage001.enable()
IngotMoonstoneStorage002.enable()
IngotMoonstoneStorage003.enable()
IngotMoonstoneStorage004.enable()
IngotMoonstoneStorage005.enable()
IngotMoonstoneStorage006.enable()
IngotMoonstoneStorage007.enable()
IngotMoonstoneStorage008.enable()
IngotMoonstoneStorage009.enable()
IngotMoonstoneStorage010.enable()
ElseIf GetItemCount(IngotOrichalcum) == 1 ;Enable
IngotOrichalcumStorage001.enable()
ElseIf GetItemCount(IngotOrichalcum) == 2 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
ElseIf GetItemCount(IngotOrichalcum) == 3 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
ElseIf GetItemCount(IngotOrichalcum) == 4 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
ElseIf GetItemCount(IngotOrichalcum) == 5 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
ElseIf GetItemCount(IngotOrichalcum) == 6 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
IngotOrichalcumStorage006.enable()
ElseIf GetItemCount(IngotOrichalcum) == 7 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
IngotOrichalcumStorage006.enable()
IngotOrichalcumStorage007.enable()
ElseIf GetItemCount(IngotOrichalcum) == 8 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
IngotOrichalcumStorage006.enable()
IngotOrichalcumStorage007.enable()
IngotOrichalcumStorage008.enable()
ElseIf GetItemCount(IngotOrichalcum) == 9 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
IngotOrichalcumStorage006.enable()
IngotOrichalcumStorage007.enable()
IngotOrichalcumStorage008.enable()
IngotOrichalcumStorage009.enable()
ElseIf GetItemCount(IngotOrichalcum) == 10 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
IngotOrichalcumStorage006.enable()
IngotOrichalcumStorage007.enable()
IngotOrichalcumStorage008.enable()
IngotOrichalcumStorage009.enable()
IngotOrichalcumStorage010.enable()
ElseIf GetItemCount(IngotOrichalcum) >= 11 ;Enable
IngotOrichalcumStorage001.enable()
IngotOrichalcumStorage002.enable()
IngotOrichalcumStorage003.enable()
IngotOrichalcumStorage004.enable()
IngotOrichalcumStorage005.enable()
IngotOrichalcumStorage006.enable()
IngotOrichalcumStorage007.enable()
IngotOrichalcumStorage008.enable()
IngotOrichalcumStorage009.enable()
IngotOrichalcumStorage010.enable()
IngotOrichalcumStorage011.enable()
ElseIf GetItemCount(IngotQuicksilver) == 1 ;Enable
IngotQuicksilverStorage001.enable()
ElseIf GetItemCount(IngotQuicksilver) == 2 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
ElseIf GetItemCount(IngotQuicksilver) == 3 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
ElseIf GetItemCount(IngotQuicksilver) == 4 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
ElseIf GetItemCount(IngotQuicksilver) == 5 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
ElseIf GetItemCount(IngotQuicksilver) == 6 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
ElseIf GetItemCount(IngotQuicksilver) == 7 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
IngotQuicksilverStorage007.enable()
ElseIf GetItemCount(IngotQuicksilver) == 8 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
IngotQuicksilverStorage007.enable()
IngotQuicksilverStorage008.enable()
ElseIf GetItemCount(IngotQuicksilver) == 9 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
IngotQuicksilverStorage007.enable()
IngotQuicksilverStorage008.enable()
IngotQuicksilverStorage009.enable()
ElseIf GetItemCount(IngotQuicksilver) == 10 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
IngotQuicksilverStorage007.enable()
IngotQuicksilverStorage008.enable()
IngotQuicksilverStorage009.enable()
IngotQuicksilverStorage010.enable()
ElseIf GetItemCount(IngotQuicksilver) == 11 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
IngotQuicksilverStorage007.enable()
IngotQuicksilverStorage008.enable()
IngotQuicksilverStorage009.enable()
IngotQuicksilverStorage010.enable()
IngotQuicksilverStorage011.enable()
ElseIf GetItemCount(IngotQuicksilver) >= 12 ;Enable
IngotQuicksilverStorage001.enable()
IngotQuicksilverStorage002.enable()
IngotQuicksilverStorage003.enable()
IngotQuicksilverStorage004.enable()
IngotQuicksilverStorage005.enable()
IngotQuicksilverStorage006.enable()
IngotQuicksilverStorage007.enable()
IngotQuicksilverStorage008.enable()
IngotQuicksilverStorage009.enable()
IngotQuicksilverStorage010.enable()
IngotQuicksilverStorage011.enable()
IngotQuicksilverStorage012.enable()
ElseIf GetItemCount(IngotSilver) == 1 ;Enable
IngotSilverStorage001.enable()
ElseIf GetItemCount(IngotSilver) == 2 ;Enable
IngotSilverStorage001.enable()
IngotSilverStorage002.enable()
ElseIf GetItemCount(IngotSilver) == 3 ;Enable
IngotSilverStorage001.enable()
IngotSilverStorage002.enable()
IngotSilverStorage003.enable()
ElseIf GetItemCount(IngotSilver) == 4 ;Enable
IngotSilverStorage001.enable()
IngotSilverStorage002.enable()
IngotSilverStorage003.enable()
IngotSilverStorage004.enable()
ElseIf GetItemCount(IngotSilver) == 5 ;Enable
IngotSilverStorage001.enable()
IngotSilverStorage002.enable()
IngotSilverStorage003.enable()
IngotSilverStorage004.enable()
IngotSilverStorage005.enable()
ElseIf GetItemCount(IngotSilver) >= 6 ;Enable
IngotSilverStorage001.enable()
IngotSilverStorage002.enable()
IngotSilverStorage003.enable()
IngotSilverStorage004.enable()
IngotSilverStorage005.enable()
IngotSilverStorage006.enable()
ElseIf GetItemCount(IngotSteel) == 1 ;Enable
IngotSteelStorage001.enable()
ElseIf GetItemCount(IngotSteel) == 2 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
ElseIf GetItemCount(IngotSteel) == 3 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
ElseIf GetItemCount(IngotSteel) == 4 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
ElseIf GetItemCount(IngotSteel) == 5 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
ElseIf GetItemCount(IngotSteel) == 6 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
ElseIf GetItemCount(IngotSteel) == 7 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
ElseIf GetItemCount(IngotSteel) == 8 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
ElseIf GetItemCount(IngotSteel) == 9 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
ElseIf GetItemCount(IngotSteel) == 10 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
IngotSteelStorage010.enable()
ElseIf GetItemCount(IngotSteel) == 11 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
IngotSteelStorage010.enable()
IngotSteelStorage011.enable()
ElseIf GetItemCount(IngotSteel) == 12 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
IngotSteelStorage010.enable()
IngotSteelStorage011.enable()
IngotSteelStorage012.enable()
ElseIf GetItemCount(IngotSteel) == 13 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
IngotSteelStorage010.enable()
IngotSteelStorage011.enable()
IngotSteelStorage012.enable()
IngotSteelStorage013.enable()
ElseIf GetItemCount(IngotSteel) == 14 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
IngotSteelStorage010.enable()
IngotSteelStorage011.enable()
IngotSteelStorage012.enable()
IngotSteelStorage013.enable()
IngotSteelStorage014.enable()
ElseIf GetItemCount(IngotSteel) >= 15 ;Enable
IngotSteelStorage001.enable()
IngotSteelStorage002.enable()
IngotSteelStorage003.enable()
IngotSteelStorage004.enable()
IngotSteelStorage005.enable()
IngotSteelStorage006.enable()
IngotSteelStorage007.enable()
IngotSteelStorage008.enable()
IngotSteelStorage009.enable()
IngotSteelStorage010.enable()
IngotSteelStorage011.enable()
IngotSteelStorage012.enable()
IngotSteelStorage013.enable()
IngotSteelStorage014.enable()
IngotSteelStorage015.enable()
EndIf
EndEvent

Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If GetItemCount(IngotCorundum) == 0 ;disable
IngotCorundumStorage001.disable()
IngotCorundumStorage002.disable()
IngotCorundumStorage003.disable()
IngotCorundumStorage004.disable()
IngotCorundumStorage005.disable()
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 1 ;disable
IngotCorundumStorage002.disable()
IngotCorundumStorage003.disable()
IngotCorundumStorage004.disable()
IngotCorundumStorage005.disable()
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 2 ;disable
IngotCorundumStorage003.disable()
IngotCorundumStorage004.disable()
IngotCorundumStorage005.disable()
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 3 ;disable
IngotCorundumStorage004.disable()
IngotCorundumStorage005.disable()
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 4 ;disable
IngotCorundumStorage005.disable()
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 5 ;disable
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 6 ;disable
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 7 ;disable
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 8 ;disable
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 9 ;disable
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 10 ;disable
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 11 ;disable
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 12 ;disable
ElseIf GetItemCount(IngotDwarven) == 0 ;disable
IngotDwarvenStorage001.disable()
IngotDwarvenStorage002.disable()
IngotDwarvenStorage003.disable()
IngotDwarvenStorage004.disable()
IngotDwarvenStorage005.disable()
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 1 ;disable
IngotDwarvenStorage002.disable()
IngotDwarvenStorage003.disable()
IngotDwarvenStorage004.disable()
IngotDwarvenStorage005.disable()
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 2 ;disable
IngotDwarvenStorage003.disable()
IngotDwarvenStorage004.disable()
IngotDwarvenStorage005.disable()
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 3 ;disable
IngotDwarvenStorage004.disable()
IngotDwarvenStorage005.disable()
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 4 ;disable
IngotDwarvenStorage005.disable()
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 5 ;disable
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 6 ;disable
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 7 ;disable
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 8 ;disable
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 9 ;disable
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 10 ;disable
ElseIf GetItemCount(IngotEbony) == 0 ;disable
IngotEbonyStorage001.disable()
IngotEbonyStorage002.disable()
IngotEbonyStorage003.disable()
IngotEbonyStorage004.disable()
IngotEbonyStorage005.disable()
IngotEbonyStorage006.disable()
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 1 ;disable
IngotEbonyStorage002.disable()
IngotEbonyStorage003.disable()
IngotEbonyStorage004.disable()
IngotEbonyStorage005.disable()
IngotEbonyStorage006.disable()
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 2 ;disable
IngotEbonyStorage003.disable()
IngotEbonyStorage004.disable()
IngotEbonyStorage005.disable()
IngotEbonyStorage006.disable()
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 3 ;disable
IngotEbonyStorage004.disable()
IngotEbonyStorage005.disable()
IngotEbonyStorage006.disable()
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 4 ;disable
IngotEbonyStorage005.disable()
IngotEbonyStorage006.disable()
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 5 ;disable
IngotEbonyStorage006.disable()
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 6 ;disable
IngotEbonyStorage007.disable()
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 7 ;disable
IngotEbonyStorage008.disable()
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 8 ;disable
IngotEbonyStorage009.disable()
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 9 ;disable
IngotEbonyStorage010.disable()
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 10 ;disable
IngotEbonyStorage011.disable()
ElseIf GetItemCount(IngotEbony) == 11 ;disable
ElseIf GetItemCount(IngotGold) == 0 ;disable
IngotGoldStorage001.disable()
IngotGoldStorage002.disable()
IngotGoldStorage003.disable()
IngotGoldStorage004.disable()
IngotGoldStorage005.disable()
ElseIf GetItemCount(IngotGold) == 1 ;disable
IngotGoldStorage002.disable()
IngotGoldStorage003.disable()
IngotGoldStorage004.disable()
IngotGoldStorage005.disable()
ElseIf GetItemCount(IngotGold) == 2 ;disable
IngotGoldStorage003.disable()
IngotGoldStorage004.disable()
IngotGoldStorage005.disable()
ElseIf GetItemCount(IngotGold) == 3 ;disable
IngotGoldStorage004.disable()
IngotGoldStorage005.disable()
ElseIf GetItemCount(IngotGold) == 4 ;disable
IngotGoldStorage005.disable()
ElseIf GetItemCount(IngotGold) == 5 ;disable
ElseIf GetItemCount(IngotIron) == 0 ;disable
IngotIronStorage001.disable()
IngotIronStorage002.disable()
IngotIronStorage003.disable()
IngotIronStorage004.disable()
IngotIronStorage005.disable()
IngotIronStorage006.disable()
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 1 ;disable
IngotIronStorage002.disable()
IngotIronStorage003.disable()
IngotIronStorage004.disable()
IngotIronStorage005.disable()
IngotIronStorage006.disable()
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 2 ;disable
IngotIronStorage003.disable()
IngotIronStorage004.disable()
IngotIronStorage005.disable()
IngotIronStorage006.disable()
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 3 ;disable
IngotIronStorage004.disable()
IngotIronStorage005.disable()
IngotIronStorage006.disable()
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 4 ;disable
IngotIronStorage005.disable()
IngotIronStorage006.disable()
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 5 ;disable
IngotIronStorage006.disable()
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 6 ;disable
IngotIronStorage007.disable()
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 7 ;disable
IngotIronStorage008.disable()
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 8 ;disable
IngotIronStorage009.disable()
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 9 ;disable
IngotIronStorage010.disable()
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 10 ;disable
IngotIronStorage011.disable()
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 11 ;disable
IngotIronStorage012.disable()
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 12 ;disable
IngotIronStorage013.disable()
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 13 ;disable
IngotIronStorage014.disable()
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 14 ;disable
IngotIronStorage015.disable()
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 15 ;disable
IngotIronStorage016.disable()
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 16 ;disable
IngotIronStorage017.disable()
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 17 ;disable
IngotIronStorage018.disable()
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 18 ;disable
IngotIronStorage019.disable()
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 19 ;disable
IngotIronStorage020.disable()
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 20 ;disable
IngotIronStorage021.disable()
ElseIf GetItemCount(IngotIron) == 21 ;disable
ElseIf GetItemCount(IngotMalachite) == 0 ;disable
IngotMalachiteStorage001.disable()
IngotMalachiteStorage002.disable()
IngotMalachiteStorage003.disable()
IngotMalachiteStorage004.disable()
IngotMalachiteStorage005.disable()
IngotMalachiteStorage006.disable()
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 1 ;disable
IngotMalachiteStorage002.disable()
IngotMalachiteStorage003.disable()
IngotMalachiteStorage004.disable()
IngotMalachiteStorage005.disable()
IngotMalachiteStorage006.disable()
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 2 ;disable
IngotMalachiteStorage003.disable()
IngotMalachiteStorage004.disable()
IngotMalachiteStorage005.disable()
IngotMalachiteStorage006.disable()
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 3 ;disable
IngotMalachiteStorage004.disable()
IngotMalachiteStorage005.disable()
IngotMalachiteStorage006.disable()
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 4 ;disable
IngotMalachiteStorage005.disable()
IngotMalachiteStorage006.disable()
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 5 ;disable
IngotMalachiteStorage006.disable()
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 6 ;disable
IngotMalachiteStorage007.disable()
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 7 ;disable
IngotMalachiteStorage008.disable()
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 8 ;disable
IngotMalachiteStorage009.disable()
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 9 ;disable
IngotMalachiteStorage010.disable()
ElseIf GetItemCount(IngotMalachite) == 10 ;disable
ElseIf GetItemCount(IngotIMoonstone) == 0 ;disable
IngotMoonstoneStorage001.disable()
IngotMoonstoneStorage002.disable()
IngotMoonstoneStorage003.disable()
IngotMoonstoneStorage004.disable()
IngotMoonstoneStorage005.disable()
IngotMoonstoneStorage006.disable()
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 1 ;disable
IngotMoonstoneStorage002.disable()
IngotMoonstoneStorage003.disable()
IngotMoonstoneStorage004.disable()
IngotMoonstoneStorage005.disable()
IngotMoonstoneStorage006.disable()
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 2 ;disable
IngotMoonstoneStorage003.disable()
IngotMoonstoneStorage004.disable()
IngotMoonstoneStorage005.disable()
IngotMoonstoneStorage006.disable()
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 3 ;disable
IngotMoonstoneStorage004.disable()
IngotMoonstoneStorage005.disable()
IngotMoonstoneStorage006.disable()
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 4 ;disable
IngotMoonstoneStorage005.disable()
IngotMoonstoneStorage006.disable()
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 5 ;disable
IngotMoonstoneStorage006.disable()
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 6 ;disable
IngotMoonstoneStorage007.disable()
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 7 ;disable
IngotMoonstoneStorage008.disable()
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 8 ;disable
IngotMoonstoneStorage009.disable()
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 9 ;disable
IngotMoonstoneStorage010.disable()
ElseIf GetItemCount(IngotIMoonstone) == 10 ;disable
ElseIf GetItemCount(IngotOrichalcum) == 0 ;disable
IngotOrichalcumStorage001.disable()
IngotOrichalcumStorage002.disable()
IngotOrichalcumStorage003.disable()
IngotOrichalcumStorage004.disable()
IngotOrichalcumStorage005.disable()
IngotOrichalcumStorage006.disable()
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 1 ;disable
IngotOrichalcumStorage002.disable()
IngotOrichalcumStorage003.disable()
IngotOrichalcumStorage004.disable()
IngotOrichalcumStorage005.disable()
IngotOrichalcumStorage006.disable()
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 2 ;disable
IngotOrichalcumStorage003.disable()
IngotOrichalcumStorage004.disable()
IngotOrichalcumStorage005.disable()
IngotOrichalcumStorage006.disable()
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 3 ;disable
IngotOrichalcumStorage004.disable()
IngotOrichalcumStorage005.disable()
IngotOrichalcumStorage006.disable()
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 4 ;disable
IngotOrichalcumStorage005.disable()
IngotOrichalcumStorage006.disable()
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 5 ;disable
IngotOrichalcumStorage006.disable()
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 6 ;disable
IngotOrichalcumStorage007.disable()
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 7 ;disable
IngotOrichalcumStorage008.disable()
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 8 ;disable
IngotOrichalcumStorage009.disable()
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 9 ;disable
IngotOrichalcumStorage010.disable()
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 10 ;disable
IngotOrichalcumStorage011.disable()
ElseIf GetItemCount(IngotOrichalcum) == 11 ;disable
ElseIf GetItemCount(IngotQuicksilver) == 0 ;disable
IngotQuicksilverStorage001.disable()
IngotQuicksilverStorage002.disable()
IngotQuicksilverStorage003.disable()
IngotQuicksilverStorage004.disable()
IngotQuicksilverStorage005.disable()
IngotQuicksilverStorage006.disable()
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 1 ;disable
IngotQuicksilverStorage002.disable()
IngotQuicksilverStorage003.disable()
IngotQuicksilverStorage004.disable()
IngotQuicksilverStorage005.disable()
IngotQuicksilverStorage006.disable()
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 2 ;disable
IngotQuicksilverStorage003.disable()
IngotQuicksilverStorage004.disable()
IngotQuicksilverStorage005.disable()
IngotQuicksilverStorage006.disable()
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 3 ;disable
IngotQuicksilverStorage004.disable()
IngotQuicksilverStorage005.disable()
IngotQuicksilverStorage006.disable()
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 4 ;disable
IngotQuicksilverStorage005.disable()
IngotQuicksilverStorage006.disable()
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 5 ;disable
IngotQuicksilverStorage006.disable()
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 6 ;disable
IngotQuicksilverStorage007.disable()
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 7 ;disable
IngotQuicksilverStorage008.disable()
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 8 ;disable
IngotQuicksilverStorage009.disable()
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 9 ;disable
IngotQuicksilverStorage010.disable()
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 10 ;disable
IngotQuicksilverStorage011.disable()
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 11 ;disable
IngotQuicksilverStorage012.disable()
ElseIf GetItemCount(IngotQuicksilver) == 12 ;disable
ElseIf GetItemCount(IngotSilver) == 0 ;disable
IngotSilverStorage001.disable()
IngotSilverStorage002.disable()
IngotSilverStorage003.disable()
IngotSilverStorage004.disable()
IngotSilverStorage005.disable()
IngotSilverStorage006.disable()
ElseIf GetItemCount(IngotSilver) == 1 ;disable
IngotSilverStorage002.disable()
IngotSilverStorage003.disable()
IngotSilverStorage004.disable()
IngotSilverStorage005.disable()
IngotSilverStorage006.disable()
ElseIf GetItemCount(IngotSilver) == 2 ;disable
IngotSilverStorage003.disable()
IngotSilverStorage004.disable()
IngotSilverStorage005.disable()
IngotSilverStorage006.disable()
ElseIf GetItemCount(IngotSilver) == 3 ;disable
IngotSilverStorage004.disable()
IngotSilverStorage005.disable()
IngotSilverStorage006.disable()
ElseIf GetItemCount(IngotSilver) == 4 ;disable
IngotSilverStorage005.disable()
IngotSilverStorage006.disable()
ElseIf GetItemCount(IngotSilver) == 5 ;disable
IngotSilverStorage006.disable()
ElseIf GetItemCount(IngotSilver) == 6 ;disable
ElseIf GetItemCount(IngotSteel) == 0 ;disable
IngotSteelStorage001.disable()
IngotSteelStorage002.disable()
IngotSteelStorage003.disable()
IngotSteelStorage004.disable()
IngotSteelStorage005.disable()
IngotSteelStorage006.disable()
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 1 ;disable
IngotSteelStorage002.disable()
IngotSteelStorage003.disable()
IngotSteelStorage004.disable()
IngotSteelStorage005.disable()
IngotSteelStorage006.disable()
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 2 ;disable
IngotSteelStorage003.disable()
IngotSteelStorage004.disable()
IngotSteelStorage005.disable()
IngotSteelStorage006.disable()
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 3 ;disable
IngotSteelStorage004.disable()
IngotSteelStorage005.disable()
IngotSteelStorage006.disable()
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 4 ;disable
IngotSteelStorage005.disable()
IngotSteelStorage006.disable()
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 5 ;disable
IngotSteelStorage006.disable()
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 6 ;disable
IngotSteelStorage007.disable()
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 7 ;disable
IngotSteelStorage008.disable()
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 8 ;disable
IngotSteelStorage009.disable()
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 9 ;disable
IngotSteelStorage010.disable()
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 10 ;disable
IngotSteelStorage011.disable()
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 11 ;disable
IngotSteelStorage012.disable()
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 12 ;disable
IngotSteelStorage013.disable()
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 13 ;disable
IngotSteelStorage014.disable()
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 14 ;disable
IngotSteelStorage015.disable()
ElseIf GetItemCount(IngotSteel) == 15 ;disable
EndIf
EndEvent

 

 

 

In the End I wrote one script for every Ingot-Type, which works fine. But still interested to know if there is a more practical approach to it.

 

 

To

2. I tried the following code but it never worked, what am I missing?

 

 

Event OnCellAttach()
If GetItemCount(IngotCorundum) == 0 ;disable
IngotCorundumStorage001.disable()
IngotCorundumStorage002.disable()
IngotCorundumStorage003.disable()
IngotCorundumStorage004.disable()
IngotCorundumStorage005.disable()
IngotCorundumStorage006.disable()
IngotCorundumStorage007.disable()
IngotCorundumStorage008.disable()
IngotCorundumStorage009.disable()
IngotCorundumStorage010.disable()
IngotCorundumStorage011.disable()
IngotCorundumStorage012.disable()
ElseIf GetItemCount(IngotCorundum) == 1 ;Enable
IngotCorundumStorage001.enable()
ElseIf GetItemCount(IngotCorundum) == 2 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
ElseIf GetItemCount(IngotCorundum) == 3 ;Enable
IngotCorundumStorage001.enable()
IngotCorundumStorage002.enable()
IngotCorundumStorage003.enable()
....

 

 

 

Event OnCellLoad()
If GetItemCount(IngotEbony) == 1 ;Enable
IngotEbonyStorage001.enable()
ElseIf GetItemCount(IngotEbony) == 2 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
ElseIf GetItemCount(IngotEbony) == 3 ;Enable
IngotEbonyStorage001.enable()
IngotEbonyStorage002.enable()
IngotEbonyStorage003.enable()

....

 

 

 

Event OnLoad()
If GetItemCount(IngotDwarven) == 0 ;disable
IngotDwarvenStorage001.disable()
IngotDwarvenStorage002.disable()
IngotDwarvenStorage003.disable()
IngotDwarvenStorage004.disable()
IngotDwarvenStorage005.disable()
IngotDwarvenStorage006.disable()
IngotDwarvenStorage007.disable()
IngotDwarvenStorage008.disable()
IngotDwarvenStorage009.disable()
IngotDwarvenStorage010.disable()
ElseIf GetItemCount(IngotDwarven) == 1 ;Enable
IngotDwarvenStorage001.enable()
ElseIf GetItemCount(IngotDwarven) == 2 ;Enable
IngotDwarvenStorage001.enable()
IngotDwarvenStorage002.enable()

......

 

 

I tried it on Objects being "Initially Disabled" and enabled, it never worked. Yes, I entered from outside into the house, I did not spawn inside.

 

 

Hope someone can help me with these problems.

Thanks BlimkeTi

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...