store: On-base code sequential encoding (not bit-field)
This commit is contained in:
parent
61a6767acc
commit
fa776218eb
@ -0,0 +1,12 @@
|
||||
---
|
||||
id: 0e88fd3b-0a85-417e-9a64-8107dd09b252
|
||||
type: solution
|
||||
title: "On-base code sequential encoding (not bit-field)"
|
||||
tags: [strat-gameplay-webapp, python, fix, encoding]
|
||||
importance: 0.8
|
||||
confidence: 0.8
|
||||
created: "2026-02-16T16:42:12.791418+00:00"
|
||||
updated: "2026-02-16T16:42:12.791418+00:00"
|
||||
---
|
||||
|
||||
The strat gameplay system uses sequential chart encoding for current_on_base_code: 0=empty, 1=R1, 2=R2, 3=R3, 4=R1+R2, 5=R1+R3, 6=R2+R3, 7=loaded. Previously was bit-field (3=R1+R2, 4=R3) which caused mismatch with runner_advancement chart code. Fixed in calculate_on_base_code() in game_models.py (2025-02-08).
|
||||
Loading…
Reference in New Issue
Block a user