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 https://forums.kleientertainment.com/forums/topic/35580-wigfrid/ 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 https://forums.kleientertainment.com/forums/topic/35580-wigfrid/#findComment-464323 Share on other sites More sharing options...
MidrealmDM Posted April 29, 2014 Share Posted April 29, 2014 (edited) 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 April 29, 2014 by MidrealmDM Link to comment https://forums.kleientertainment.com/forums/topic/35580-wigfrid/#findComment-464590 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 https://forums.kleientertainment.com/forums/topic/35580-wigfrid/#findComment-464615 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 https://forums.kleientertainment.com/forums/topic/35580-wigfrid/#findComment-464630 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 https://forums.kleientertainment.com/forums/topic/35580-wigfrid/#findComment-464694 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 https://forums.kleientertainment.com/forums/topic/35580-wigfrid/#findComment-465075 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now