Exemplo n.º 1
0
def fireball_spawner():
    base_id = uuid.uuid4().hex
    id = uuid.uuid4().hex
    return {
        'sprite': 'cobble',
        'id': base_id,
        'stitches': {
            'right': '%s/' % id
        },
        'also': [{
            'id': id,
            'absolute_id': True,
            'sprite': 'fireball',
            'song': 'tut po popo',
            'stitches': {
                'down': '%s/' % base_id
            }},
            lurker('fireball', id, 'po'),
            {
                'sprite': 'sword',
                'stitches': {
                    'right': '%s//r' % id,
                    'left': 'player/',
                    'down': 'hell/'
                },
                'tick_speed': 1.0 / 5,
                'song': 'ibi gowo ropo tut gowo po'}
        ]
    }