Advertisement
kolpastebin

ClosetWarOutfit.ash

Oct 27th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. void unequip(item it)
  2. {
  3. foreach s in $slots[]
  4. {
  5. if (s.equipped_item() != it)
  6. continue;
  7. equip(s, $item[none]);
  8. }
  9. }
  10.  
  11. void main()
  12. {
  13. foreach it in $items[beer helmet,distressed denim pants,bejeweled pledge pin,reinforced beaded headband,bullet-proof corduroys,round purple sunglasses]
  14. {
  15. if (it.equipped_amount() > 0)
  16. {
  17. unequip(it);
  18. }
  19. }
  20. cli_execute("closet put * beer helmet");
  21. cli_execute("closet put * distressed denim pants");
  22. cli_execute("closet put * bejeweled pledge pin");
  23. cli_execute("closet put * reinforced beaded headband");
  24. cli_execute("closet put * bullet-proof corduroys");
  25. cli_execute("closet put * round purple sunglasses");
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement