A quick and dirty script for something that I am stunned is not a builtin feature.
Very simple, this allows you to make waterbound events.
Add a comment to any event containing [waterbound] and it will become able to move on water, and unable to move on land.
That's it; doesn't really need screenshots or jazz. It's public domain, so don't worry about credit or permission or anything. Go nuts.
Code:
# Waterbound 1.0 (3/23/15) -by avarisc #
# * Add a comment to an event containing "[waterbound]" (without quotes)
# The event will then be able to move on water, and unable to walk on land.
# License: Public Domain. Have a blast.
#==============================================================================#
class Game_Event < Game_Character
def check_waterbound(page)
command_list = page.list
(0..command_list.length - 2).each {|k|
command = command_list[k]
next if command.code != 108
@waterbound = true if command.parameters[0][/waterbound/]
}
end
alias refresh_waterbound_game_character refresh
def refresh
refresh_waterbound_game_character
@waterbound = false
if @page then check_waterbound(@page) end
end
end
class Game_CharacterBase
def map_passable?(x, y, d)
return $game_map.boat_passable?(x, y) if @waterbound
return $game_map.passable?(x, y, d)
end
end