feat(lagre): vareoversigt med nøgletal, 'kræver handling' og fyldningsbjælker — klik på en vare folder den ud til bygningerne; bygningstabellen bag 'Vis: Varer | Bygninger' (v1.52.0.0)

This commit is contained in:
2026-09-29 09:23:15 +02:00
parent 82db248775
commit 5b26415d1e
13 changed files with 919 additions and 2 deletions
+34
View File
@@ -19,4 +19,38 @@
<Profile name="spuCellBold" extends="spuCell">
<textBold value="true"/>
</Profile>
<!-- Lagre (v1.52): bjælker = hvid pixel i spillets UI-atlas farvet med imageColor
(samme teknik som Precision Farming). Bredden på fyldet sættes i Lua. -->
<Profile name="spuBar" extends="baseReference" with="anchorMiddleLeft">
<imageUVs value="10px 1010px 4px 4px"/>
<positionOrigin value="middleLeft"/>
<imageColor value="0.30 0.75 0.35 1"/>
<size value="200px 16px"/>
</Profile>
<Profile name="spuBarBg" extends="spuBar">
<imageColor value="0 0 0 0.45"/>
</Profile>
<Profile name="spuBarThin" extends="spuBar">
<size value="200px 10px"/>
</Profile>
<Profile name="spuBarThinBg" extends="spuBarThin">
<imageColor value="0 0 0 0.45"/>
</Profile>
<!-- markør foran en "kræver handling"-linje -->
<Profile name="spuDot" extends="spuBar">
<size value="8px 26px"/>
</Profile>
<!-- nøgletal: stort tal over lille label -->
<Profile name="spuKpiValue" extends="spuCellBold">
<textSize value="24px"/>
<textOffset value="0px 8px"/>
</Profile>
<Profile name="spuKpiLabel" extends="spuCell">
<textSize value="14px"/>
<textOffset value="0px -18px"/>
<textColor value="0.75 0.75 0.75 1"/>
</Profile>
<Profile name="spuCellDim" extends="spuCell">
<textColor value="0.75 0.75 0.75 1"/>
</Profile>
</GUIProfiles>