Jump to content

Recommended Posts

You should be able to use a simple PrefabPostInit function for it.  Something like this might work:

local function SetEat(inst)    inst.components.eater:SetOmnivore()endAddPrefabPostInit("wigfrid", SetEat)

That may or may not work.  Tell me if it doesn't and I'll help some more.

Somebody can tell me how i can make Wigfrid eat everything, not just meat.

Please help.

 

You realize that, as her only disadvantage, removing it will make her broken?

 

Besides its not really much of a disadvantage, the most abundant food source is meat.

Edited by MidrealmDM

You should be able to use a simple PrefabPostInit function for it.  Something like this might work:

local function SetEat(inst)    inst.components.eater:SetOmnivore()endAddPrefabPostInit("wigfrid", SetEat)

That may or may not work.  Tell me if it doesn't and I'll help some more.

Thanks for your help but dosnt work, she still just eat meat.

Well, despite the fact that you ignored my question (frowns) which I thought was very rude

 

Try

local function SetEat(inst)
    inst.components.eater:SetCarnivore(false)
end
AddPrefabPostInit("wathgrithr", SetEat)

 

If all else fails you can edit her character file wathgrithr.lua and comment out the line that makes her carnivore.

 

replace

    inst.components.eater:SetCarnivore(true)

with

    -- inst.components.eater:SetCarnivore(true)

 

But that's not really a mod, you are changing the core game and future updates might change it back.

Well, despite the fact that you ignored my question (frowns) which I thought was very rude

 

Try

local function SetEat(inst)
    inst.components.eater:SetCarnivore(false)
end
AddPrefabPostInit("wathgrithr", SetEat)

 

If all else fails you can edit her character file wathgrithr.lua and comment out the line that makes her carnivore.

 

replace

    inst.components.eater:SetCarnivore(true)

with

    -- inst.components.eater:SetCarnivore(true)

 

But that's not really a mod, you are changing the core game and future updates might change it back.

Thanks, im sorry for be rude but understand, i make a few mods and i really fell motivated with just a person who liked my work but i really hate when i struggle for make a mod and i just read a coment: "I dont understand why you make more easy, you ruin the game"..

Tanks for your help.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...