Skip to content

Update Spawn.lua#2579

Merged
Applevangelist merged 2 commits intomaster-ngfrom
leka1986-patch-1
Apr 20, 2026
Merged

Update Spawn.lua#2579
Applevangelist merged 2 commits intomaster-ngfrom
leka1986-patch-1

Conversation

@leka1986
Copy link
Copy Markdown
Collaborator

@leka1986 leka1986 commented Apr 19, 2026

SPAWN:SpawnAtAirbase() and SPAWN:ParkAircraft() now handle HELIPAD/FARP parking the same way as airbases: explicit parking is honored first, helicopter spawns try the smarter parking search before falling back to the simpler free-spot table.

CSAR:

CSAR now treats aircraft with AircraftType[type] <= 0 as not CSAR-capable when building the active SAR unit list, while still allowing those type keys to exist for other systems such as FARP warehouse.

Added:

CSAR.AircraftType["Ka-50_3"] = 0
CSAR.AircraftType["Ka-50"] = 0
CSAR.AircraftType["AV8BNA"] = 0

SPAWN:SpawnAtAirbase() and SPAWN:ParkAircraft() now handle HELIPAD/FARP parking the same way as airbases: explicit parking is honored first, helicopter spawns try the smarter parking search before falling back to the simpler free-spot table.
CSAR now treats aircraft with AircraftType[type] <= 0 as not CSAR-capable when building the active SAR unit list, while still allowing those type keys to exist for other systems such as FARP storage setup.

Added those to the type,

CSAR.AircraftType["Ka-50_3"] = 0
CSAR.AircraftType["Ka-50"] = 0
CSAR.AircraftType["AV8BNA"] = 0
@leka1986 leka1986 requested a review from Applevangelist April 19, 2026 19:11
@Applevangelist Applevangelist merged commit e76fd23 into master-ng Apr 20, 2026
@leka1986 leka1986 deleted the leka1986-patch-1 branch April 20, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants