Skip to content

vlayer - #523

Open
PHIDIAS0303 wants to merge 94 commits into
explosivegaming:mainfrom
PHIDIAS0303:dev3
Open

vlayer#523
PHIDIAS0303 wants to merge 94 commits into
explosivegaming:mainfrom
PHIDIAS0303:dev3

Conversation

@PHIDIAS0303

@PHIDIAS0303 PHIDIAS0303 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Vlayer is now per surface.
Every item is now seperated by their quality and tier.
Allow no limit on interface limit by setting to -1. Set to 0 means disable.
Added percentage display on GUI.
Added input limit.
Fixed sustained power and others not being able to have 100% (green) due to the rounding.
Fixed chest not being able to return when no space available.
Dropped support for power on space platform.
Dropped support for auto downgrade item tier.
Dropped support for starting amount for item.
Dropped support for power items, such as burning wood.

@PHIDIAS0303
PHIDIAS0303 marked this pull request as ready for review November 12, 2026 15:10
Comment thread exp_scenario/module/gui/vlayer.lua Resolved
Comment thread exp_scenario/module/gui/vlayer.lua Resolved
Comment thread exp_scenario/module/gui/vlayer.lua Resolved
Comment thread exp_scenario/module/gui/vlayer.lua Resolved
local stats_table = Elements.stats_table(container)
Elements.stats_table.refresh(stats_table, Elements.stats_table.calculate_display_data())
Elements.controls(container)
for _, controls in Elements.controls:online_elements() do

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Draw should not call online_elements, draw should only effect its own children.

Comment thread exp_scenario/module/control/vlayer.lua Resolved
Comment thread exp_scenario/module/control/vlayer.lua Resolved
storage.items[name] = storage.items[name] + count
local vd = assert(config.global_surface and vlayer_data[1] or vlayer_data[s_index])
local storage = vd.storage
if not storage.items[name] then storage.items[name] = {} end

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be all or nothing, there is no reason for one of these to exist but not the others. So lets only have a single condition here.

Comment thread exp_scenario/module/control/vlayer.lua Resolved
Comment thread exp_scenario/module/control/vlayer.lua Resolved

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants