mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-19 12:36:24 +00:00
Update SET-SCENERY-100 - Scenery Set From Zone.lua
This commit is contained in:
+1
-2
@@ -7,7 +7,7 @@
|
|||||||
--
|
--
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
-- Join the game master slot initially, and then the Tank in
|
-- Join the game master slot initially, and then the Tank in
|
||||||
-- Combined Arms after a few seconds. Shoot and destroy on of the tanks
|
-- Combined Arms after a few seconds. Shoot and destroy one of the tanks
|
||||||
-- ahead.
|
-- ahead.
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
-- Date: November 2022
|
-- Date: November 2022
|
||||||
@@ -25,7 +25,6 @@ local oiltanks = SET_SCENERY:New()
|
|||||||
oilstation:ForEachScenery(
|
oilstation:ForEachScenery(
|
||||||
function(object)
|
function(object)
|
||||||
local scenery = object --Wrapper.Scenery#SCENERY
|
local scenery = object --Wrapper.Scenery#SCENERY
|
||||||
local name = scenery:GetName()
|
|
||||||
local desc = scenery:GetDesc()
|
local desc = scenery:GetDesc()
|
||||||
BASE:I({desc.typeName})
|
BASE:I({desc.typeName})
|
||||||
if string.find(string.lower(desc.typeName),"tank") then
|
if string.find(string.lower(desc.typeName),"tank") then
|
||||||
|
|||||||
Reference in New Issue
Block a user