mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-22 07:33:12 +09:00
Drop exp_legacy player data that inventory_sync covers (#491)
Inventory sync already stores the player colour, tag, quickbar and alt view (game view settings), so the legacy alt-view, quickbar and tag modules and the colour persistence are removed along with /save-quickbar and its quickbar presets. The /tag, /tag-color and /tag-clear commands move to exp_scenario and write player.tag directly, which inventory sync then carries between servers. /tag-color reads the current text back out of the tag, so it now needs a tag to be set first. It also used to concatenate the colour table into the tag and error, it now formats it as rich text. player-colours keeps giving new players their preset or a random colour on creation, inventory sync replaces it with the stored one for anyone who has played before. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1c5c9909cc
commit
11ccee572b
17 files changed
+103
-286
No files matched your search
@@ -10,8 +10,5 @@ return {
|
||||
"modules.data.statistics",
|
||||
"modules.data.player-colours",
|
||||
"modules.data.greetings",
|
||||
"modules.data.quickbar",
|
||||
"modules.data.alt-view",
|
||||
"modules.data.tag",
|
||||
"modules.data.language",
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
--- Preset quickbar items that players can load
|
||||
-- @config Preset-Player-Quickbar
|
||||
|
||||
return {
|
||||
dangerarea = { "transport-belt", "underground-belt", "splitter", "pipe", "pipe-to-ground", "inserter", "fast-inserter", "long-handed-inserter", "stack-inserter", "roboport", "small-electric-pole", "medium-electric-pole", "big-electric-pole", "substation", nil, "rail", "rail-signal", "rail-chain-signal", "landfill", "cliff-explosives", "fast-transport-belt", "fast-underground-belt", "fast-splitter", "pipe", "pipe-to-ground", "fast-inserter", "long-handed-inserter", "stack-inserter", "stack-filter-inserter", "roboport", [81] = "red-wire", [82] = "green-wire", [83] = "arithmetic-combinator", [84] = "decider-combinator", [85] = "constant-combinator", [86] = "power-switch", [91] = "active-provider-chest", [92] = "passive-provider-chest", [93] = "storage-chest", [94] = "buffer-chest", [95] = "requester-chest", [96] = "roboport" },
|
||||
}
|
||||
Reference in new issue
Block a user