#==============================================================================# ** Event Swim Mode#------------------------------------------------------------------------------# Ermöglicht einen Event sich zu bewegen wie ein Schiff#==============================================================================class Game_Event < Game_Character #-------------------------------------------------------------------------- # * Swim Mode On? #-------------------------------------------------------------------------- def swimmode? @event.name.upcase.include?('FISH') end #-------------------------------------------------------------------------- # * Determine if Passable # x : x-coordinate # y : y-coordinate #-------------------------------------------------------------------------- def passable?(x, y) return false if collide_with_characters?(x, y) unless @through return $game_map.ship_passable?(x, y) if swimmode? super(x, y) endend
[...]und da gilt meist, wer kommt, malt zuerst[...]