From c13f92a3b9cf8d042c6f3735c56a5ea345c15407 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Fri, 6 Feb 2026 14:33:52 -0500 Subject: [PATCH] Expose airdrop stuff to Lua --- src/deh_tables.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/deh_tables.c b/src/deh_tables.c index abaa80275..e55e178d1 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -426,8 +426,12 @@ struct int_const_s const PLAYERFLAG_ALIASES[] = { }; const char *const AIRDROPFLAG_LIST[] = { - "WANTSAIRDROP", // Wants air drop (active while holding down brake, used for bouncy air drop) - "AIRDROP", // Is in Air Drop (activation / deactivation criteria change if light or heavy) + "AIRDROPINPUT", // Wants air drop (active while holding down brake, used for bouncy air drop) + "WANTSAIRDROP", // Is in Air Drop (activation / deactivation criteria change if light or heavy) + "AIRDROP_LIGHT", // Is in Light Air Drop + "AIRDROP_HEAVY", // Is in Heavy Air Drop + + "AIRDROP_MASK", // Is in any Air Drop state NULL // stop loop here. }; @@ -1806,5 +1810,11 @@ struct int_const_s const INT_CONST[] = { {"BLANKART", 1}, + // airdroptype_t + {"AIRDROP_NONE", AIRDROP_NONE}, + {"AIRDROP_LIGHT", AIRDROP_LIGHT}, + {"AIRDROP_HEAVY", AIRDROP_HEAVY}, + {"AIRDROP_FUSION", AIRDROP_FUSION}, + {NULL,0} };