I have this in encode : [[{“F1”:[{“R1”:[]},{“R2”:[{“Decorations”:3,“TV”:1,“Toilet”:2}]}]},{“F2”:[{“R1”:[{“Decorations”:3,“TV”:1,“Toilet”:2}]}]}]] . Or this in script:
Oof, if this is your layout you should probably look into object-oriented programming tutorials for Lua, because that could help tremendously. I can give you an example of creating a table-based object system that would be lightweight but work quite well in this circumstance.