function p.get_is_solid() return true end

function p.get_tex() return "block_hall" end

function p.main()
    -- Default block type is "s".
    set_default_block("s")
    
    --Carving the room, by setting
    --a rectangle to be block type empty.
    create_rect("e", 1,1,1, 14,14,14)

    -- Carving the two doors.
    create_rect("e", 0,6,6, 0,8,8)
    create_rect("e", 15,6,6, 15,8,8)
    
    -- Example block.
    set_pos(5,5,5, "r_kitchen")
    
    -- Shrinker.
    add_bent(3,3,6, "bent_base_ring_green")
    
    -- Grow block.
    set_pos(5,5,6, "grow")
    
    local msg_str = "Here is another example. "
        .. "You are in a chunk generated from the file\n"
        .. "\"^x00ff00WorldNodes/Nodes/Floor3/tut_lev3_simple.lua^!\".\n"
        .. "Look at that file now "
        .. "(a quick way to do this is by running the command "
        .. "\"^x00ff00script^!\" while in this room).\n\n"
        .. "Among other things, "
        .. "the main function sets the position (3,3,3) "
        .. "to be of type \"r_kitchen\".\n\n"
        .. "Look at the file WorldNodes/Nodes/r_kitchen.lua "
        .. "to see how type \"r_kitchen\" blocks work "
        .. "(a quick way to do this is by running the command "
        .. "\"^x00ff00script r_kitchen^!\"). "
        .. "Note: \"r_\" stands for \"recursive\" "
        .. "(r_kitchen blocks get subdivided into "
        .. "16x16x16 r_kitchen blocks). "
    add_bent_s(7,7,7,"bent_base_txt",msg_str)
end
