Exemple #1
0
                     long_descr="""Through the archway you can see a cozy
                                   room flickering to the light of a fire.""")

foyer.add_exits([foyer_closet, foyer_sitting])

# Insert items & npcs

##### Foyer Closet #####
foyer_closet = Location("Foyer Closet", "A small closet.")

closet_foyer = Exit(directions=["out", "back", "foyer"],
                    target_location="inn.foyer",
                    short_descr="You can see the foyer you came from.",
                    long_descr=None)

foyer_closet.add_exits([closet_foyer])

##### Sitting Room #####

sitting_room = Location("Sitting Room", room_descriptions['sitting_room'])

sitting_foyer = Exit(
    directions=["foyer", "south"],
    target_location="inn.foyer",
    short_descr="The foyer is to the south.",
    long_descr=None,
)
sitting_dining = Exit(
    directions=["east", "dining"],
    target_location="inn.dining_room",
    short_descr="There appears to be a dinning room to the east.",