Use the new EnterTransport function in soviet05
This commit is contained in:
@@ -95,8 +95,7 @@ Expand = function()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
mcvGG.IsInWorld = false
|
mcvGG.EnterTransport(mcvtransport)
|
||||||
mcvtransport.LoadPassenger(mcvGG)
|
|
||||||
mcvtransport.Move(GGUnloadPoint.Location)
|
mcvtransport.Move(GGUnloadPoint.Location)
|
||||||
mcvtransport.UnloadPassengers()
|
mcvtransport.UnloadPassengers()
|
||||||
Trigger.AfterDelay(DateTime.Seconds(12), function()
|
Trigger.AfterDelay(DateTime.Seconds(12), function()
|
||||||
@@ -151,7 +150,7 @@ Tick = function()
|
|||||||
Greece.Cash = Greece.Cash + Greece.Resources - Greece.ResourceCapacity * 0.25
|
Greece.Cash = Greece.Cash + Greece.Resources - Greece.ResourceCapacity * 0.25
|
||||||
Greece.Resources = Greece.ResourceCapacity * 0.25
|
Greece.Resources = Greece.ResourceCapacity * 0.25
|
||||||
end
|
end
|
||||||
|
|
||||||
if GoodGuy.Resources >= GoodGuy.ResourceCapacity * 0.75 then
|
if GoodGuy.Resources >= GoodGuy.ResourceCapacity * 0.75 then
|
||||||
GoodGuy.Cash = GoodGuy.Cash + GoodGuy.Resources - GoodGuy.ResourceCapacity * 0.25
|
GoodGuy.Cash = GoodGuy.Cash + GoodGuy.Resources - GoodGuy.ResourceCapacity * 0.25
|
||||||
GoodGuy.Resources = GoodGuy.ResourceCapacity * 0.25
|
GoodGuy.Resources = GoodGuy.ResourceCapacity * 0.25
|
||||||
|
|||||||
Reference in New Issue
Block a user