mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
* Add Mbot's Call Artillery Script plugin * Applied PR comments * Fix for wrong indentation, remove unused client skill check, added changelog item
28 lines
1.3 KiB
Lua
28 lines
1.3 KiB
Lua
-------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
-- configuration file for Mbot's Call Artillery Script
|
|
--
|
|
-- This configuration is tailored for a mission generated by DCS Retribution
|
|
-- see https://github.com/dcs-retribution/dcs-retribution
|
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
-- artymbot plugin - configuration
|
|
if dcsRetribution then
|
|
-- retrieve specific options values
|
|
if dcsRetribution.plugins then
|
|
if dcsRetribution.plugins.artymbot then
|
|
env.info("DCSRetribution|Mbot's Call Artillery Script plugin - Setting Up")
|
|
for _, data in pairs(dcsRetribution.artilleryGroups.groundArtillery) do
|
|
AddFS(data.groupName)
|
|
end
|
|
if dcsRetribution.plugins.artymbot.shipArtilleryEnable then
|
|
for _, data in pairs(dcsRetribution.artilleryGroups.shipArtillery) do
|
|
AddFS(data.groupName)
|
|
end
|
|
end
|
|
for _, data in pairs(dcsRetribution.forwardObserverUnits) do
|
|
AddFO(data.unitName)
|
|
end
|
|
end
|
|
end
|
|
end
|