Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. cheese_press:
  2. type: item
  3. material: burning_furnace
  4. display name: <&r><&l>Cheese Press
  5. lore:
  6. - <&4>Equipment
  7. - <&8><&m>--------------------
  8. - <&7>Turns milk into cheese.
  9.  
  10. cheese_press_handler:
  11. type: world
  12. events:
  13. on player clicks in furnace:
  14. - if <context.inventory.title.strip_color> == "Cheese Press" {
  15. - if <context.cursor_item.display_name.strip_color> == "Milk" {
  16. - narrate "Say cheese"
  17. - adjust <context.inventory.location> furnace_burn_time:2000
  18. - adjust <context.inventory.location> furnace_cook_time:2000
  19. } else {
  20. - narrate "No cheese for you"
  21. }
  22.  
  23. }
  24. on player opens furnace:
  25. - if <context.inventory.title.strip_color> == "Cheese Press" {
  26. - inventory set d:<context.inventory.location> slot:2 o:ore_coal
  27. }
  28. on player clicks ore_coal in furnace:
  29. - determine cancelled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement