Quagmire Plates
Based on game build 714014 | Last updated: 2026-03-06
Overview
The quagmire_plates.lua file defines a reusable factory function MakePlate that constructs prefabs for Quagmire-series silver plates and bowls. These prefabs are simple in-game items used as functional replacements for standard plate/bowl items in the Quagmire scenario. The component does not define a reusable component class; instead, it directly returns two prefabs (quagmire_plate_silver and quagmire_bowl_silver) configured with specific animations, assets, and server-side initialization hooks.
It integrates with the game’s asset system, network replication, and event framework for master-side setup (event_server_data), but does not define or depend on any custom components.
Usage example
-- This file is used internally by the game to register prefabs.
-- Modders can reference the prefabs directly:
local plate = SpawnPrefab("quagmire_plate_silver")
local bowl = SpawnPrefab("quagmire_bowl_silver")
Dependencies & tags
Components used: None identified
Tags: Adds quagmire_replater to each generated prefab instance.
Properties
No public properties.
Main functions
MakePlate(basedish, dishtype, assets)
- Description: Constructs and returns a
Prefabdefinition for a Quagmire-specific dishware item (e.g., silver plate or bowl). This is a factory function used to avoid duplication across similar prefabs. - Parameters:
basedish(string) – Base name for the animation bank and build (e.g.,"plate"or"bowl").dishtype(string) – Subtype identifier used in animation symbol overrides and filenames (e.g.,"silver").assets(table) – Unused in current implementation; local assets table is defined inside the function and shadows the parameter.
- Returns:
Prefab– A fully configured prefab definition ready for registration. - Error states: None identified; assumes valid string inputs.
Events & listeners
- Listens to: None identified
- Pushes: None identified
(Note:event_server_datais a registered hook, not a local event listener.)