Skip to main content

Rope

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

Overview

The rope prefab defines an item used primarily as a fuel source and tradable cat toy. It is instantiated as an inventory object with physical, animated, and networked properties. When added to the world on the master simulation, it gains additional functionality: inventoryitem, inspectable, stackable, fuel, and tradable components. It is also configured to burn and ignite under specific conditions via MakeSmallBurnable, MakeSmallPropagator, and MakeHauntableLaunchAndIgnite.

Usage example

local inst = SpawnPrefab("rope")
if inst ~= nil then
inst.Transform:SetPosition(x, y, z)
inst:PushEvent("ignite", { igniter = some_actor })
end

Dependencies & tags

Components used: fuel (only on master sim) Tags: Adds cattoy

Properties

PropertyTypeDefault ValueDescription
fuelvaluenumberTUNING.MED_FUELThe amount of fuel provided when burned; set on the fuel component after it is added.
pickupsoundstring"cloth"Sound effect played when the item is picked up.
AnimStateAnimState (readonly)-Provides animation and build state (anim/rope.zip, build "rope", plays "idle").

Main functions

Not applicable.

Events & listeners

  • Listens to: None identified.
  • Pushes: ignite — can be pushed manually (e.g., via inst:PushEvent("ignite", { igniter = ... })) to trigger burning behavior configured via MakeSmallBurnable and MakeHauntableLaunchAndIgnite.