Advertisement
yojimbos_law

booze that crafts into food

May 26th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. > ashref recip
  2.  
  3. > ashref ingred
  4.  
  5. int [item] get_ingredients( item )
  6.  
  7. > foreach i in $items[]{if(i.food){ foreach j in i.get_ingredients(if(j.inebriety > 0) print(j+" is booze that crafts into "+i+", a food");}}
  8.  
  9. Unable to invoke foreach
  10.  
  11. > ash foreach i in $items[]{if(i.food){ foreach j in i.get_ingredients(if(j.inebriety > 0) print(j+" is booze that crafts into "+i+", a food");}}
  12.  
  13. Invalid field name 'food' ()
  14. Returned: void
  15.  
  16. > ash foreach i in $items[]{if(i.fullness > 0){ foreach j in i.get_ingredients(if(j.inebriety > 0) print(j+" is booze that crafts into "+i+", a food");}}
  17.  
  18. Unknown variable 'j' ()
  19. Returned: void
  20.  
  21. > ash foreach i in $items[]{if(i.fullness > 0){ foreach j in i.get_ingredients{if(j.inebriety > 0) print(j+" is booze that crafts into "+i+", a food");}}
  22.  
  23. Invalid field name 'get_ingredients' ()
  24. Returned: void
  25.  
  26. > ash foreach i in $items[]{if(i.fullness > 0){ foreach j in i.get_ingredients(){if(j.inebriety > 0) print(j+" is booze that crafts into "+i+", a food");}}
  27.  
  28. Expected }, found ; ()
  29. Returned: void
  30.  
  31. > ash foreach i in $items[]{if(i.fullness > 0){ foreach j in i.get_ingredients(){if(j.inebriety > 0) print(j+" is booze that crafts into "+i+", a food");}}}
  32.  
  33. McMillicancuddy's Special Lager is booze that crafts into beer basted brat, a food
  34. bottle of vodka is booze that crafts into red drunki-bear, a food
  35. bottle of vodka is booze that crafts into green drunki-bear, a food
  36. bottle of vodka is booze that crafts into yellow drunki-bear, a food
  37. Returned: void
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement