Skip to main content

Waxpaper

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

Overview

waxpaper is a lightweight, stackable inventory item that functions as a flammable fuel source. It is designed to ignite easily and provide short-duration lighting when used as fuel. The prefab integrates with multiple core systems: stackable for item stacking limits, fuel for fuel value contribution, propagator for fire spread mechanics, and inventoryitem for in-game handling. It is commonly used as an ignition aid for campfires or other heat-sensitive objects.

Usage example

The waxpaper prefab is instantiated automatically by the game and not typically added to entities directly by modders. However, a modder might reference its components after acquisition:

-- When waxpaper is in the world or inventory, access its properties:
local fuel_value = inst.components.fuel.fuelvalue -- e.g., TUNING.SMALL_FUEL
local max_stack = inst.components.stackable.maxsize -- e.g., TUNING.STACK_SIZE_SMALLITEM
local flashpoint = inst.components.propagator.flashpoint -- dynamic: 10–15 range

Dependencies & tags

Components used: inspectable, inventoryitem, stackable, fuel, tradable, propagator
Tags: None explicitly added or removed during initialization.

Properties

PropertyTypeDefault ValueDescription
fuelvalue (from fuel)numberTUNING.SMALL_FUELAmount of fuel provided when burned in a fire.
maxsize (from stackable)numberTUNING.STACK_SIZE_SMALLITEMMaximum number of waxpaper items that can stack in one inventory slot.
flashpoint (from propagator)number10 + math.random() * 5 (10–15 range)Temperature at which the item ignites and starts propagating flame to nearby objects.

Main functions

The waxpaper prefab does not define custom component methods; it relies entirely on standardized component behaviors. No additional public functions are defined beyond standard component APIs.

Events & listeners

The waxpaper prefab does not register custom event listeners or emit game-logic events during initialization. It relies on built-in propagator/fuel/ignition hooks from MakeSmallBurnable, MakeSmallPropagator, and MakeHauntableLaunchAndIgnite.