ProjectSky Posted May 18, 2020 Share Posted May 18, 2020 (edited) 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 May 18, 2020 by ProjectSky Link to comment Share on other sites More sharing options...
EnigmaGrey Posted May 18, 2020 Share Posted May 18, 2020 Pretty sure these are set through the tileproperties file. Link to comment Share on other sites More sharing options...
ProjectSky Posted May 18, 2020 Author Share Posted May 18, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now