RoomClear

Check if room is clear

Usage: Used in 7 task(s)

Lua Implementation

-- Room Clear
function evaluate(params)
    local room = params.room_location or this:getStateProperty("CurrentRoom")

    if not room then
        return false
    end

    return this:hasStateProperty("RoomCleared_" .. tostring(room))
end