Search the Community
Showing results for tags 'max'.
Found 2 results
Welcome to here! Right here! Are you ready to accept my challenge? Okay then!!! (NO? WHY NOT? ) All you need to do is to power your fantasy and positive at maximum and continue the comic I am leaving here! I will be very happy to see how many people change DS Characters' fate! >:D You will need just to tell who will be after who, so there won't be any faults, errors and etc... And you need to draw the continuing part of comic, and there you go, we have many generations of art, humor and feelings. Maybe something else. You can make ANY situation you want! We really will be glad to see it here! Go ahead! Try it! You must draw the continue. I DOESN'T matter how long it could be. As about spoilers, I don't really want to know what the WILL be. I just want to SEE it. Get it? You can do anything, for your though, what the character will do next and what will happen next. Below I will tell who will be after who, okay? ovo Do you have any questions? :'D I SAID NOW!!! So, let's do this! :
As the title says, I want to give a specific item a new maximum stack size in a mod. While this is joyfully (or maybe ridiculously) simple to do in Don't Starve: modmain.lua: local function changestackA(inst) inst.components.stackable.maxsize = 12 end local function changestackB(inst) inst.components.stackable.maxsize = 53 end AddPrefabPostInit("poop",changestackA) --manure now stacks up to 12 AddPrefabPostInit("cutgrass",changestackB) --cut grass now stacks up to 53 ...I can't manage to do the same in Don't Starve Together. Whatever I thought to attempt only caused an error related to stackable_replica.lua or just had no discernible effect. I tried to look into it and it appears that in DST item stack sizes may be based on predefined amounts in a local table in stackable_replica.lua. I'm quite stumped, as I'm not sure how to go about dealing with that, or if netcode is related to my problems... Does anyone know how to accomplish this? Thanks for any help.