GitHub-TC / EmpyrionScripting

Displays various informations directly and live on LCD screens and will support conveyor and construction control
GNU General Public License v3.0
34 stars 5 forks source link

items tag does not function on unnamed containers #20

Closed antihax closed 1 year ago

antihax commented 1 year ago

Describe the bug {{#items @root.E.S "*"}} ignores containers that have not been named.

To Reproduce Create a ship with two containers and script:

{{#items @root.E.S "*"}}
{{Name}}
{{/items}}

Rename one container. Move items between the named and default name container. Observe failure to list items from default named container.

Expected behavior Script should fire on all containers regardless.

GitHub-TC commented 1 year ago

Unnamed containers cannot be reached "reasonably" via API and are therefore not supported