Clarify gun burst counters and record the verified realism follow-up (#91)
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -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: "Для этой техники не задан подтверждённый профиль удара по координатам" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user