Clarify gun burst counters and record the verified realism follow-up (#91)

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
2026-11-02 21:48:47 +03:00
parent ac866d64a0
commit c4b72da3ff
3 changed files with 51 additions and 2 deletions
+2
View File
@@ -34,6 +34,8 @@ pub struct Unit {
impl Unit {
pub fn id(self) -> &'static str { self.kind.spec().key }
/// Whether the unit has a gun; callers need no access to the private weapon profile.
pub fn has_gun(self) -> bool { self.kind.spec().gun.is_some() }
pub fn ground_strike(self) -> GroundStrike {
GroundStrike::Unavailable { reason: "Для этой техники не задан подтверждённый профиль удара по координатам" }
}