home *** CD-ROM | disk | FTP | other *** search
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;; Æ╩Åφ
-
- (define (event-roulette-0 session)
- (call-prompt "<p>Du hast[1] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (earn (get-bonus (character-lap-get character)))
- (currency-unit (session-currencyunit-get session)))
- (character-money-apply character (lambda (x) (+ x earn)))
- (call-prompt "<p>bonus point! "
- (number->string earn)
- currency-unit
- " Present</p>")
- )
- )
-
- (define (event-roulette-1 session)
- (call-prompt "<p>Du hast[2]gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player)))
- (call-message "<p> card present!<br/>"
- "Sucht dir eine Karte zwischen die drei hier.</p>")
- (call-chest character 1)
- )
- )
-
- (define (event-roulette-2 session)
- (call-prompt "<p>Du hast[3] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (card (call-generate-specified-spell-card "Dunball!!!"))
- (spell (call-pull-spell card))
- (desc (spell-description-get spell)))
- (call-gain-spell-card character card)
- (call-show-spell-card card)
- (call-caption "<p>dunball card present!</p>")
- (call-prompt desc)
- (call-hide-spell-card)
- )
- )
-
- (define (event-roulette-3 session)
- (call-prompt "<p>Du hast[4] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (earn (/ (character-money-get character) 2))
- (currency-unit (session-currencyunit-get session)))
- (character-money-apply character (lambda (x) (- x earn)))
- (call-prompt "<p>Minus point! Leider musst du die HΣlfte "
- (number->string earn)
- currency-unit
- " von dem was du besitzst zuruek geben...</p>")
- )
- )
- (define (event-roulette-4 session)
- (call-prompt "<p>Du hast[5]gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player)))
- (call-message "<p> Die ▄berraschungsschatzschachtel der Insel, GeschΣnk!<br/>"
- "m÷chst du die Schachtel aufmachen</p>")
- (if (call-query-yesno)
- (begin
- (call-message "<p>Suche die eine Kart aus.</p>")
- (call-chest character 0)
- )
- (call-prompt "<p>Du gehst ohne vorher die Schatzschachtel aufgemacht zu haben.</p>"))
- )
- )
-
- (define (event-roulette-5 session)
- (call-prompt "<p>Du hast[6] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (card #f)
- (spell #f)
- (desc #f))
- (do ((i 0 (+ i 1)))
- ((<= 2 i) #f)
- (set! card (call-generate-specified-spell-card "Dunball!!!"))
- (set! spell (call-pull-spell card))
- (set! desc (spell-description-get spell))
- (call-gain-spell-card character card)
- )
- (call-show-spell-card card)
- (call-caption "<p>2 dunball card, present!</p>")
- (call-prompt desc)
- (call-hide-spell-card)
- )
- )
-
- (define (event-roulette-6 session)
- (call-prompt "<p>Du hast[7] Gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player)))
- (call-message "<p>Lucky Seven! Ein Gold Movie GeschΣnk!<br/>"
- "suche dir eine Karte aus.</p>")
- (call-chest character 2)
- )
- )
-
- (define (event-roulette-7 session)
- (call-prompt "<p>Du hast[8] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player)))
- (call-prompt "<p>Von lauter Roulette spielen hast du Kopfschmerzen bekommen. Du bleibst jetzt lieber eine Runde stehen.</p>")
- (character-rest-set character 2)
- )
- )
-
- (define (event-roulette-8 session)
- (call-prompt "<p>Du hast[9]gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (movies (movie-list character))
- (card (call-generate-movie-card #f))
- (gold (car card))
- (silver (cdr card))
- (count (movie-gaincount-get
- (character-moviecards-get character
- (+ (* gold 5) silver))))
- )
- (call-prompt "<p>Du musst dich von einer deinen Movie Cards verabschieden!</p>")
- (if (= 0 (length movies))
- (begin
- (call-increment-bingo-item character gold silver)
- (call-show-movie-card gold silver)
- (call-prompt "<p>Da du aber keine besitzt, haben wir Mitleid mit dir"
- "und schenken wir dir 1.</p>")
- (call-hide-movie-card)
- )
- (begin
- (set! card (list-ref movies (random (length movies))))
- (set! card (cons (quotient card 5) (modulo card 5)))
- (set! gold (car card))
- (set! silver (cdr card))
-
- (call-decrement-bingo-item character gold silver)
- (call-show-movie-card gold silver)
- (call-prompt "<p>"
- (call-get-movie-priced-text #f gold silver)
- "<br/>Du hast eine Card verloren...</p>")
- (call-hide-movie-card)
- )
- )
- )
- )
-
- (define (event-roulette-9 session)
- (call-prompt "<p>Du hast [10]gewuerfelt</p>")
- (call-prompt "<p>Ohps! Fehler! Du bekommst nichts.</p>")
- )
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;â_âôâ{ü[âïâ}âô
-
- (define (event-roulette-10 session)
- (call-prompt "<p>Du hast[1] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (earn (* (+ 1 (character-lap-get character)) 98000))
- (currency-unit (session-currencyunit-get session)))
- (character-money-apply character (lambda (x) (+ x earn)))
- (call-prompt "<p>bonus point! "
- (number->string earn)
- currency-unit
- " present!</p>")
- )
- )
-
- (define (event-roulette-11 session)
- (event-roulette-1 session)
- )
-
- (define (event-roulette-12 session)
- (call-prompt "<p>Du hast[3] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player)))
- (call-message "<p>Lucky 3! Ein Gold Movie GeschΣnk!<br/>"
- "suche dir eine Karte aus.</p>")
- (call-chest character 2)
- )
- )
-
- (define (event-roulette-13 session)
- (call-prompt "<p>Du hast[4] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (card (call-generate-specified-spell-card "Dunball!!!"))
- (spell (call-pull-spell card))
- (desc (spell-description-get spell)))
- (call-gain-spell-card character card)
- (call-show-spell-card card)
- (call-caption "<p>dunball card present!</p>")
- (call-prompt desc)
- (call-hide-spell-card)
- )
- )
-
- (define (event-roulette-14 session)
- (event-roulette-4 session)
- )
-
- (define (event-roulette-15 session)
- (call-prompt "<p>Du hast[6] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (card #f)
- (spell #f)
- (desc #f))
- (do ((i 0 (+ i 1)))
- ((<= 3 i) #f)
- (set! card (call-generate-specified-spell-card "Dunball!!!"))
- (set! spell (call-pull-spell card))
- (set! desc (spell-description-get spell))
- (call-gain-spell-card character card)
- )
- (call-show-spell-card card)
- (call-caption "<p>Wir schenken dir 3 Dunball Cards!</p>")
- (call-prompt desc)
- (call-hide-spell-card)
- )
- )
-
- (define (event-roulette-16 session)
- (event-roulette-6 session)
- )
-
- (define (event-roulette-17 session)
- (call-prompt "<p>Du hast[8] gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (earn (* (+ 1 (character-lap-get character)) 98000))
- (currency-unit (session-currencyunit-get session)))
- (character-money-apply character (lambda (x) (+ x earn)))
- (call-prompt "<p>bonus point! "
- (number->string earn)
- currency-unit
- " present!</p>")
- )
- )
-
- (define (event-roulette-18 session)
- (call-prompt "<p>Du hast[9]gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (currency-unit (session-currencyunit-get session))
- (movies (movie-list character))
- (card (call-generate-movie-card #f))
- (gold (car card))
- (silver (cdr card))
- (price #f))
- (call-prompt "<p>Wir kaufen dir eine Movie Card, von denen die du besitzst, ab,"
- "Wir zahelen 5x den ursprueglichen Preis!</p>")
- (if (= 0 (length movies))
- (begin
- (call-increment-bingo-item character gold silver)
- (call-show-movie-card gold silver)
- (call-prompt "<p>Da du haber keine hast haben wir Mitleid mit dir"
- "und schenken wir dir 1.</p>")
- (call-hide-movie-card)
- )
- (begin
- (set! card (list-ref movies (random (length movies))))
- (set! card (cons (quotient card 5) (modulo card 5)))
- (set! gold (car card))
- (set! silver (cdr card))
- (set! price (* 5 (call-get-movie-price #f gold silver)))
-
- (call-decrement-bingo-item character gold silver)
- (call-show-movie-card gold silver)
- (call-prompt "<p>"
- (call-get-movie-priced-text #f gold silver)
- "<br/>Du hast die Karte verloren...</p>")
- (call-prompt "<p>Statt dessen hast du wenigstens "
- (number->string price)
- currency-unit
- " bekommen!</p>")
- (character-money-apply character (lambda (x) (+ x price)))
- (call-show-income price)
- (call-hide-movie-card)
- )
- )
- )
- )
-
- (define (event-roulette-19 session)
- (call-prompt "<p>Du hast [10]gewuerfelt!</p>")
- (let* ((player (current-player session))
- (character (current-character player))
- (card #f)
- (spell #f)
- (desc #f))
- (do ((i 0 (+ i 1)))
- ((<= 2 i) #f)
- (set! card (call-generate-specified-spell-card "Dunball!!!"))
- (set! spell (call-pull-spell card))
- (set! desc (spell-description-get spell))
- (call-gain-spell-card character card)
- )
- (call-show-spell-card card)
- (call-caption "<p>2 dumball card present!</p>")
- (call-prompt desc)
- (call-hide-spell-card)
- )
- )
-
-