Rats

Rats

14M Downloads

Multiple bugs and missing config options

Kryllex opened this issue ยท 1 comments

commented

I added some other bugs I found in the last day

  • Mob filter completely broken, when you click it to pick it up in your inventory after setting the mobs/selecting whitelist, it resets to an empty blacklist. Can be to be duplicated in creative mode and then put on rat to get it to work atm/so far. This is rlly old and I think has spanned many versions

  • Aquatic upgrade does not path underwater, at all

  • Bee upgrade (and maybe all flight based upgrades? But can't imagine that wouldnt be noticed yet so maybe its a different issue or something) stops rat from flying down from the sky to attack if the rat is given a target while already flying. If its on the ground it will run up to a target but if flying it just hovers far away, unable to attack, despite bee/flight not granting any ranged attack ability
    --flying in general just ruins melee AI / melee upgrades due to the inefficiency or not hitting at all

  • The biggest interference is that dragon rat upgrade fire breath has such a big hitbox, and originates from directly in front of your face, that once it starts shooting off of your head it

    1. blocks shift+punch to dismount rat
    1. blocks meleeing anything in front of you, mining any block, targeting any block, basically cant do anything at all while its shooting
    1. potentially blocks the target from being hit by other players
      -- It's probably because rat hitbox is INSIDE of player's head, maybe helps avoid suffocation but if the fire hitbox is a hittable projectile it should at least originate from higher up pretty pls
  • Rats set to Gather Items who leave their Radius Staff's radius to deposit into a chest or who go to their home will not return to the radius to continue their task. AI breaks and they just sit after depoting

  • The chest or home must be in the radius for it not to break the rat ai

  • config options to adjust max radius is not present in 1.20.1 forge, latest version of the mod as of 2/25

commented

In the future I would appreciate if each of these was its own issue as its a lot easier for me to keep track of whats been fixed. I obviously cant do this all at once as its a LOT of stuff.

As of writing this ive fixed the mob filter, flight issues, and the dragon fire blocking attacks .

The chest or home must be in the radius for it not to break the rat ai

This is intentional, the rat will only utilize blocks inside its radius. This is to save on block search and pathing operations. This also applies to rats that leave their search radiuses. I can look into making exceptions for points of interest but i'll have to make sure it doesnt have any performance impact