- Joined
- Jun 7, 2008
- Messages
- 440
I have this trigger. It works out farely well. I have one problem however. I cannot set the remaining charges in any slot if all my inventory slots are full. Any ideas?
-
Events
-

Unit - A unit Acquires an item
-
-
Conditions
-

(Item-class of (Item being manipulated)) Equal to Charged
-
-
Actions
-

For each (Integer A) from 1 to 6, do (Actions)
-


Loop - Actions
-



If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-




If - Conditions
-





(Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to (Item-type of (Item being manipulated))
-





(Item carried by (Triggering unit) in slot (Integer A)) Not equal to (Item being manipulated)
-
-




Then - Actions
-





If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-






If - Conditions
-







(Charges remaining in (Item carried by (Triggering unit) in slot (Integer A))) Less than 10
-
-






Then - Actions
-







If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-








If - Conditions
-









((Charges remaining in (Item being manipulated)) + (Charges remaining in (Item carried by (Triggering unit) in slot (Integer A)))) Less than or equal to 10
-
-








Then - Actions
-









Item - Set charges remaining in (Item carried by (Triggering unit) in slot (Integer A)) to ((Charges remaining in (Item carried by (Triggering unit) in slot (Integer A))) + (Charges remaining in (Item being manipulated)))
-









Item - Remove (Item being manipulated)
-
-








Else - Actions
-
-
-






Else - Actions
-
-
-




Else - Actions
-
-
-
-
