Example #1
0
def limo(zone, player, antechamber):
    limo = zone.spawn([
        Named('a fancy limo', "It's electric!"),
        Spatial(),
        Container(),
        Enterable(),
    ])
    connect(zone, antechamber, is_='out', of=limo)
    antechamber.Container.store(limo)
    return limo
Example #2
0
def courtyard(zone, antechamber):
    courtyard = room(
        zone,
        'The World Foundry - Courtyard (South Side)',
        """
        A wide-open green space in front of the Library, criss-crossed with a
        network of walking paths.
        """
    )
    connect(zone, courtyard, is_='north', of=antechamber, returning='south')
    return courtyard