PRODUCTION + TECH TREE: player-side ClassicProductionQueues (Base/Units), sidebar with ClassicProductionLogic palette + type buttons, buildable swat/$250 hauler/$700 warcar/$900 (workshop prereq = first tech edge), Workshop building $1200 with placement preview, depot produces both queues with exits, build icons generated from sprites, $2000 starting cash
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
71416b3843
commit
887039c289
@ -13,3 +13,32 @@ Container@PLAYER_WIDGETS:
|
|||||||
LogicTicker@SIDEBAR_TICKER:
|
LogicTicker@SIDEBAR_TICKER:
|
||||||
MenuButton@OPTIONS_BUTTON:
|
MenuButton@OPTIONS_BUTTON:
|
||||||
Key: escape
|
Key: escape
|
||||||
|
|
||||||
|
Container@PRODUCTION_SIDEBAR:
|
||||||
|
Logic: ClassicProductionLogic
|
||||||
|
X: WINDOW_WIDTH - 220
|
||||||
|
Y: 60
|
||||||
|
Width: 210
|
||||||
|
Height: WINDOW_HEIGHT - 80
|
||||||
|
Children:
|
||||||
|
Container@PRODUCTION_TYPES:
|
||||||
|
Width: 210
|
||||||
|
Height: 30
|
||||||
|
Children:
|
||||||
|
ProductionTypeButton@BUILDINGS_BUTTON:
|
||||||
|
Width: 100
|
||||||
|
Height: 28
|
||||||
|
Text: Base
|
||||||
|
ProductionGroup: Buildings
|
||||||
|
ProductionTypeButton@UNITS_BUTTON:
|
||||||
|
X: 105
|
||||||
|
Width: 100
|
||||||
|
Height: 28
|
||||||
|
Text: Units
|
||||||
|
ProductionGroup: Units
|
||||||
|
ProductionPalette@PRODUCTION_PALETTE:
|
||||||
|
Y: 36
|
||||||
|
Width: 210
|
||||||
|
Height: WINDOW_HEIGHT - 120
|
||||||
|
Columns: 3
|
||||||
|
LogicTicker@PRODUCTION_TICKER:
|
||||||
|
|||||||
@ -19,3 +19,4 @@ actor-biotitan-name = Bio-Titan
|
|||||||
actor-warcar-name = War Car
|
actor-warcar-name = War Car
|
||||||
actor-hauler-name = Record Hauler
|
actor-hauler-name = Record Hauler
|
||||||
actor-depot-name = Record Depot
|
actor-depot-name = Record Depot
|
||||||
|
actor-workshop-name = Workshop
|
||||||
|
|||||||
@ -164,6 +164,12 @@ biotitan:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
warcar:
|
warcar:
|
||||||
|
Buildable:
|
||||||
|
Queue: Units
|
||||||
|
BuildPaletteOrder: 30
|
||||||
|
Prerequisites: workshop
|
||||||
|
Valued:
|
||||||
|
Cost: 900
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: actor-warcar-name
|
Name: actor-warcar-name
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
@ -198,6 +204,11 @@ warcar:
|
|||||||
Categories: Units
|
Categories: Units
|
||||||
|
|
||||||
hauler:
|
hauler:
|
||||||
|
Buildable:
|
||||||
|
Queue: Units
|
||||||
|
BuildPaletteOrder: 20
|
||||||
|
Valued:
|
||||||
|
Cost: 700
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: actor-hauler-name
|
Name: actor-hauler-name
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
@ -300,6 +311,44 @@ depot:
|
|||||||
Refinery:
|
Refinery:
|
||||||
UseStorage: false
|
UseStorage: false
|
||||||
DockHost:
|
DockHost:
|
||||||
|
Production:
|
||||||
|
Produces: Buildings, Units
|
||||||
|
Exit@1:
|
||||||
|
SpawnOffset: 0,0,0
|
||||||
|
ExitCell: 1,3
|
||||||
|
Exit@2:
|
||||||
|
ExitCell: 3,3
|
||||||
|
WithSpriteBody:
|
||||||
|
RenderSprites:
|
||||||
|
MapEditorData:
|
||||||
|
Categories: Buildings
|
||||||
|
|
||||||
|
workshop:
|
||||||
|
Tooltip:
|
||||||
|
Name: actor-workshop-name
|
||||||
|
AlwaysVisible:
|
||||||
|
RevealsShroud:
|
||||||
|
Range: 5c0
|
||||||
|
Buildable:
|
||||||
|
Queue: Buildings
|
||||||
|
BuildPaletteOrder: 10
|
||||||
|
Valued:
|
||||||
|
Cost: 1200
|
||||||
|
ProvidesPrerequisite@name:
|
||||||
|
Selectable:
|
||||||
|
Bounds: 2048, 2048
|
||||||
|
SelectionDecorations:
|
||||||
|
Targetable:
|
||||||
|
TargetTypes: Ground
|
||||||
|
Health:
|
||||||
|
HP: 40000
|
||||||
|
HitShape:
|
||||||
|
BodyOrientation:
|
||||||
|
QuantizedFacings: 1
|
||||||
|
Building:
|
||||||
|
Dimensions: 2,2
|
||||||
|
Footprint: xx xx
|
||||||
|
FootprintPlaceBuildingPreview:
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
MapEditorData:
|
MapEditorData:
|
||||||
|
|||||||
@ -17,6 +17,11 @@ example.colorpicker:
|
|||||||
-MapEditorData:
|
-MapEditorData:
|
||||||
|
|
||||||
swat:
|
swat:
|
||||||
|
Buildable:
|
||||||
|
Queue: Units
|
||||||
|
BuildPaletteOrder: 10
|
||||||
|
Valued:
|
||||||
|
Cost: 250
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: actor-swat-name
|
Name: actor-swat-name
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
|
|||||||
@ -3,6 +3,8 @@
|
|||||||
Name: greyscale
|
Name: greyscale
|
||||||
PaletteFromGrayscale@effect:
|
PaletteFromGrayscale@effect:
|
||||||
Name: effect
|
Name: effect
|
||||||
|
PaletteFromGrayscale@chrome:
|
||||||
|
Name: chrome
|
||||||
PlayerColorPalette@player:
|
PlayerColorPalette@player:
|
||||||
BasePalette: greyscale
|
BasePalette: greyscale
|
||||||
PlayerColorShift:
|
PlayerColorShift:
|
||||||
|
|||||||
@ -7,8 +7,15 @@ player:
|
|||||||
FrozenActorLayer:
|
FrozenActorLayer:
|
||||||
DeveloperMode:
|
DeveloperMode:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
MissionObjectives:
|
DefaultCash: 2000
|
||||||
ConquestVictoryConditions:
|
TechTree:
|
||||||
|
PlaceBuilding:
|
||||||
|
ClassicProductionQueue@Buildings:
|
||||||
|
Type: Buildings
|
||||||
|
Group: Buildings
|
||||||
|
ClassicProductionQueue@Units:
|
||||||
|
Type: Units
|
||||||
|
Group: Units
|
||||||
|
|
||||||
editorplayer:
|
editorplayer:
|
||||||
Inherits: ^baseplayer
|
Inherits: ^baseplayer
|
||||||
|
|||||||
BIN
mods/example/sequences/assets/d_workshop.png
Normal file
BIN
mods/example/sequences/assets/d_workshop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
mods/example/sequences/assets/i_hauler.png
Normal file
BIN
mods/example/sequences/assets/i_hauler.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
BIN
mods/example/sequences/assets/i_swat.png
Normal file
BIN
mods/example/sequences/assets/i_swat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
mods/example/sequences/assets/i_warcar.png
Normal file
BIN
mods/example/sequences/assets/i_warcar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
mods/example/sequences/assets/i_workshop.png
Normal file
BIN
mods/example/sequences/assets/i_workshop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@ -99,6 +99,8 @@ biotitan:
|
|||||||
Length: 3
|
Length: 3
|
||||||
Tick: 140
|
Tick: 140
|
||||||
warcar:
|
warcar:
|
||||||
|
icon:
|
||||||
|
Filename: sequences/assets/i_warcar.png
|
||||||
stand:
|
stand:
|
||||||
Filename: sequences/assets/warcar_stand.png
|
Filename: sequences/assets/warcar_stand.png
|
||||||
Facings: 16
|
Facings: 16
|
||||||
@ -109,6 +111,8 @@ warcar:
|
|||||||
Facings: 16
|
Facings: 16
|
||||||
Length: 5
|
Length: 5
|
||||||
hauler:
|
hauler:
|
||||||
|
icon:
|
||||||
|
Filename: sequences/assets/i_hauler.png
|
||||||
stand:
|
stand:
|
||||||
Filename: sequences/assets/hauler_stand.png
|
Filename: sequences/assets/hauler_stand.png
|
||||||
Facings: 16
|
Facings: 16
|
||||||
@ -140,3 +144,8 @@ records:
|
|||||||
depot:
|
depot:
|
||||||
idle:
|
idle:
|
||||||
Filename: sequences/assets/d_depot.png
|
Filename: sequences/assets/d_depot.png
|
||||||
|
workshop:
|
||||||
|
icon:
|
||||||
|
Filename: sequences/assets/i_workshop.png
|
||||||
|
idle:
|
||||||
|
Filename: sequences/assets/d_workshop.png
|
||||||
|
|||||||
@ -3,6 +3,8 @@ example:
|
|||||||
Filename: sequences/assets/example.png
|
Filename: sequences/assets/example.png
|
||||||
|
|
||||||
swat:
|
swat:
|
||||||
|
icon:
|
||||||
|
Filename: sequences/assets/i_swat.png
|
||||||
stand:
|
stand:
|
||||||
Filename: sequences/assets/swat_idle.png
|
Filename: sequences/assets/swat_idle.png
|
||||||
Facings: 8
|
Facings: 8
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user