mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Give templates their own table and keep rcon_password per instance
The templates table shows name, inheritor count and a create instance action instead of the instance status and start/stop columns. factorio.rcon_password joins the ports as never inherited. Part of #200 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b5c372f109
commit
b584991f5c
6 files changed
+66
-11
No files matched your search
@@ -14,7 +14,8 @@ describe("lib/config/definitions", function() {
|
||||
for (const name of [
|
||||
"instance.name", "instance.id", "instance.assigned_host", "instance.is_template",
|
||||
"instance.template_id", "instance.inherited_fields", "factorio.host_assigned_game_port",
|
||||
"factorio.game_port", "factorio.rcon_port", "factorio.lua_udp_port", "no.field",
|
||||
"factorio.game_port", "factorio.rcon_port", "factorio.rcon_password", "factorio.lua_udp_port",
|
||||
"no.field",
|
||||
]) {
|
||||
assert.equal(lib.InstanceConfig.isInheritable(name), false, name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user