diff --git a/mods/example/chrome/layouts/ingame-player.yaml b/mods/example/chrome/layouts/ingame-player.yaml index 54e5ca6..6948c98 100644 --- a/mods/example/chrome/layouts/ingame-player.yaml +++ b/mods/example/chrome/layouts/ingame-player.yaml @@ -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 diff --git a/mods/example/cursors/default.yaml b/mods/example/cursors/default.yaml index db4b0f4..45229cb 100644 --- a/mods/example/cursors/default.yaml +++ b/mods/example/cursors/default.yaml @@ -10,3 +10,9 @@ Cursors: Start: 0 attackoutsiderange: Start: 0 + harvest: + Start: 0 + enter: + Start: 0 + enter-blocked: + Start: 0 diff --git a/mods/example/fluent/rules.ftl b/mods/example/fluent/rules.ftl index 1bca9a0..897368a 100644 --- a/mods/example/fluent/rules.ftl +++ b/mods/example/fluent/rules.ftl @@ -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 diff --git a/mods/example/maps/junktown/map.yaml b/mods/example/maps/junktown/map.yaml index 6339664..5eb944e 100644 --- a/mods/example/maps/junktown/map.yaml +++ b/mods/example/maps/junktown/map.yaml @@ -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 diff --git a/mods/example/rules/doomsday.yaml b/mods/example/rules/doomsday.yaml index 0f3e7b5..dcabe94 100644 --- a/mods/example/rules/doomsday.yaml +++ b/mods/example/rules/doomsday.yaml @@ -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 diff --git a/mods/example/rules/example.yaml b/mods/example/rules/example.yaml index 4962c21..adba276 100644 --- a/mods/example/rules/example.yaml +++ b/mods/example/rules/example.yaml @@ -17,7 +17,11 @@ example.colorpicker: -MapEditorData: swat: + Tooltip: + Name: actor-swat-name AlwaysVisible: + RevealsShroud: + Range: 6c0 Selectable: Bounds: 768, 1280, 0, -256 SelectionDecorations: diff --git a/mods/example/rules/player.yaml b/mods/example/rules/player.yaml index cdc61ca..6e778cb 100644 --- a/mods/example/rules/player.yaml +++ b/mods/example/rules/player.yaml @@ -1,11 +1,14 @@ ^baseplayer: AlwaysVisible: Shroud: - FrozenActorLayer: player: Inherits: ^baseplayer + FrozenActorLayer: DeveloperMode: + PlayerResources: + MissionObjectives: + ConquestVictoryConditions: editorplayer: Inherits: ^baseplayer diff --git a/mods/example/rules/world.yaml b/mods/example/rules/world.yaml index f56d9b5..bb2ce6e 100644 --- a/mods/example/rules/world.yaml +++ b/mods/example/rules/world.yaml @@ -20,6 +20,8 @@ world: Inherits: ^baseworld + MapOptions: + ResourceClaimLayer: PathFinder: BuildingInfluence: ResourceLayer: diff --git a/mods/example/sequences/assets/d_depot.png b/mods/example/sequences/assets/d_depot.png new file mode 100644 index 0000000..dcb1af1 Binary files /dev/null and b/mods/example/sequences/assets/d_depot.png differ diff --git a/mods/example/sequences/doomsday.yaml b/mods/example/sequences/doomsday.yaml index 117853c..7e865f3 100644 --- a/mods/example/sequences/doomsday.yaml +++ b/mods/example/sequences/doomsday.yaml @@ -137,3 +137,6 @@ records: idle: Filename: sequences/assets/records.png Length: 4 +depot: + idle: + Filename: sequences/assets/d_depot.png