about summary refs log blame commit diff stats
path: root/js/story-interpreter/world.dsl
blob: 3e75a7a4ec95d69512bd24374af5fdf76e43fce1 (plain) (tree)































                                                                           
room "Kitchen" {
    description "A small, cozy kitchen. There's a smell of cookies baking."
    
    item "Cookie Jar" {
        description "A ceramic jar filled with delicious cookies."
        action "take" {
            effect "You take a cookie from the jar."
        }
    }

    animal "Cat" {
        description "A small black cat is sitting on the counter."
        action "talk" {
            effect "The cat meows at you."
        }
    }

    connection "north" to "Living Room"
}

room "Living Room" {
    description "A large living room with a comfortable couch and a TV."
    
    item "Remote Control" {
        description "A remote control for the TV."
        action "use" {
            effect "You turn on the TV. The news is on."
        }
    }

    connection "south" to "Kitchen"
}