Skip to content

Monster pathing machine broke again #75009

Open
@Venera3

Description

Describe the bug

Monsters with PATH_AVOID_DANGER and/or avoid_dangerous_fields: true pathfinding settings walk through dangerous fields.

Attach save file

Debug-trimmed.tar.gz

Steps to reproduce

  1. Place a few fire fields (which should mean ´PATH_AVOID_DANGER´ mobs avoid them)
    1a. Load the appended save with a cute lil' monster gauntlet
  2. Place some mobs that should avoid fire
  3. Watch them not avoid it

Expected behavior

Monsters avoiding fire

Screenshots

image
Migo going through fire without a care in the world (this is both with the flag and the bool)
image
Migo avoiding sharp wreckage (slightly different location since the cheeky bastard insisted on going around the gauntlet.
image
Migo avoiding traps like a boss

Versions and configuration

Windows, built with VS, commit 38b05c284dcc2446b282f1ee7d306ecbf99e03d4

Additional context

This is a reproduction of a report from Discord, hence me going mad with power and self-confirming it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    (S2 - Confirmed)Bug that's been confirmed to exist<Bug>This needs to be fixedMonstersMonsters both friendly and unfriendly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions