aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_tech.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 16:50:41 -0400
committerhistoria <[not public]>2026-06-27 16:50:41 -0400
commit988b006a5bb9edb6465653566e7bdf8175347b8c (patch)
tree3a1fceff2ee80c11b5dafcc49c13ababe021e880 /internal/game/cmd_tech.go
parent1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff)
downloadthehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'internal/game/cmd_tech.go')
-rw-r--r--internal/game/cmd_tech.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/game/cmd_tech.go b/internal/game/cmd_tech.go
index 19b5425..8c6f14f 100644
--- a/internal/game/cmd_tech.go
+++ b/internal/game/cmd_tech.go
@@ -118,7 +118,7 @@ func (g *Game) doTechList(sess *net.Session) {
"",
fmt.Sprintf("Battery: %s/%s",
g.colorize(sess, "battery", fmt.Sprintf("%.1f", p.Battery)),
- color.Render(mode, color.Parse("230"), fmt.Sprintf("%.0f", p.MaxBattery())),
+ color.Render(mode, color.Parse("E6"), fmt.Sprintf("%.0f", p.MaxBattery())),
),
)
@@ -129,14 +129,14 @@ func (g *Game) doTechList(sess *net.Session) {
nameStr := tech.Name
if tech.Level <= techLevel {
if p.HasActiveTech(tech.ID) {
- status = color.Render(mode, color.Parse("82"), "ON")
+ status = color.Render(mode, color.Parse("52"), "ON")
} else {
- status = color.Render(mode, color.Parse("240"), "off")
+ status = color.Render(mode, color.Parse("F0"), "off")
}
- nameStr = color.Render(mode, color.Parse("75"), tech.Name)
+ nameStr = color.Render(mode, color.Parse("4B"), tech.Name)
} else {
- status = color.Render(mode, color.Parse("160"), "locked")
- nameStr = color.Render(mode, color.Parse("240"), tech.Name)
+ status = color.Render(mode, color.Parse("A0"), "locked")
+ nameStr = color.Render(mode, color.Parse("F0"), tech.Name)
}
effect := techEffectString(tech)