Furniture Variable Set

Description

Sets a variable on the targeted Furniture Entity

Attributes

This mechanic inherits every attribute of the VariableSet mechanic

  • The scope attribute is ignored, as the targeted registry is always that of the target furniture's

Examples

Set a value on all furnitures in radius with the given type, and then read it back

  Skills:
  - furniturevariableset{var=example;type=STRING;val=hello world} @FurnitureInRadius{r=10;types=Example_Furniture}
 
  - foreach{skill=[
    - setvariable{var=skill.message;type=STRING;val="<target.uuid> <furniture.var.example>"}
    - message{m=<skill.var.message>} @self
    ]} @FurnitureInRadius{r=10;types=Example_Furniture}

Aliases

  • FurnitureSetVariable
  • FurnitureSetVar
Updated Aug 19, 2026