;;
[@main]
#if
checkpkpoint 2
#elsesay
Hallo, waehle deine Sprache aus.\
Hello, choose your language.\
<
Deutsch/@german>\
<
english/@english>\
<
exit/@exit>
#act
mapmove 81 127 266
[@german]
#if
#say
Hallo,ich bin ein Meister der repaeratur,\
ich kann dir deine ganze Ausrüsung die du\
am Koerper traegst reparieren, gegen eine\
Gebuehr natuerlich.\\
<Repariere alles,bitte./@rep>\
<Nein
Danke./@exit>\
[@rep]
#if
#ACT
GetRepairCost 0
Mov P1 %P9 ;Stores the Value of P9 (Repair Cost) in the Variable P1
GetRepairCost 1
Inc P1 %P9 ;Increments (Adds) the Value of P9 to P1
GetRepairCost 3
Inc P1 %P9
GetRepairCost 4
Inc P1 %P9
GetRepairCost 5
Inc P1 %P9
GetRepairCost 6
Inc P1 %P9
GetRepairCost 7
Inc P1 %P9
GetRepairCost 8
Inc P1 %P9
GetRepairCost 10
Inc P1 %P9
#SAY
Die reperatur kostet dich <$OUTPUT(P1)>\ ;Shows the value of P1
Moechtest du reparieren?\
<Ja bitte
repariere/@check>\
<
exit/@exit>\
[@check]
#if
checkgold %P1
#ACT
RepairItem 0 ;Armour
RepairItem 1 ;Waffe
RepairItem 3 ;Necklace
RepairItem 4 ;Helm
RepairItem 5 ;Brace links
RepairItem 6 ;Brace rechts
RepairItem 7 ;Ring links
RepairItem 8 ;Ring rechts
RepairItem 10 ;Boots
take gold %P1
#SAY
Es ist nun alles repariert,bis zum naechstenmal.\
\
(Deine Ausruestung am Koerper ist repariert!)\\
<
exit/@exit>\
#elsesay
Du hast nicht genug Gold bei dir.\\
<
Exit/@exit>\
[@english]
#if
#say
Hello,i am a Master of the repair,\
I can your whole Kit the at on you\
body carry repair, against for\
a Price.\\
<repair all,pls./@rep1>\
<no
thanks./@exit>\
[@rep1]
#if
#ACT
GetRepairCost 0
Mov P1 %P9 ;Stores the Value of P9 (Repair Cost) into the variables P1
GetRepairCost 1
Inc P1 %P9 ;Increments (Adds) the Value of P9 to P1
GetRepairCost 3
Inc P1 %P9
GetRepairCost 4
Inc P1 %P9
GetRepairCost 5
Inc P1 %P9
GetRepairCost 6
Inc P1 %P9
GetRepairCost 7
Inc P1 %P9
GetRepairCost 8
Inc P1 %P9
GetRepairCost 10
Inc P1 %P9
#SAY
This wants cost you <$OUTPUT(P1)>\ ;Shows the value of P1
Do you want to repair?\\
<
Yes/@check1>\
<
Exit/@exit>\
[@check1]
#if
checkgold %P1
#say
(youre Kit on youre Body ist repaired!)
#ACT
RepairItem 0 ;Armour
RepairItem 1 ;Waffe
RepairItem 3 ;Necklace
RepairItem 4 ;Helm
RepairItem 5 ;Brace links
RepairItem 6 ;Brace rechts
RepairItem 7 ;Ring links
RepairItem 8 ;Ring rechts
RepairItem 10 ;Boots
take gold %P1
#SAY
It is now all repair,cya with again.\\
<
Exit/@exit>\
#elsesay
You havent enought Gold!\\
<
Exit/@exit>\