• Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About fixerhere

  • Rank
    Junior Member
  1. So when i try to compile my character this error shows up Exporting Exporting Animation[################################] 1/1 Error Exporting D:\Steam\steamapps\common\Don't Starve Together\mods\Aisaka\exported\aisaka\ 'int' object is not subscriptableTraceback (most recent call last): File "D:\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\exported\..\tools\scripts\", line 529, in <module> ExportBuild( endianstring, zip_file, buildxml, outzip, not results.skipantialias, results.platform, results.textureformat, results.hardalphatextureformat, results.force, results.ignoreexceptions ) File "D:\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\exported\..\tools\scripts\", line 395, in ExportBuild img.regions = optimizeimage.GetImageRegions(img, 32) File "D:\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\", line 156, in GetImageRegions rootNode = QuadTreeNode(img, None, 0, blocksize) File "D:\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\", line 75, in __init__ childtypes = [ Analyze(im, childboxes[0]), File "D:\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\", line 34, in Analyze if p[3] == 0: TypeError: 'int' object is not subscriptable when i look in the files of the character there is no anim files so idk what to do
  2. I'm probably a big dum dum but I can't seem to make dark petals have different stats when eating It's probably easy to make but I'm not able to do it
  3. Where can i find the error log? Worst thing is that it just closes the game without giving me any error
  4. Now my game just crashes when selecting a character It didn't crash before so idk what I'm doing wrong
  5. I made a recipe for my hat and it is working if i'm crafting it but recipe itself looks weird Here's a screenshot And here's the code Recipe("evilgarland", {Ingredient("petals_evil", 12)}, RECIPETABS.DRESS, {SCIENCE = 0}) STRINGS.RECIPE_DESC.PETALS_EVIL= "Pesky parasite!"
  6. Everything works well I mean there is a graphical bug it says that when picking up evil flower it gives -5 sanity (don't worry it gives +5 sanity) other than that everything works well now I only need to change food stat values for flower and evil flower
  7. Don't worry I'm really thankful that you even spent your time writing this code Take your time
  8. I tried the code but when i created a new world it just stopped at "Generating world" Also no error so i don't know what could have happened
  9. I'm probably so close to finishing my character mod but still there is one thing I want to do but don't understand I want evil flowers to be like normal flowers (having same food stats, having same aura and when picking up getting +5 sanity) On the other hand i want normal flowers to be like evil flowers (having food stats like evil flowers, having negative aura, when picking up -5 sanity) So is it even possible that my character would be only affected?
  10. Now i made my own hat beacuse i didn't know how to do it with garland so now the hat has a "evilflowerhat" tag so now how can i make it so when i wear it sanity aura is stopped?
  11. Ok i think i found something but i'm not sure if it's right Tagg is called "healingflower" but it's in the hats_lavaarena prefab so it's probably wrong Also i don't know if i'm blind but i don't see garland onequip? Only garland code i saw is this one local function flower_custom_init(inst) inst:AddTag("open_top_hat") inst:AddTag("show_spoilage") end local function flower() local inst = simple(flower_custom_init) inst.components.floater:SetSize("med") inst.components.floater:SetScale(0.68) if not TheWorld.ismastersim then return inst end inst.components.equippable.dapperness = TUNING.DAPPERNESS_TINY inst.components.equippable:SetOnEquip(opentop_onequip) inst:AddComponent("perishable") inst.components.perishable:SetPerishTime(TUNING.PERISH_FAST) inst.components.perishable:StartPerishing() inst.components.perishable:SetOnPerishFn(inst.Remove) MakeHauntableLaunchAndPerish(inst) return inst end
  12. I wanted it so it doesn't make a sound every second of sanity dropping so i just made it 60 seconds I will keep looking for the tagg
  13. So i was looking and garland has "flower" tag I tried it to see what happens and nothing :/ can i possibly add myself a tag to a garland and if yes how?
  14. Thank you! It works well but do you know how to deactivate the aura when wearing a garland and make it so my character takes negative sanity wearing it?
  15. Ok so i wanted to make my character to have a negative sanity aura and it kinda works? except my character also gets negative sanity which i don't really want Also i wanted that if i wear a garland sanity aura will be equal zero but my character gets negative sanity Here is my sanity aura code inst:DoPeriodicTask(60.0, function(inst) if inst.components.sanity and inst:HasTag("playerghost") then return end local x,y,z = inst.Transform:GetWorldPosition() local players = TheSim:FindEntities(x, y, z, 5, {"player"}, {"playerghost", "INLIMBO"}, nil) for _,v in ipairs(players) do if v.components.sanity then v.components.sanity:DoDelta(-1) end end end) I just started making my character and I'm not really good at LUA coding so sorry if i look dumb