Hey! I just started learning Denizen and I came up with an idea of how to make the furnace send an announce or narrate to the player when the items are smelted or the fuel depletes, I used some events but I cannot get it to:
- narrate to the player when the items are smelted
- check the furnace inventory to see if there is nothing left to smelt
- same as 2. but checking if there is no fuel left
this is a snippet of my script, i deleted all the rest
on furnace starts smelting item:
- define location <context.location>
- foreach <player.location.find_players_within[2]> as:players:
- narrate "Hey <[players]> Your furnace at <[location]> started smelting <context.source_item>"