Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applied some animation corrections for buildings when player is on low powered. #728

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions mods/ra2/rules/allied-structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ gacnst:
GrantConditionOnPowerState@LOWPOWER:
Condition: lowpower
ValidPowerStates: Low, Critical
WithIdleOverlay@fans@LOWPOWER:
Sequence: idle-fans-low-power
RequiresCondition: !build-incomplete
Shin-Aska marked this conversation as resolved.
Show resolved Hide resolved
WithIdleOverlay@fans:
Sequence: idle-fans
PauseOnCondition: lowpower
RequiresCondition: !build-incomplete
RequiresCondition: !build-incomplete && !lowpower
WithBuildingPlacedOverlay:
ProvidesPrerequisite:
Prerequisite: structures.allies
Expand Down
3 changes: 3 additions & 0 deletions mods/ra2/sequences/allied-structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ gacnst:
idle-fans: ggcnst_a
Length: 6
Tick: 150
idle-fans-low-power: ggcnst_a
Length: 6
Tick: 600
damaged-idle-fans: ggcnst_a
Start: 5
Length: 6
Expand Down