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

Added a "structure sold" notification #19043

Merged
merged 2 commits into from
Jan 27, 2021
Merged

Conversation

Mailaender
Copy link
Member

@Mailaender Mailaender commented Jan 12, 2021

Closes #19044.
Closes #19054.

@deleted-user-1
Copy link
Contributor

I wonder if this should be a Notification field on Sellable? Most notifications are defined on the relevant trait, with some exceptions like BaseAttackNotifier and HarvesterAttackNotifier (could maybe move to a generic ActorUnderAttackNotification trait?), ResourceStorageWarning (could maybe move to PlayerResources?), StartGameNotification, ActorLostNotification and CaptureNotification.

@Mailaender
Copy link
Member Author

I agree. A trait initialization may be too costly for this tiny feature. Added it to the base trait and kept it disabled by default.

@deleted-user-1
Copy link
Contributor

#19044

@pchote
Copy link
Member

pchote commented Jan 17, 2021

LGTM aside from the issue @matjaeck raised above. I agree it makes sense to take the whole thing for prep, so added to milestone and tweaked assignments/closes.

@pchote
Copy link
Member

pchote commented Jan 24, 2021

Ping @Mailaender.

Copy link
Member

@Smittytron Smittytron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abcdefg30 abcdefg30 merged commit 28ddab7 into OpenRA:bleed Jan 27, 2021
@abcdefg30
Copy link
Member

Changelog

@Mailaender Mailaender deleted the structure-sold branch January 27, 2021 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants