Franke004

  • Content Count

    76
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Franke004

  • Rank
    Junior Member
...

Recent Profile Visitors

585 profile views
  1. Thanks , what do i have to put in ' --STUFF GOES HERE-- hm.... imma try to put something like nightmare fuel something something
  2. So , i made my character eat nightmare fuel and upgrade something like wx but i want that upgrade to decay over time so he has to eat more , how do i do that ? someone please help me out
  3. So my character has a feature that when he eats nightmarefuel he upgrades , can someone tell me how can i add like a healthbar and make them decay over time , cause i would love to add that feature , that would balance him out
  4. Thanks a lot alain ! pickleplayer made it work ! and you helped me aswell , ! im gonna credit you when im gonna post the mod
  5. so what should i do with this mod , cause its just not working , im trying my best ... this is hard....
  6. welp added it , doesnt crash but cant eat the nightmare fuel
  7. well removed the stuff from the modmain and now its not edible
  8. local function oneat(inst, food) if food and food.prefab == "nightmarefuel" then --give an upgrade! inst.level = inst.level + 1 applyupgrades(inst) print("wubdub1") inst.SoundEmitter:PlaySound("dontstarve/characters/wx78/levelup") end end like this ?
  9. Well imma send you the modmain.lua , idk , i tried my best ;-; modmain.lua
  10. Ok i did it , wubdub2 and wubdub1 dont show up , so it means it does not load ? you have everything down there , a screenshot and the lua of the char... i dont have any ideas on what to do hiroki.lua
  11. well idk , code: local function oneat(inst, food) if food and food.components.edible and food.components.edible.foodtype == FOODTYPE.NIGHTMAREFUEL then --give an upgrade! inst.level = inst.level + 1 applyupgrades(inst) print("test1") inst.SoundEmitter:PlaySound("dontstarve/characters/wx78/levelup") end end and you have the pic below after i ate 1 , nothing happend... again
  12. ok thank you! i will try it in about 50-60 min , i took a break a lil
  13. local master_postinit = function(inst) inst.level = 0 inst.soundsname = "maxwell" inst.components.eater:SetOnEatFn(oneat) applyupgrades(inst) print("test1") Here , no it does not say anything