This commit is contained in:
Nordi98 2025-06-10 17:37:12 +02:00
parent 6d90da2841
commit b71b47a9fb
169 changed files with 12687 additions and 2932 deletions

View file

@ -0,0 +1,33 @@
-- Cargo ship: -168.1825, -2364.8259, 20.000
exports('GetCargoShipObject', function()
return CargoShip
end)
CargoShip = {
State = {
normal = {
"cargoship",
"ship_occ_grp1"
},
sunk = {
"sunkcargoship",
"ship_occ_grp2"
},
Set = function(state)
CargoShip.State.Clear(false)
EnableIpl(state, state)
end,
Clear = function(refresh)
EnableIpl({
CargoShip.State.normal,
CargoShip.State.sunk
}, false)
end
},
LoadDefault = function()
CargoShip.State.Set(CargoShip.State.normal)
end
}