Untitled

mail@pastecode.io avatar
unknown
python
a year ago
911 B
3
Indexable
Never
# runda 1 
def runda1(x,y,z,runda): # x,y,z -> pozycje, runda -> nr rundy dla tej funkcji to 1
    # dodaje cyferke do istniejacego juz napisu
    blocks.print(runda, SEA_LANTERN, world(x + 5, y + 10, z + 45), WEST)
    # spawn mobow dla 1 rundy 
    #ZOMBIE
    mobs.spawn(ZOMBIE, randpos(world(x + 5, y + 5, z + 5), world(x + 5, y + 5, z + 40)))
    #PAUZA 1s = 1000ms
    loops.pause(1000)
    #SKELETON
    mobs.spawn(SKELETON, randpos(world(x + 5, y + 5, z + 5), world(x + 5, y + 5, z + 40)))
    loops.pause(1000)
    #CREEPER
    mobs.spawn(CREEPER, randpos(world(x + 5, y + 5, z + 5), world(x + 5, y + 5, z + 40)))
    loops.pause(1000)
    #GHAST
    mobs.spawn(GHAST, randpos(world(x + 5, y + 5, z + 5), world(x + 5, y + 5, z + 40)))
    loops.pause(1000)
    #BLAZE
    mobs.spawn(BLAZE, randpos(world(x + 5, y + 5, z + 5), world(x + 5, y + 5, z + 40)))
    # PAUZA 45s = 45000
    loops.pause(45000)