Jump to content

[request] set container capacity


ProjectSky

Recommended Posts

Itemcontainer.class has a getcapacity method to get capacity, but it does not have setcapacity method, capacity is hard coded

Can developers add a setCapacity method? This will be very useful.

Edited by ProjectSky
Link to comment
Share on other sites

4 hours ago, EnigmaGrey said:

Pretty sure these are set through the tileproperties file.

Yes, I found the containercapacity property, but i can't use getProperties():Set method set the capacity.

container:getProperties():Set("ContainerCapacity", "100");
-- why return 15?

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...