Skip to content

Cows might have wrong stomach #43642

@Baa14453

Description

@Baa14453

What version did the issue occur in?

No response

Description

Cows are Ruminant mobs but due to their parental inheritance order, they are getting OrganAnimalStomach instead of OrganRuminantStomach.
This changes their digestion and what they want to eat.

I'm unsure which one they are supposed to have exactly. I'm guessing OrganRuminantStomach.

- type: entity
id: BaseMobAnimal
abstract: true
components:
- type: Body
- type: EntityTableContainerFill
containers:
body_organs: !type:AllSelector
children:
- id: OrganAnimalLungs
- id: OrganAnimalHeart
- id: OrganAnimalStomach
- id: OrganAnimalLiver
- id: OrganAnimalKidneys

- type: entity
id: BaseMobRuminant
abstract: true
components:
- type: Body
- type: EntityTableContainerFill
containers:
body_organs: !type:AllSelector
children:
- id: OrganAnimalLungs
- id: OrganAnimalHeart
- id: OrganRuminantStomach
- id: OrganAnimalLiver
- id: OrganAnimalKidneys

- type: entity
name: cow
parent: [ SimpleMobBase, BaseMobRuminant ]
id: MobCow
description: Moo.

I'm guessing their parents just need to be swapped, but unsure what other consequences this might have

Reproduction

  1. Spawn cow
  2. Try to feed it wheat (it won't eat it)
  3. Explode the cow :( and check what stomach it has

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: UntriagedStatus: Indicates an item has not been triaged and doesn't have appropriate labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions