I know you said find this:
def cavable_area?
tag_x = self.x + front_tile[0]
tag_y = self.y + front_tile[1]
for i in 3344..3390
return true if i == $game_map.data[tag_x, tag_y, 0]
end
return false
end
in the script if you wanted to change the fertile tiles, but you give absolutely no instruction on HOW to do that. Could you please explain? And if this identifies the fertile ground, is there a way to make more than three tiles fertile ground?
i believe this line handles it : for i in 3344..3390
3344..3390 means, from 3344 to 3390, which are the tile IDs if i'm not mistaken ^^
maybe this will work (i'm a scripting noob so might not work :p)
def cavable_area?
tag_x = self.x + front_tile[0]
tag_y = self.y + front_tile[1]
for i in 3344..3390
return true if i == $game_map.data[tag_x, tag_y, 0]
end
for i in 3344..3390 --------------------------------------------------------> put your IDs here ^^
return true if i == $game_map.data[tag_x, tag_y, 0]
end
return false
end