Admin: Raw text announcements with sound
Description
Admins currently have 2 ways to announce things - "station" announcements and server announcements. This is simply inadequate for events, because some people (i'm looking at you Corvax and DS14) would really want to announce with custom tags and everything. A "raw" announcement would fill the niche where event masters need to do their work, and would enable them to do it without using SCSI.
What needs to be done
I propose to extend AdminAnnounceEui to have a third parameter, AdminAnnounceType.Raw - wrapping around one of the ChatManager SendToX functions, such that these optional(ly codable) constraints are satisfied, in priority:
- An optional parent is defined - descendants of this entity will get the announcement. If set to EntityUid.Invalid/left unchecked, everyone will receive the message.
- An optional sound FILE is defined - what will play on the announcement, or nothing if unchecked. Volume in a separate box, null string is 0.
- An optional color override is defined, otherwise null.
Also, adapt the .xaml.cs for it.
Media
ShittyUI render
"router can't you code" bah, too lazy to spend three decades speedlearning dotnet
"router can't you code" bah, too lazy to spend three decades speedlearning dotnet
if you can do Java for Mindustry then you can learn dotnet go do it yourself 🥇
the real reason is i cbf to debug UI, i might do it the moment i free up for war