GZ-Loot: Enemy Loot and Random Drops

by gz-mods

GZ-Loot #BITER LOOT UPDATE: Loot from enemies and from the sky! Biters and spawners of all kinds (incl. modded) will now drop items and FLUX. Use with GZ-Economy and RPG systems! 1.0.4: GZ-Threat enemies drop more loot!

Content
5 days ago
2.0
312
Transportation Logistics Cheats

Changelog

Version: 1.0.24
Date: 2026-09-04
  Changes:
    - Added a default-on runtime setting to limit Magic Drop item quality to the highest quality tier unlocked by any player force.
    - The cap is checked when each Magic Drop is generated, so newly completed quality research applies immediately without a migration or restart.
    - Disabling the setting restores the previous behavior where all non-hidden quality tiers can roll.
Version: 1.0.23
Date: 2026-08-25
  Integration:
    - Added a Gizmod event-bus subscription for GZ-Threat's Apex loot multiplier.
    - Biter/spitter global drops and registered additive unit drops now use the current Threat multiplier.
    - Spawner and other non-unit registered rewards are not multiplied.
    - Added gz-loot.get_external_enemy_multiplier for diagnostics.
  Performance:
    - No per-biter remote calls are required.

Version: 1.0.22
Date: 2026-08-23
  Changes:
    - Purple Flux enemy rewards now scale linearly with elapsed game time at +2.5% per in-game hour when GZ-Economy is installed.
    - Existing active GZ-Loot bags that still contain the legacy coin reward are migrated to Purple Flux on configuration change.

Version: 1.0.21
Date: 2026-08-23
  Changes:
    - Automatically uses GZ Economy Purple Flux instead of vanilla coins for the default enemy currency when gz-economy is installed.
    - Existing saves using the old default coin reward migrate to Purple Flux on upgrade; custom reward items are preserved.
    - Removing GZ Economy automatically falls back from Purple Flux to coins.
    - Added an optional gz-economy dependency so the integration/load order is explicit.

Version: 1.0.20
Date: 2026-08-23
  Fixes:
    - Added the missing register_enemy remote API that GZ-Terra's enemy-loot bridge was already expecting.
    - Registered enemy loot is additive to the normal configurable GZ-Loot reward and supports guaranteed/random count ranges and probability.
    - Gameplay-critical registered drops remain active even when the generic enemy reward is disabled.
    - Added unregister_enemy and get_registered_enemy API helpers for compatibility/auditing.

Version: 1.0.19
Date: 2026-08-23
  Changes:
    - GZ-Loot now owns global ground-item pickup flying text; collected item stacks show a local +count/item popup.
    - Increased every character prototype's native loot pickup distance by 1 tile.
    - Increased scripted GZ-Loot bag pickup radius from 1.25 to 2.25 tiles so bag markers use the same expanded collection philosophy.
    - Removed these collection-QoL responsibilities from GZ-Terra.

Version: 1.0.18
Date: 2026-08-23
  Changes:
    - Moved the random-drop HUD into the Gizmod GZ Dock when Gizmod is active; the old independent top-flow loot frame is removed.
    - Added ui_status / compact_status remote data for Total, Active, Collected, and Next Drop.
    - Added open_details / open_window remote launchers so the Dock loot control opens the existing detailed drop window.

Version: 1.0.17
Date: 2026-08-23
  Changes:
    - Registers a Gizmod "Magic Drop" milestone and completes it for the player/force that empties a Magic Drop chest.
    - Tracks the most recent player who opened each active Magic Drop so the achievement can name the collector.

Version: 1.0.16
Date: 2026-08-23
  Performance:
    - Spread loot-bag hover and expiry work across ticks with small rotating budgets instead of updating every active bag in one synchronized pulse.
    - Throttled proximity pickup queries to six ticks per player.
    - Reworked random-drop chest maintenance so chest expiry/timers are processed incrementally instead of nested player x chest scans every second.
    - Staggered optional helper-line and statistics GUI refreshes away from the global 60-tick boundary.
Version: 1.0.15
Date: 2026-08-23
  Optimizations:
    - Reworked loot bag gold motes into static entity-attached rendering objects instead of rewriting every mote position/color every four ticks.
    - Reduced the scripted hover update to one sprite-target change per bag every eight ticks.
    - Added an engine-side gold light so the loot marker keeps its highlighted look without continuous Lua animation work.
    - Fixes the severe GZ-Loot script-update regression introduced by the 1.0.14 animated particle implementation.
Version: 1.0.14
Date: 2026-08-23
  Changes:
    - Added a subtle vertical hover/bob animation to enemy loot bag markers.
    - Added animated gold/yellow particle motes around enemy loot bag markers.
    - Loot bag animation remains rendering-only; marker position and pickup behavior are unchanged.
Version: 1.0.13
Date: 2026-08-23
  Bugfixes:
    - Loot bags are now non-item ground markers and can no longer enter player inventories.
    - Walking over a loot bag marker now awards the configured reward item directly.
    - Inventory overflow remains attached to the same ground marker until space is available.
    - Existing tracked 1.0.11/1.0.12 item-based loot bags are migrated to marker entities on configuration change.
Version: 1.0.12
Date: 2026-05-16
  Bugfixes:
    - Removed invalid runtime label styles from the GZ Loot configuration and active chest details GUIs.
    - Fixes multiplayer crash when opening Configure from the active chest details panel.
Version: 1.0.11
Date: 2026-05-13
  Changes:
    - Replaced enemy coin pile drops with one corpse-position loot bag pickup.
    - Loot bag pickup now awards the configured reward item and count, then shows local floating pickup text.
    - Inventory overflow now re-drops remaining loot as another bag instead of spilling coin piles.
Version: 1.0.10
Date: 2026-05-13
  Changes:
    - Added top-layer loot bag visuals for enemy loot drops.
    - Added local floating pickup text when a player collects tracked enemy loot.
    - Added graphics/gz-loot-bag.png as the replaceable loot bag visual asset.
Version: 1.0.9
Date: 2026-05-13
  Changes:
    - Added configurable enemy drops on entity death.
    - Added support for vanilla biters/spitters/spawners, worm turrets, Space Age pentapods/spawners, and Explosive/Toxic/Frost/Armored biter-family names.
    - Added a GZ Loot customization panel and remote interface for Gizmod tab integration.
    - Added /gz-loot-config command for direct access to the customization panel.
Version: 1.0.8
Date: 2026-05-08
  Changes:
    - Added player-present planet filtering so random drops only target valid planet surfaces that currently have a connected player physically present.
    - Updated Gizmod registry capability report.
Version: 1.0.7
Date: 2026-05-08
  Changes:
    - Added Gizmod plugin registration.
    - Added /gz-loot status command.
    - Updated local shortcut icon references for the gz-loot mod id.
Version: 1.0.6
Date: 2026-01-26
  Bugfixes:
    - Custom multipliers for a specific game on FL servers
    - Added a function to force loot to spawn on command
Version: 1.0.3
Date: 2026-01-25
  Bugfixes:
    - Fixed a bug where chests could spawn on technical or temporary surfaces
Version: 1.0.2
Date: 2026-01-25
  Features:
    - Added "Themed Mode" selected categories (e.g., Ammo, Modules, Military,  Raw Materials, Science Pack, Intermediate Product).
  Changes:
    - Added a new notification system: if "Themed Mode" is active, the chat will list all currently selected categories (e.g., Ammo, Modules, Military,  Raw Materials, Science Pack, Intermediate Product).
Version: 1.0.1
Date: 2026-01-24
  Bugfixes:
    - Fixed a multiplayer bug where rendering lines could cause desyncs or unintended visibility toggles between players.

  Changes:
    - Refactored the helper line system: visual lines are now managed per-player within storage.player_settings.
    - Individual players can now toggle their own helper lines via shortcut without affecting other players on the server.