Integrate delivered HQ memory, finite physical convoy and RHS WCS dependencies
This commit is contained in:
@@ -11,6 +11,7 @@ class ERR_HQAdminProvider : ERR_AdminProvider
|
||||
if (option == "interval") return "reportIntervalSeconds";
|
||||
if (option == "squads") return "supportSquadLimit";
|
||||
if (option == "radius") return "responseRadiusMetres";
|
||||
if (option == "stinger") return "stingerChanceOneIn";
|
||||
return "";
|
||||
}
|
||||
override int JournalSequence()
|
||||
@@ -26,8 +27,16 @@ class ERR_HQAdminProvider : ERR_AdminProvider
|
||||
}
|
||||
override bool Execute(ERR_GameMode mode, string arguments, array<string> replies)
|
||||
{
|
||||
if (arguments != "status" && arguments != "hq show" && arguments != "hq log") return false;
|
||||
if (arguments != "status" && arguments != "hq show" && arguments != "hq log" && arguments != "hq memory" && arguments != "hq convoy show" && arguments != "hq convoy start") return false;
|
||||
if (!m_HQ) { replies.Insert("HQ unavailable."); return true; }
|
||||
if (arguments == "hq convoy start")
|
||||
{
|
||||
m_HQ.StartScenarioConvoy();
|
||||
replies.Insert(m_HQ.ConvoyStatus());
|
||||
return true;
|
||||
}
|
||||
if (arguments == "hq convoy show") { replies.Insert(m_HQ.ConvoyStatus()); return true; }
|
||||
if (arguments == "hq memory") { m_HQ.MemoryStatus(replies); return true; }
|
||||
if (arguments == "hq show" || arguments == "status") replies.Insert(m_HQ.Status());
|
||||
else
|
||||
{
|
||||
@@ -40,9 +49,10 @@ class ERR_HQAdminProvider : ERR_AdminProvider
|
||||
override bool Help(string topic, array<string> replies)
|
||||
{
|
||||
if (topic != "hq") return false;
|
||||
replies.Insert("/esc hq show | hq log show|next|set on|off");
|
||||
replies.Insert("/esc hq interval|squads|radius show|set N");
|
||||
replies.Insert("HQ assigns available physical squads through delivered reports. These commands do not create replacement forces.");
|
||||
replies.Insert("/esc hq show | hq memory | hq log show|next|set on|off | hq convoy show|start");
|
||||
replies.Insert("/esc hq interval|squads|radius|stinger show|set N");
|
||||
replies.Insert("Stinger: 0 off, 1 every eligible soldier, 2..10000 one in N; applies only before each actor rolls.");
|
||||
replies.Insert("HQ assigns available physical squads through delivered reports. Convoy start uses the single finite initial deployment; losses are not replaced.");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user