Let flyers path over water and lava everywhere
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
574660e173
commit
1ef2239fbf
7 files changed
+85
-23
No files matched your search
+2
-2
@@ -263,7 +263,7 @@ impl Game {
|
||||
CRATED => {
|
||||
if cur != crate_tile {
|
||||
if e.path.is_empty() {
|
||||
match self.map.path_to(cur, crate_tile) {
|
||||
match self.map.creature_path(flies(e.kind), cur, crate_tile) {
|
||||
Some(p) => e.path = p,
|
||||
None => {
|
||||
self.traps[k].carrier = 0;
|
||||
@@ -279,7 +279,7 @@ impl Game {
|
||||
CARRIED => {
|
||||
if cur != tile {
|
||||
if e.path.is_empty() {
|
||||
match self.map.path_to(cur, tile) {
|
||||
match self.map.creature_path(flies(e.kind), cur, tile) {
|
||||
Some(p) => e.path = p,
|
||||
None => {
|
||||
// no way there: the crate goes back into the forge
|
||||
|
||||
Reference in new issue
Block a user