- Joined
- Jul 23, 2009
- Messages
- 1,033
So I am trying to make a little system that makes apples stack together when picked up but im not very good a GUI so I need some help on this one :/

-
Stack apples
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Apple
-
-
Actions
-
Set Apples = (Apples + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Apples Greater than 1
-
-
Then - Actions
-
Item - Remove (Item being manipulated)
-
Item - Set charges remaining in Apple_item to ((Charges remaining in Apple_item) + 1)
-
-
Else - Actions
-
Set Apple_item = (Item being manipulated)
-
-
-
-
-
Reduce apples
-
Events
-
Unit - A unit Uses an item
-
Unit - A unit Loses an item
-
-
Conditions
-
(Hero manipulating item) Equal to Hero
-
(Item-type of (Item being manipulated)) Equal to Apple
-
Apples Greater than 1
-
-
Actions
-
Set Apples = (Apples - 1)
-
Hero - Create Apple and give it to Hero
-
Set Apple_item = (Last created item)
-
Item - Set charges remaining in Apple_item to Apples
-
-