Start - Back -
The finishTo have the player congratulated, we need another, very simple, last map: Finish.txt. Include it in
the driver: #Finish Here we go: /* Prototypes */
prototypen:
// Door
f_d = Teleporter("Images/Teleporter.png", "Images/Bricks.png")
// Congratulates us
f_c = Schild("Images/Sign.png")
/* The map */
karten:
finish = 3 3
w w w
w e=finish_steps f_c(<finish_congrat>)
w f_d(steps_finish) wThe highlighted part is a new type of prototype: A sign. Just an obstacle, which outputs some text when spoken to. The
text to print out is given in the map itself; therefore, we need a new language entry in Lang/en.txt: finish_congrat = "Congratulations!" This makes up the final version of our world. Congratulations! This final world is shipped with WissenSchaf(f)t?.
Start - Back - |