Date: 2014/08/29 14:39:55 UTC-07:00
Type: Denizen Script
lanterns and torches:
type: world
debug: false
events:
on player steps on block:
- if <player.inventory.contains[i@lantern]> && '<w@adventure map.time>' > 16000 && '<w@adventure map.time>' < 23000 {
- showfake <context.new_location.add[0,-1,0]> m@glowstone d:5s
- showfake <context.previous_location.add[0,-1,0]> m@glowstone d:1t
}
- if <player.item_in_hand> == i@torch && '<w@adventure map.time>' > 16000 && '<w@adventure map.time>' < 23000 {
- showfake <context.new_location.add[0,-1,0]> m@glowstone d:3s
- showfake <context.previous_location.add[0,-1,0]> m@glowstone d:1t
}
lantern:
type: item
material: m@beacon
display name: lantern
lore:
- lights your way in the dark