share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
changeset 10172 7cfd1a9356b5
parent 10150 fa5c83fd0ad9
child 10423 b9d6463cf2ca
equal deleted inserted replaced
10171:00f41ff0bf2d 10172:7cfd1a9356b5
   365     local l = 0
   365     local l = 0
   366     local x = 0
   366     local x = 0
   367     local y = 0
   367     local y = 0
   368     local w = 0
   368     local w = 0
   369     local h = 0 
   369     local h = 0 
   370     EnableGameFlags(gfShoppaBorder)
   370     if GetGameFlag(gfSolidLand) then EnableGameFlags(gfShoppaBorder) end
   371     if not GetGameFlag(gfBottomBorder) and GetRandom(2) == 0 then
   371     if not GetGameFlag(gfBottomBorder) and GetRandom(2) == 0 then
   372         AddPoint(-50,2010,7)
   372         AddPoint(-50,2010,7)
   373         AddPoint(4150,2010)
   373         AddPoint(4150,2010)
   374         for i = 0,GetRandom(3) do
   374         for i = 0,GetRandom(3) do
   375             x = GetRandom(4096)
   375             x = GetRandom(4096)