HunkInsland13 Posted April 28, 2014 Share Posted April 28, 2014 Somebody can tell me how i can make Wigfrid eat everything, not just meat.Please help. Link to comment Share on other sites More sharing options...
JackSlender Posted April 28, 2014 Share Posted April 28, 2014 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 More sharing options...
MidrealmDM Posted April 29, 2014 Share Posted April 29, 2014 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 More sharing options...
HunkInsland13 Posted April 29, 2014 Author Share Posted April 29, 2014 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 More sharing options...
MidrealmDM Posted April 29, 2014 Share Posted April 29, 2014 Well, despite the fact that you ignored my question (frowns) which I thought was very rude Trylocal function SetEat(inst) inst.components.eater:SetCarnivore(false)endAddPrefabPostInit("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 More sharing options...
JackSlender Posted April 29, 2014 Share Posted April 29, 2014 Whoops, you need both SetCarnivore(false) and SetOmnivore(true) for it to work. Link to comment Share on other sites More sharing options...
HunkInsland13 Posted April 30, 2014 Author Share Posted April 30, 2014 Well, despite the fact that you ignored my question (frowns) which I thought was very rude Trylocal function SetEat(inst) inst.components.eater:SetCarnivore(false)endAddPrefabPostInit("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 More sharing options...
Recommended Posts
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.