Advertisement
kolpastebin

unequip_item()

Oct 18th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. void unequip_item(item it)
  2. {
  3. foreach s in $slots[]
  4. {
  5. if (s.equipped_item() != it)
  6. continue;
  7. equip(s, $item[none]);
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement