Jump to content

Wigfrid?


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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...