local colours = {
    ["White"] = 0,
    ["Red"] = 1,
    ["Green"] = 2,
    ["Light Blue"] = 3,
	["Dark Blue"] = 4,    
	["Purple"] = 5,    
	["Pink"] = 6,
}

local RoomClearController = {
    name = "teleportingEsoterically/RoomClearController",
    depth = -8500,
    texture = "objects/aletris/esoterica/roomclearcont",
    fieldInformation = {
        RoomColor = {
            options = {"White","Red","Green","Light Blue","Dark Blue","Purple","Pink"},
            editable = false
        }
    },
    placements = {
        name = "Room Clear Controller",
        data = {
            FlagsToCheck = "",
            SwitchFlag = "",
            FlagsToCheckAfterSwitchFlag = "",
            SoundFlags = "",
            AudioEvents = "",
            RejectionFlag = "",
            Room = "",
            RoomColor = "White",
            Reject = true
        }
    }
}

-- local state = require("loaded_state")
-- local room = state.getRoomByName(RoomClearController.placements.data.room)
-- if room then
--     room.Color = RoomClearController.RoomColor
-- end

return RoomClearController
