Explain unavailable coordinate-strike loadouts in map and documentation (#118)
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -2395,12 +2395,12 @@ impl AirDef {
|
||||
(None, _) => lines.push(("Данных нет".into(), GREY)),
|
||||
}
|
||||
lines.push((format!("Пусков замечено: {}; последний {} с назад", k.launches, now.saturating_sub(k.last) / 20), GREY));
|
||||
lines.push((format!("Ударных ракет: {}", self.sim.strikes.stock), WHITE));
|
||||
lines.push(("Удар недоступен: нет совместимого боеприпаса".into(), GREY));
|
||||
if k.aimed {
|
||||
lines.push(("Ракета по ней уже в полёте".into(), YELLOW));
|
||||
}
|
||||
if k.est.is_some_and(|e| e.fix) && !matches!(k.state, SiteState::Destroyed(_)) {
|
||||
btns.push(("Ударить по пусковой".into(), Act::Strike(id), false));
|
||||
btns.push(("Почему удар недоступен?".into(), Act::Strike(id), false));
|
||||
}
|
||||
btns.push(("В центр".into(), Act::Centre, false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user