Reject negative distance bonuses in imported player data

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-10-17 20:26:50 +00:00
1 parent 5ca10d579d
commit 41dc294542
2 files changed
+7 -6

No files matched your search

+1
View File
@@ -124,6 +124,7 @@ describe("player_sync plugin", function() {
["shortcuts", { "toggle-personal-roboport": "yes" }],
["character", { character_health_bonus: "100" }],
["character", { character_inventory_slots_bonus: -1 }],
["character", { character_reach_distance_bonus: -1 }],
["character", { character_crafting_speed_modifier: -5 }],
["quick_bar", { 1: { t: "f", n: "iron-plate", q: "normal", c: "~" } }],
["crafting_queue", {}],