How to Add New Interaction Points

This guide explains how to add new interaction points (kitchen, sink, shower) for MLO property types in the RTX Housing System.

Interaction configuration is located in: configs/interactions.lua

You will mainly work with:

  • Config.HouseInteractions — defines all interaction points for mlo properties

  • Config.EnableInteractablePositionTool — developer tool for getting coordinates

  • Config.InteractableCommand — command used to capture positions


1) Interaction Structure (Config.HouseInteractions)

Each mlo property is defined as a table inside Config.HouseInteractions.

Structure

  • [houseId] — house ID from database

  • cookcoords — kitchen interaction position

  • sinkcoords — list of sink interaction points

  • showercoords — list of shower interaction points


2) Kitchen Interaction

Kitchen supports only one interaction point per house.

Fields explained

  • coords — position where player interacts with the kitchen

Example


3) Sink Interactions

You can define multiple sinks per house.

Fields explained

  • coordswater — position where water effects are spawned

  • coordsplayer — player position during interaction

  • heading — player rotation

Example


4) Shower Interactions

You can define multiple showers per house.

Fields explained

  • coordswater — water effect position

  • coordsplayer — player position while showering

  • heading — player rotation

Example


5) Using the Position Tool (DEV)

You can use the built-in developer tool to easily get coordinates.

Command

Types

  • kitchen

  • sink

  • shower

Coordinates will be printed in the F8 console.

⚠️ This tool is for development only. Do not enable it on a live server.


6) Example Full Setup


Restart & Test

Restart housing:

Test in-game

  • Enter the property

  • Try interacting with:

    • kitchen

    • sink

    • shower


Common Mistakes

  • Missing houseId or wrong ID

  • Incorrect coordinates (player not aligned)

  • Wrong heading (player facing wrong direction)

  • Missing coordsplayer or coordswater

  • Using position tool on live server


Need help?

If you want, we can help you set up interactions for your interiors. Contact us on Discord: https://discord.gg/rtxdevarrow-up-right

Last updated