options: treehp:200 on break of oak wood: if {bopke::treehp::%location of event-block%} is not set: set {bopke::treehp::%location of event-block%} to {@treehp}-1 else if {bopke::treehp::%location of event-block%} > 0: cancel event subtract 1 from {bopke::treehp::%location of event-block%} else: add event-block to the player delete {bopke::treehp::%location of event-block%} send "&aZniszczyłeś ten blok drewna" to the player on right click on oak wood: if {bopke::treehp::%location of event-block%} is set: set {_hp} to {bopke::treehp::%location of event-block%} else: set {_hp} to 200 send "&6Wytrzymałość tego bloku drewna wynosi %{_hp}%" to the player