Skip to main content

Quagmire Safe

Based on game build 714014 | Last updated: 2026-03-06

Overview

quagmire_safe is a preconfigured prefab representing a secure storage container found in the Quagmire biome. It is a non-interactive entity on the client and fully instantiated on the server with core animation, sound, and network capabilities. It uses a custom display name function to show "LOCKED" when the container cannot be opened, and integrates with the quagmire mod's server-side post-initialization logic via event_server_data.

Usage example

-- This prefab is not meant to be manually instantiated by mods.
-- It is automatically created by the world generation system when Quagmire content spawns.
-- Example of referencing it in a mod (e.g., to listen for its spawn):
local function OnEntityCreate(inst)
if inst.prefab == "quagmire_safe" then
-- perform custom logic here
end
end
TheSim:ListenForEvent("entitycreate", OnEntityCreate)

Dependencies & tags

Components used: None identified
Tags: Adds structure to the entity.

Properties

No public properties

Main functions

Not applicable

Events & listeners

Not applicable