RECORDS ECONOMY + UX: hauler is a Harvester (Records, cap 20), Record Depot refinery building at spawn, cash counter HUD (IngameCashCounterLogic in PLAYER_WIDGETS), fog of war (RevealsShroud on player units, HiddenUnderFog monsters), unit tooltips via fluent, win/lose (MissionObjectives + ConquestVictoryConditions)

Trait chain learned: MapOptions + ResourceClaimLayer on world, StoresResources.Resources on harvester, QuantizedFacings 1 for buildings, FrozenActorLayer player-only

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
type-two 2026-08-31 19:22:42 +10:00
parent c19bf48e5e
commit 71416b3843
10 changed files with 99 additions and 6 deletions

View File

@ -1,6 +1,15 @@
Container@PLAYER_WIDGETS:
Logic: MenuButtonsChromeLogic
Children:
LabelWithTooltip@CASH:
Logic: IngameCashCounterLogic
X: WINDOW_WIDTH - 220
Y: 8
Width: 200
Height: 26
Font: MediumBold
Align: Right
Contrast: true
LogicTicker@SIDEBAR_TICKER:
MenuButton@OPTIONS_BUTTON:
Key: escape

View File

@ -10,3 +10,9 @@ Cursors:
Start: 0
attackoutsiderange:
Start: 0
harvest:
Start: 0
enter:
Start: 0
enter-blocked:
Start: 0

View File

@ -8,3 +8,14 @@ faction-example =
.name = Example
.description = Example Faction
Provide your own faction description here.
## doomsday units
actor-swat-name = SWAT Trooper
actor-mutantgunner-name = Mutant Gunner
actor-mutantbrawler-name = Mutant Brawler
actor-hound-name = Waste Hound
actor-android-name = Android
actor-biotitan-name = Bio-Titan
actor-warcar-name = War Car
actor-hauler-name = Record Hauler
actor-depot-name = Record Depot

View File

@ -42,6 +42,9 @@ Actors:
Actor4: swat
Location: 9,26
Owner: Multi0
ActorD: depot
Location: 10,28
Owner: Multi0
Actor5: warcar
Location: 6,23
Owner: Multi0

View File

@ -1,5 +1,7 @@
mutantgunner:
AlwaysVisible:
Tooltip:
Name: actor-mutantgunner-name
HiddenUnderFog:
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -30,7 +32,9 @@ mutantgunner:
Categories: Units
mutantbrawler:
AlwaysVisible:
Tooltip:
Name: actor-mutantbrawler-name
HiddenUnderFog:
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -61,7 +65,9 @@ mutantbrawler:
Categories: Units
hound:
AlwaysVisible:
Tooltip:
Name: actor-hound-name
HiddenUnderFog:
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -92,7 +98,9 @@ hound:
Categories: Units
android:
AlwaysVisible:
Tooltip:
Name: actor-android-name
HiddenUnderFog:
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -123,7 +131,9 @@ android:
Categories: Units
biotitan:
AlwaysVisible:
Tooltip:
Name: actor-biotitan-name
HiddenUnderFog:
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -154,7 +164,11 @@ biotitan:
Categories: Units
warcar:
Tooltip:
Name: actor-warcar-name
AlwaysVisible:
RevealsShroud:
Range: 7c0
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -184,7 +198,18 @@ warcar:
Categories: Units
hauler:
Tooltip:
Name: actor-hauler-name
AlwaysVisible:
RevealsShroud:
Range: 7c0
Harvester:
Resources: Records
BaleUnloadAmount: 4
StoresResources:
Capacity: 20
Resources: Records
DockClientManager:
Selectable:
Bounds: 1024, 1536, 0, -384
SelectionDecorations:
@ -252,3 +277,30 @@ junk1:
RenderSprites:
MapEditorData:
Categories: Decorations
depot:
Tooltip:
Name: actor-depot-name
AlwaysVisible:
RevealsShroud:
Range: 6c0
Selectable:
Bounds: 3072, 3072
SelectionDecorations:
Targetable:
TargetTypes: Ground
Health:
HP: 60000
HitShape:
BodyOrientation:
QuantizedFacings: 1
Building:
Dimensions: 3,3
Footprint: xxx xxx xxx
Refinery:
UseStorage: false
DockHost:
WithSpriteBody:
RenderSprites:
MapEditorData:
Categories: Buildings

View File

@ -17,7 +17,11 @@ example.colorpicker:
-MapEditorData:
swat:
Tooltip:
Name: actor-swat-name
AlwaysVisible:
RevealsShroud:
Range: 6c0
Selectable:
Bounds: 768, 1280, 0, -256
SelectionDecorations:

View File

@ -1,11 +1,14 @@
^baseplayer:
AlwaysVisible:
Shroud:
FrozenActorLayer:
player:
Inherits: ^baseplayer
FrozenActorLayer:
DeveloperMode:
PlayerResources:
MissionObjectives:
ConquestVictoryConditions:
editorplayer:
Inherits: ^baseplayer

View File

@ -20,6 +20,8 @@
world:
Inherits: ^baseworld
MapOptions:
ResourceClaimLayer:
PathFinder:
BuildingInfluence:
ResourceLayer:

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -137,3 +137,6 @@ records:
idle:
Filename: sequences/assets/records.png
Length: 4
depot:
idle:
Filename: sequences/assets/d_depot.png