Advertisement
lostcalpolydude

chewgum

Aug 2nd, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. void main( string thing )
  2. {
  3. item wanted;
  4. if ( thing.contains_text( "acc" ) )
  5. {
  6. #wanted = $item[stolen accordion];
  7. print_html( "you want a toy accordion" );
  8. return;
  9. }
  10. else if ( thing.contains_text( "totem" ) )
  11. {
  12. wanted = $item[turtle totem];
  13. }
  14. else if ( thing.contains_text( "saucepan" ) )
  15. {
  16. wanted = $item[saucepan];
  17. }
  18. else
  19. {
  20. abort("not a valid item");
  21. }
  22.  
  23. while ( item_amount( wanted ) < 1 )
  24. {
  25. use( 1, $item[chewing gum on a string] );
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement