Paste #14469: Diff note for paste #14468

Date: 2015/03/12 18:58:31 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


-"Bob":
+Bob:
   type: assignment
   interact scripts:
   - 10 Builder
-  actions:
   on assignment:
   - trigger name:proximity toggle:true
   - lookclose state:true
-"Builder":
+Builder:
   type:interact
   steps:
     1:
       proximity trigger:
          entry:
            script:
-           - if <player.inventory.contains[darkoak_log].qty[10]>
+           - if <player.inventory.contains[darkoak_log].qty[10]> {
-           {
              - chat "Thank you for collecting the 10 logs I needed for your house"
              - execute as_npc "builder <npc.id> load house1"
              - execute as_npc "builder <npc.id> origin schematic"
              - execute as_npc "builder <npc.id> build"
-           } else {
+             } 
+             else {
              - chat "Could you fetch me 10 dark oak logs please?"
              - chat "in this chest is an axe you can use"
-           }
+             }