Files
llamamod/levels/test_orient.py
T

18 lines
836 B
Python

"""Kleiner Orientierungstest: Platz, farbige Saeulen in +x (rot), +z (blau), -x (gelb), -z (weiss)."""
LEVEL_ARGS = dict(name='Orient')
def build(L):
L.sea(10, 10, 50, 50, y=-2.0)
L.box(20, 20, 30, 30, -1, 0, top='platte', side='stein', side_top='graskante')
L.pillar(29, 25, 0, 3, size=0.8, side='rot', top='rot') # +x
L.pillar(25, 29, 0, 2, size=0.8, side='blau', top='blau') # +z
L.pillar(21, 25, 0, 1.5, size=0.8, side='gelb', top='gelb') # -x
L.pillar(25, 21, 0, 1, size=0.8, side='weiss', top='weiss') # -z
L.stairs(30, 23, 33, 26, 0, 1.5, 3, '+x', top='stein', side='stein2')
L.box(33, 22, 36, 27, -1, 1.5, top='gras', side='erde', side_top='graskante')
L.player(25, 25, rot=0)
L.checkpoint(23, 23)
L.exit(35, 24.5)
L.coins([(26, 25), (27, 25), (28, 25)], y_off=0)