Jump to content
Sign in to follow this  
PhashX

Container-Information for Lua

Recommended Posts

The Containers should provide more information for scripting:

  • List of items, that are in the container
    • weight of each item
    • volume of each item
    • ID of each item
  • storage capacity of the container
  • storage capacity left of the container

Share this post


Link to post
Share on other sites
21 hours ago, PhashX said:

The Containers should provide more information for scripting:

  • List of items, that are in the container
    • weight of each item
    • volume of each item
    • ID of each item
  • storage capacity of the container
  • storage capacity left of the container

Is it not possible to read it out?

Are there no functions for it?

 

 

I haven't looked at the variables and functions available so far, because I assumed that the containers definitely have something like that...

 

Share this post


Link to post
Share on other sites
1 hour ago, PhashX said:

hmm... I don't think so. Container Unit only provides getItemsMass() and getSelfMass()

Well, thats i alittle bit boring.. Maybe they will add some things when the priority comes to features like that.

ATM i thing they have enough other hard problems....

 

 

BTW. Thank you for all your work =).

 

Are your GitHub files updated?

I love to sniff through serving code and keep tinkering with it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...