Axe.killer
New Member
- Reaction score
- 24
Hello, is it possible for a hero to be allowed to carrry only 1 of a certain type of item at one time.
ItemOnce
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Cheese
(Item-type of (Item being manipulated)) Equal to Blood Key
(Item-type of (Item being manipulated)) Equal to Gem Fragment
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 (Hero manipulating item) in slot (Integer A))) Equal to (Item-type of (Item being manipulated))
(Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
Then - Actions
Hero - Drop the item from slot (Integer A) of (Hero manipulating item)
Quest - Display to (Player group((Owner of (Hero manipulating item)))) the Warning message: Sorry!
Else - Actions