yojimbos_law

alias for examining candy in inventory

Oct 3rd, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ash foreach i,j in get_inventory(){if(i.candy == true)print_html(i.name+" (count: "+j+") is "+i.candy_type);}
  2.  
  3. more verbose and (attempting and succeeding in being) ordered based on complexity and ID%5 :
  4. ash string [int] type;
  5. type[0] = "complex";
  6. type[1] = "simple";
  7. for cock from 0 to 1 {
  8. for m from 0 to 4 {
  9. foreach i,j in get_inventory(){
  10. int butts = i.to_int();
  11. butts %= 5;
  12. if(butts == m && i.candy == true && i.candy_type == type[cock]){
  13. print_html(i.name+" (count: "+j+", itemID%5: "+butts+") is "+type[cock]);
  14. }
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment