How to make item stackable?

Started by FartyParty, January 11, 2018, 06:42:53 AM

Previous topic - Next topic

FartyParty

Hey. I found this mod from steam workshop but it seems the items crafted aren't able to stack.

How can I make them stackable? I didn't find anything related in the xml files.

http://steamcommunity.com/sharedfiles/filedetails/?id=1264754048

BrokenValkyrie

#1
<stackLimit>10</stackLimit>

Its under ThingDef. I hadn't downloaded mod but I might suspect its either missing this value or the value in abstract class.

FartyParty

#2
Quote from: BrokenValkyrie on January 11, 2018, 06:50:35 AM
<stackLimit>10</stackLimit>

Its under ThingDef. I hadn't downloaded mod but I might suspect its either missing this value or the value in abstract class.

Yea it's missing.

Where would I put it? Just anywhere within ThingsDef?

https://pastebin.com/ArT9Qx0S

BrokenValkyrie