Date: 2023/12/10 22:48:26 UTC-08:00
Type: Denizen Script
above_clouds_events:
type: world
debug: true
events:
on player equips cursed_boots_item:
- if <cuboid[above_clouds_boots_area].contains[<player.location>]>:
- flag player jump_boots
- cast jump duration:infinite amplifier:5 hide_particles no_icon no_ambient
- narrate "<green><bold>Effect is now on"
- else:
- narrate "<red> This Item only works at the floating isle."
on player unequips cursed_boots_item:
- if <player.has_flag[jump_boots]>:
- flag player jump_boots:!
- cast jump remove
- narrate "<red><bold>Effect is now off"
on player jumps flagged:jump_boots:
- adjust <player> velocity:<player.location.direction.vector.mul[2]>
on player damaged by fall flagged:jump_boots:
- determine cancelled