Skip to content

Doomsday Structure#104

Merged
1brucben merged 6 commits into
v0.2.0from
doomsday
Nov 19, 2025
Merged

Doomsday Structure#104
1brucben merged 6 commits into
v0.2.0from
doomsday

Conversation

@1brucben
Copy link
Copy Markdown
Owner

This pull request introduces support for a new "Doomsday Device" unit, including its configuration, construction, UI integration, and visual effects. The changes span localization, front-end display, game logic, and graphics, ensuring the new unit is fully integrated into gameplay and user experience.

Doomsday Device Unit Integration

  • Added the Doomsday Device as a new unit type, with configuration for cost, health, construction duration, and territory requirements in DefaultConfig.ts.
  • Updated construction and execution logic to support building and activating the Doomsday Device, including its own execution class (DoomsdayDeviceExecution).
  • Included the Doomsday Device in build menus, control panels, and structure layers, with appropriate icons and descriptions for both UI and tooltips. [1] [2] [3]
  • Localized all relevant strings for the Doomsday Device in English, including build menu, event messages, and descriptions. [1] [2] [3]
  • Implemented new visual effects for Doomsday Device activation, including a larger, slower explosion effect and lingering debris, and ensured these effects are triggered by game updates. [1] [2]

UI and Graphics Enhancements

  • Added new icons and adjusted scaling for the Doomsday Device in various UI layers (BuildMenu.ts, ControlPanel2.ts, StructureLayer.ts). [1] [2] [3] [4]
  • Ensured the Doomsday Device appears in relevant build and structure lists, and is selectable for construction and investment. [1] [2] [3]

Game Logic Adjustments

  • Updated airfield targeting logic to include the Doomsday Device as a valid target for certain actions. [1] [2]
  • Adjusted construction duration for the Doomsday Device to be longer than other units, reflecting its power and significance. [1] [2]

Localization and Messaging

  • Added English localization for Doomsday Device-related events, including activation messages and build menu descriptions. [1] [2] [3]
  • Ensured Turkish localization remains consistent for unrelated game messages.

Visual Effects and Event Handling

  • Implemented new FX factory for Doomsday Device, with unique explosion and debris effects, and integrated these into the FX layer to respond to game events. [1] [2]
  • Updated event display and message type handling to support new Doomsday Device events and severity levels. [1] [2]

@1brucben 1brucben merged commit bfbead2 into v0.2.0 Nov 19, 2025
4 of 7 checks passed
@El-Magico777 El-Magico777 added this to the v0.1.11 milestone Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants