Date: 2015/03/12 18:58:31 UTC-07:00
Type: Denizen Script
Bob:
type: assignment
interact scripts:
- 10 Builder
on assignment:
- trigger name:proximity toggle:true
- lookclose state:true
Builder:
type:interact
steps:
1:
proximity trigger:
entry:
script:
- 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 {
- chat "Could you fetch me 10 dark oak logs please?"
- chat "in this chest is an axe you can use"
}