---@meta native_types
-- file not used by the game, but used for telling the IDE about what exists
-- this file contains fields changeble through cfg files, the one here in fxdata is the default
-- custom maps/campaigns can generate their own version, so all custom types are still recognized by the IDE

-- to generate one with the values specific to your map use the !luatypedump on the specific map you'd like the file for

---@alias creature_type "WIZARD"|"BARBARIAN"|"ARCHER"|"MONK"|"DWARFA"|"KNIGHT"|"AVATAR"|"TUNNELLER"|"WITCH"|"GIANT"|"FAIRY"|"THIEF"|"SAMURAI"|"HORNY"|"SKELETON"|"TROLL"|"DRAGON"|"DEMONSPAWN"|"FLY"|"DARK_MISTRESS"|"SORCEROR"|"BILE_DEMON"|"IMP"|"BUG"|"VAMPIRE"|"SPIDER"|"HELL_HOUND"|"GHOST"|"TENTACLE"|"ORC"|"FLOATING_SPIRIT"|"TIME_MAGE"|"DRUID"|"BIRD"|"MAIDEN"|"SPIDERLING"
---@alias room_type "NULL"|"ENTRANCE"|"TREASURE"|"RESEARCH"|"PRISON"|"TORTURE"|"TRAINING"|"DUNGEON_HEART"|"WORKSHOP"|"SCAVENGER"|"TEMPLE"|"GRAVEYARD"|"BARRACKS"|"GARDEN"|"LAIR"|"BRIDGE"|"GUARD_POST"
---@alias power_kind "NOPOWER"|"POWER_HAND"|"POWER_IMP"|"POWER_OBEY"|"POWER_SLAP"|"POWER_SIGHT"|"POWER_CALL_TO_ARMS"|"POWER_CAVE_IN"|"POWER_HEAL_CREATURE"|"POWER_HOLD_AUDIENCE"|"POWER_LIGHTNING"|"POWER_SPEED"|"POWER_PROTECT"|"POWER_CONCEAL"|"POWER_DISEASE"|"POWER_CHICKEN"|"POWER_DESTROY_WALLS"|"POWER_TIME_BOMB"|"POWER_POSSESS"|"POWER_ARMAGEDDON"|"POWER_PICKUP_CREATURE"|"POWER_PICKUP_GOLD"|"POWER_PICKUP_FOOD"|"POWER_REBOUND"|"POWER_FREEZE"|"POWER_SLOW"|"POWER_FLIGHT"|"POWER_VISION"|"POWER_TUNNELLER"
---@alias trap_type "NOTRAP"|"BOULDER"|"ALARM"|"POISON_GAS"|"LIGHTNING"|"WORD_OF_POWER"|"LAVA"|"TNT"
---@alias door_type "NODOOR"|"WOOD"|"BRACED"|"STEEL"|"MAGIC"|"SECRET"|"MIDAS"
---@alias object_type string|"NULL"|"BARREL"|"TORCH"|"GOLD_CHEST"|"TEMPLE_STATUE"|"SOUL_CONTAINER"|"GOLD"|"TORCHUN"|"STATUEWO"|"CHICKEN_GRW"|"CHICKEN_MAT"|"SPELLBOOK_HOE"|"SPELLBOOK_IMP"|"SPELLBOOK_OBEY"|"SPELLBOOK_SLAP"|"SPELLBOOK_SOE"|"SPELLBOOK_CTA"|"SPELLBOOK_CAVI"|"SPELLBOOK_HEAL"|"SPELLBOOK_HLDAUD"|"SPELLBOOK_LIGHTN"|"SPELLBOOK_SPDC"|"SPELLBOOK_PROT"|"SPELLBOOK_CONCL"|"CTA_ENSIGN"|"ROOM_FLAG"|"ANVIL"|"PRISON_BAR"|"CANDLESTCK"|"GRAVE_STONE"|"STATUE_HORNY"|"TRAINING_POST"|"TORTURE_SPIKE"|"TEMPLE_SPANGLE"|"POTION_PURPLE"|"POTION_BLUE"|"POTION_GREEN"|"POWER_HAND"|"POWER_HAND_GRAB"|"POWER_HAND_WHIP"|"CHICKEN_STB"|"CHICKEN_WOB"|"CHICKEN_CRK"|"GOLDL"|"SPINNING_KEY"|"SPELLBOOK_DISEASE"|"SPELLBOOK_CHKN"|"SPELLBOOK_DWAL"|"SPELLBOOK_TBMB"|"HERO_GATE"|"SPINNING_KEY2"|"ARMOUR"|"GOLD_HOARD_1"|"GOLD_HOARD_2"|"GOLD_HOARD_3"|"GOLD_HOARD_4"|"GOLD_HOARD_5"|"LAIR_WIZRD"|"LAIR_BARBR"|"LAIR_ARCHR"|"LAIR_MONK"|"LAIR_DWRFA"|"LAIR_KNGHT"|"LAIR_AVATR"|"LAIR_TUNLR"|"LAIR_WITCH"|"LAIR_GIANT"|"LAIR_FAIRY"|"LAIR_THIEF"|"LAIR_SAMUR"|"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|"LILYPAD"|"CATTAILS"|"BANNER"|"LANTERN_PST"|"POTION_RED"|"POTION_BROWN"|"POTION_WHITE"|"POTION_YELLOW"|"ROCK_PILLAR"|"ROCK"|"LAVA_PILLAR"|"LAVA_ROCK"|"ICE_PILLAR"|"ICE_ROCK"|"WRKBOX_SECRET"|"GUARDFLAG_WHITE"|"HEARTFLAME_WHITE"|"SPELLBOOK_RBND"|"GUARDFLAG_PURPLE"|"HEARTFLAME_PURPLE"|"GUARDFLAG_BLACK"|"HEARTFLAME_BLACK"|"GUARDFLAG_ORANGE"|"HEARTFLAME_ORANGE"|"SPECBOX_HEALALL"|"SPECBOX_GETGOLD"|"SPECBOX_MKANGRY"|"SPECBOX_MKUNSAFE"|"SPELLBOOK_FRZ"|"SPELLBOOK_SLOW"|"SPELLBOOK_FLGT"|"SPELLBOOK_VSN"|"WRKBOX_MIDAS"|"SPELLBOOK_TUNLR"|"LAIR_BIRD"|"LAIR_MAIDEN"|"LAIR_SPIDERLING"
---@alias effect_generator_type "EFFECTGENERATOR_NULL"|"EFFECTGENERATOR_LAVA"|"EFFECTGENERATOR_DRIPPING_WATER"|"EFFECTGENERATOR_ROCK_FALL"|"EFFECTGENERATOR_ENTRANCE_ICE"|"EFFECTGENERATOR_DRY_ICE"
---@alias effect_element_type string|"EFFECTELEMENT_NULL"|"EFFECTELEMENT_BLAST1"|"EFFECTELEMENT_BLOOD1"|"EFFECTELEMENT_BLOOD2"|"EFFECTELEMENT_BLOOD3"|"EFFECTELEMENT_UNKNOWN05"|"EFFECTELEMENT_SPIKED_BALL"|"EFFECTELEMENT_CLOUD1"|"EFFECTELEMENT_SMALL_SPARKLES"|"EFFECTELEMENT_BALL_OF_LIGHT"|"EFFECTELEMENT_RED_FLAME_BIG"|"EFFECTELEMENT_ICE_SHARD"|"EFFECTELEMENT_LEAVES1"|"EFFECTELEMENT_THINGY2"|"EFFECTELEMENT_THINGY3"|"EFFECTELEMENT_TINY_FLASH1"|"EFFECTELEMENT_FLASH_BALL1"|"EFFECTELEMENT_RED_FLASH"|"EFFECTELEMENT_FLASH_BALL2"|"EFFECTELEMENT_TINY_FLASH2"|"EFFECTELEMENT_PURPLE_STARS"|"EFFECTELEMENT_CLOUD2"|"EFFECTELEMENT_DRIP1"|"EFFECTELEMENT_BLOOD4"|"EFFECTELEMENT_ICE_MELT1"|"EFFECTELEMENT_ICE_MELT2"|"EFFECTELEMENT_TINY_ROCK"|"EFFECTELEMENT_MED_ROCK"|"EFFECTELEMENT_LARGE_ROCK1"|"EFFECTELEMENT_DRIP2"|"EFFECTELEMENT_LAVA_FLAME_STATIONARY"|"EFFECTELEMENT_WATERDROP"|"EFFECTELEMENT_LAVA_FLAME_MOVING"|"EFFECTELEMENT_LARGE_ROCK2"|"EFFECTELEMENT_UNKNOWN34"|"EFFECTELEMENT_UNKNOWN35"|"EFFECTELEMENT_UNKNOWN36"|"EFFECTELEMENT_ENTRANCE_MIST"|"EFFECTELEMENT_SPLASH"|"EFFECTELEMENT_BLAST2"|"EFFECTELEMENT_DRIP3"|"EFFECTELEMENT_PRICE"|"EFFECTELEMENT_ELECTRIC_BALL1"|"EFFECTELEMENT_RED_TWINKLE"|"EFFECTELEMENT_RED_TWINKLE2"|"EFFECTELEMENT_HEAL"|"EFFECTELEMENT_UNKNOWN46"|"EFFECTELEMENT_CLOUD3"|"EFFECTELEMENT_LARGE_ROCK3"|"EFFECTELEMENT_GOLD1"|"EFFECTELEMENT_GOLD2"|"EFFECTELEMENT_GOLD3"|"EFFECTELEMENT_FLASH"|"EFFECTELEMENT_ELECTRIC_BALL2"|"EFFECTELEMENT_RED_PUFF"|"EFFECTELEMENT_RED_FLAME"|"EFFECTELEMENT_BLUE_FLAME"|"EFFECTELEMENT_GREEN_FLAME"|"EFFECTELEMENT_YELLOW_FLAME"|"EFFECTELEMENT_CHICKEN"|"EFFECTELEMENT_ELECTRIC_BALL3"|"EFFECTELEMENT_FEATHERS"|"EFFECTELEMENT_UNKNOWN62"|"EFFECTELEMENT_WHITE_SPARKLES_SMALL"|"EFFECTELEMENT_GREEN_SPARKLES_SMALL"|"EFFECTELEMENT_RED_SPARKLES_SMALL"|"EFFECTELEMENT_BLUE_SPARKLES_SMALL"|"EFFECTELEMENT_WHITE_SPARKLES_MED"|"EFFECTELEMENT_GREEN_SPARKLES_MED"|"EFFECTELEMENT_RED_SPARKLES_MED"|"EFFECTELEMENT_BLUE_SPARKLES_MED"|"EFFECTELEMENT_WHITE_SPARKLES_LARGE"|"EFFECTELEMENT_GREEN_SPARKLES_LARGE"|"EFFECTELEMENT_RED_SPARKLES_LARGE"|"EFFECTELEMENT_BLUE_SPARKLES_LARGE"|"EFFECTELEMENT_RED_SMOKE_PUFF"|"EFFECTELEMENT_BLUE_SMOKE_PUFF"|"EFFECTELEMENT_GREEN_SMOKE_PUFF"|"EFFECTELEMENT_YELLOW_SMOKE_PUFF"|"EFFECTELEMENT_BLUE_PUFF"|"EFFECTELEMENT_GREEN_PUFF"|"EFFECTELEMENT_YELLOW_PUFF"|"EFFECTELEMENT_WHITE_PUFF"|"EFFECTELEMENT_RED_TWINKLE3"|"EFFECTELEMENT_THINGY4"|"EFFECTELEMENT_BLOOD_SPLAT"|"EFFECTELEMENT_BLUE_TWINKLE"|"EFFECTELEMENT_GREEN_TWINKLE"|"EFFECTELEMENT_YELLOW_TWINKLE"|"EFFECTELEMENT_CLOUD_DISPERSE"|"EFFECTELEMENT_BLUE_TWINKE2"|"EFFECTELEMENT_GREEN_TWINKLE2"|"EFFECTELEMENT_YELLOW_TWINKLE2"|"EFFECTELEMENT_RED_DOT"|"EFFECTELEMENT_ICE_MELT3"|"EFFECTELEMENT_DISEASE_FLY"|"EFFECTELEMENT_WHITE_TWINKLE"|"EFFECTELEMENT_WHITE_TWINKLE2"|"EFFECTELEMENT_WHITE_FLAME"|"EFFECTELEMENT_WHITE_SMOKE_PUFF"|"EFFECTELEMENT_PURPLE_FLAME"|"EFFECTELEMENT_PURPLE_SMOKE_PUFF"|"EFFECTELEMENT_PURPLE_TWINKLE"|"EFFECTELEMENT_PURPLE_TWINKLE2"|"EFFECTELEMENT_PURPLE_PUFF"|"EFFECTELEMENT_BLACK_FLAME"|"EFFECTELEMENT_BLACK_SMOKE_PUFF"|"EFFECTELEMENT_BLACK_TWINKLE"|"EFFECTELEMENT_BLACK_TWINKLE2"|"EFFECTELEMENT_BLACK_PUFF"|"EFFECTELEMENT_ORANGE_FLAME"|"EFFECTELEMENT_ORANGE_SMOKE_PUFF"|"EFFECTELEMENT_ORANGE_TWINKLE"|"EFFECTELEMENT_ORANGE_TWINKLE2"|"EFFECTELEMENT_ORANGE_PUFF"|"EFFECTELEMENT_TINY_FLASH3"|"EFFECTELEMENT_STEP_SAND"|"EFFECTELEMENT_STEP_GYPSUM"|"EFFECTELEMENT_GOLD_COIN"|"EFFECTELEMENT_HEAL_BEAM"|"EFFECTELEMENT_ARMOUR"|"EFFECTELEMENT_REBOUND_BEAM"|"EFFECTELEMENT_GHOST"
---@alias effect_type "NULL"|"EFFECT_EXPLOSION_1"|"EFFECT_EXPLOSION_2"|"EFFECT_EXPLOSION_3"|"EFFECT_EXPLOSION_4"|"EFFECT_EXPLOSION_5"|"EFFECT_BLOOD_HIT"|"EFFECT_BLOOD_CHICKEN"|"EFFECT_BLOOD_3"|"EFFECT_BLOOD_4"|"EFFECT_BLOOD_5"|"EFFECT_GAS_1"|"EFFECT_GAS_2"|"EFFECT_GAS_3"|"EFFECT_WORD_OF_POWER"|"EFFECT_ICE_SHARD"|"EFFECT_HARMLESS_GAS_1"|"EFFECT_HARMLESS_GAS_2"|"EFFECT_HARMLESS_GAS_3"|"EFFECT_DRIP_1"|"EFFECT_DRIP_2"|"EFFECT_DRIP_3"|"EFFECT_HIT_FROZEN_UNIT"|"EFFECT_HAIL"|"EFFECT_ICE_DEATH"|"EFFECT_DIRT_RUBBLE_SMALL"|"EFFECT_DIRT_RUBBLE"|"EFFECT_DIRT_RUBBLE_BIG"|"EFFECT_SPANGLE_RED"|"EFFECT_DRIP_4"|"EFFECT_CLOUD"|"EFFECT_HARMLESS_GAS_4"|"EFFECT_GOLD_RUBBLE_1"|"EFFECT_GOLD_RUBBLE_2"|"EFFECT_GOLD_RUBBLE_3"|"EFFECT_TEMPLE_SPLASH"|"EFFECT_CEILING_BREACH"|"EFFECT_STRANGE_GAS_1"|"EFFECT_STRANGE_GAS_2"|"EFFECT_STRANGE_GAS_3"|"EFFECT_GAS_SLOW_1"|"EFFECT_GAS_SLOW_2"|"EFFECT_GAS_SLOW_3"|"EFFECT_ERUPTION"|"EFFECT_ELECTRIC_BALLS"|"EFFECT_EXPLOSION_6"|"EFFECT_SPANGLE_RED_BIG"|"EFFECT_COLOURFUL_FIRE_CIRCLE"|"EFFECT_FLASH"|"EFFECT_DUMMY"|"EFFECT_EXPLOSION_7"|"EFFECT_FEATHER_PUFF"|"EFFECT_EXPLOSION_8"|"EFFECT_RESEARCH_COMPLETE"|"EFFECT_COLFOUNTN_1"|"EFFECT_COLFOUNTN_2"|"EFFECT_COLFOUNTN_3"|"EFFECT_SPANGLE_BLUE"|"EFFECT_SPANGLE_GREEN"|"EFFECT_SPANGLE_YELLOW"|"EFFECT_BALL_PUFF_RED"|"EFFECT_BALL_PUFF_BLUE"|"EFFECT_BALL_PUFF_GREEN"|"EFFECT_BALL_PUFF_YELLOW"|"EFFECT_BALL_PUFF_WHITE"|"EFFECT_BLOOD_7"|"EFFECT_BLOOD_FOOTSTEP"|"EFFECT_SPANGLE_MULTICOLOURED"|"EFFECT_BOULDER_BREAK_WATER"|"EFFECT_SPANGLE_WHITE"|"EFFECT_SPANGLE_PURPLE"|"EFFECT_BALL_PUFF_PURPLE"|"EFFECT_SPANGLE_BLACK"|"EFFECT_BALL_PUFF_BLACK"|"EFFECT_SPANGLE_ORANGE"|"EFFECT_BALL_PUFF_ORANGE"|"EFFECT_FALLING_ICE_BLOCKS"|"EFFECT_SLOW_KEEPER_POWER"|"EFFECT_TINY_SPARKS"|"EFFECT_COIN_FOUNTAIN"|"EFFECT_FEAR_CIRCLE"|"EFFECT_CRAZY_GAS"
---@alias spell_type "NOSPELL"|"SPELL_FIREBALL"|"SPELL_SUMMON_SPIDERLING"|"SPELL_FREEZE"|"SPELL_ARMOUR"|"SPELL_LIGHTNING"|"SPELL_REBOUND"|"SPELL_HEAL"|"SPELL_POISON_CLOUD"|"SPELL_INVISIBILITY"|"SPELL_TELEPORT"|"SPELL_SPEED"|"SPELL_SLOW"|"SPELL_DRAIN"|"SPELL_FEAR"|"SPELL_MELEE_SLOW"|"SPELL_NAVI_MISSILE"|"SPELL_FLAME_BREATH"|"SPELL_WIND"|"SPELL_LIGHT"|"SPELL_FLIGHT"|"SPELL_SIGHT"|"SPELL_GRENADE"|"SPELL_HAILSTORM"|"SPELL_WORD_OF_POWER"|"SPELL_CRAZY_GAS"|"SPELL_DISEASE"|"SPELL_CHICKEN"|"SPELL_TIME_BOMB"|"SPELL_LIZARD"|"SPELL_SUMMON_FAMILIAR"|"SPELL_SUMMON_CREATURE"
---@alias slab_type "HARD"|"GOLD"|"DIRT"|"TORCH_DIRT"|"DRAPE_WALL"|"TORCH_WALL"|"TWINS_WALL"|"WOMAN_WALL"|"PAIR_WALL"|"DAMAGED_WALL"|"PATH"|"PRETTY_PATH"|"LAVA"|"WATER"|"ENTRANCE_ZONE"|"ENTRANCE_WALL"|"TREASURY_AREA"|"TREASURY_WALL"|"BOOK_SHELVES"|"LIBRARY_WALL"|"PRISON_AREA"|"PRISON_WALL"|"TORTURE_AREA"|"TORTURE_WALL"|"TRAINING_AREA"|"TRAINING_WALL"|"HEART_PEDESTAL"|"HEART_WALL"|"WORKSHOP_AREA"|"WORKSHOP_WALL"|"SCAVENGE_AREA"|"SCAVENGER_WALL"|"TEMPLE_POOL"|"TEMPLE_WALL"|"GRAVE_AREA"|"GRAVE_WALL"|"HATCHERY"|"HATCHERY_WALL"|"LAIR_AREA"|"LAIR_WALL"|"BARRACK_AREA"|"BARRACK_WALL"|"DOOR_WOODEN"|"DOOR_WOODEN2"|"DOOR_BRACE"|"DOOR_BRACE2"|"DOOR_STEEL"|"DOOR_STEEL2"|"DOOR_MAGIC"|"DOOR_MAGIC2"|"SLAB50"|"BRIDGE_FRAME"|"GEMS"|"GUARD_AREA"|"PURPLE_PATH"|"DOOR_SECRET"|"DOOR_SECRET2"|"HARD_FLOOR"|"DOOR_MIDAS"|"DOOR_MIDAS2"|"DENSE_GOLD"

---@class roomfields
---@field NULL integer
---@field ENTRANCE integer
---@field TREASURE integer
---@field RESEARCH integer
---@field PRISON integer
---@field TORTURE integer
---@field TRAINING integer
---@field DUNGEON_HEART integer
---@field WORKSHOP integer
---@field SCAVENGER integer
---@field TEMPLE integer
---@field GRAVEYARD integer
---@field BARRACKS integer
---@field GARDEN integer
---@field LAIR integer
---@field BRIDGE integer
---@field GUARD_POST integer

---@class creaturefields
---@field WIZARD integer
---@field BARBARIAN integer
---@field ARCHER integer
---@field MONK integer
---@field DWARFA integer
---@field KNIGHT integer
---@field AVATAR integer
---@field TUNNELLER integer
---@field WITCH integer
---@field GIANT integer
---@field FAIRY integer
---@field THIEF integer
---@field SAMURAI integer
---@field HORNY integer
---@field SKELETON integer
---@field TROLL integer
---@field DRAGON integer
---@field DEMONSPAWN integer
---@field FLY integer
---@field DARK_MISTRESS integer
---@field SORCEROR integer
---@field BILE_DEMON integer
---@field IMP integer
---@field BUG integer
---@field VAMPIRE integer
---@field SPIDER integer
---@field HELL_HOUND integer
---@field GHOST integer
---@field TENTACLE integer
---@field ORC integer
---@field FLOATING_SPIRIT integer
---@field TIME_MAGE integer
---@field DRUID integer
---@field BIRD integer
---@field MAIDEN integer
---@field SPIDERLING integer

