Advertisement
WriteEscape

Untitled

Mar 12th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.76 KB | None | 0 0
  1. "Bob":
  2.   type: assignment
  3.   interact scripts:
  4.  - 10 Builder
  5.   actions:
  6.   on assignment:
  7.  - trigger name:proximity toggle:true
  8.   - lookclose state:true
  9. "Builder":
  10.  type:interact
  11.   steps:
  12.     1:
  13.       proximity trigger:
  14.          entry:
  15.            script:
  16.           - if <player.inventory.contains[darkoak_log].qty[10]>
  17.           {
  18.              - chat "Thank you for collecting the 10 logs I needed for your house"
  19.              - execute as_npc "builder <npc.id> load house1"
  20.              - execute as_npc "builder <npc.id> origin schematic"
  21.              - execute as_npc "builder <npc.id> build"
  22.            } else {
  23.              - chat "Could you fetch me 10 dark oak logs please?"
  24.              - chat "in this chest is an axe you can use"
  25.            }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement