123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656 |
- # KGDgame
- <<<<<<< 428_KGDgame
- minut += 1
- gs 'stat'
- gs 'KGDexp'
- '<center><B>Date <<KGDday>></B></center>'
- '<center><B>Your town</B></center>'
- '<center>Buildings</center>'
- 'Tower Hero, which stores <<KGDmoney>> Resources'
- 'Farms <<KGDfarm>> pieces'
- ''
- '<center><B>List Party hero (6t people maximum)</B></center>'
- 'Hero. Level <<KGDlvl>>Life <<KGDHP>>Done <<KGDdam>>'
- if KGDsput2 > 0: '<<$KGDname2>>. Level <<KGDlvl2>>Life <<KGDHP2>>Done <<KGDdam2>>'
- if KGDsput3 > 0: '<<$KGDname3>>. Level <<KGDlvl3>>Life <<KGDHP3>>Done <<KGDdam3>>'
- if KGDsput4 > 0: '<<$KGDname4>>. Level <<KGDlvl4>>Life <<KGDHP4>>Done <<KGDdam4>>'
- if KGDsput5 > 0: '<<$KGDname5>>. Level <<KGDlvl5>>Life <<KGDHP5>>Done <<KGDdam5>>'
- if KGDsput6 > 0: '<<$KGDname6>>. Level <<KGDlvl6>>Life <<KGDHP6>>Done <<KGDdam6>>'
- ''
- '<center><B>Brands for</B></center>'
- 'Do you own <<KGDkarta>>% of'
- =======
- minut+=1
- gs'stat'
- gs'KGDexp'
- '<center><B>day <<KGDday>></B></center>'
- '<center><B>your city</B></center>'
- '<center>Structures</center>'
- 'tower hero, which is stored <<KGDmoney>> resources'
- 'farms <<KGDfarm>> pcs'
- ''
- '<center><B>List of party hero (6five people maximum)</B></center>'
- 'hero. level <<KGDlvl>>, life <<KGDHP>>, damage <<KGDdam>>'
- if KGDsput2>0:'<<$KGDname2>>. level <<KGDlvl2>>, life <<KGDHP2>>, damage <<KGDdam2>>'
- if KGDsput3>0:'<<$KGDname3>>. level <<KGDlvl3>>, life <<KGDHP3>>, damage <<KGDdam3>>'
- if KGDsput4>0:'<<$KGDname4>>. level <<KGDlvl4>>, life <<KGDHP4>>, damage <<KGDdam4>>'
- if KGDsput5>0:'<<$KGDname5>>. level <<KGDlvl5>>, life <<KGDHP5>>, damage <<KGDdam5>>'
- if KGDsput6>0:'<<$KGDname6>>. level <<KGDlvl6>>, life <<KGDHP6>>, damage <<KGDdam6>>'
- ''
- '<center><B>territory</B></center>'
- 'Do you own <<KGDkarta>>% territory'
- >>>>>>> 428_KGDgame
- <<<<<<< 428_KGDgame
- act 'Next Day':
- cls
- KGDbrod = 0
- KGDday += 1
- KGDmoney += KGDkarta * 5 + KGDfarm * 10
- =======
- act 'the next day':
- cls
- KGDbrod=0
- KGDday+=1
- KGDmoney+=KGDkarta*5+KGDfarm*10
- >>>>>>> 428_KGDgame
- gt $curloc
- end
- <<<<<<< 428_KGDgame
- if KGDmoney >= 150 and KGDfarm > KGDkarta:
- act 'Build a farm (150 resources)':
- cls
- KGDmoney -= 150
- KGDfarm += 1
- gt $curloc
- end
- =======
- if KGDmoney>=150 and KGDfarm>KGDkarta:
- act 'build a farm (150 resources)':
- cls
- KGDmoney-=150
- KGDfarm+=1
- gt $curloc
- end
- >>>>>>> 428_KGDgame
- end
- <<<<<<< 428_KGDgame
- act 'Arrange the soldiers':
- cls
- KGDpartyCreate = 1
- $kgdplace = '1st place empty'
- $kgdplace2 = '2nd place is empty'
- $kgdplace3 = '3rd place is empty'
- $kgdplace4 = '4th place is empty'
- $kgdplace5 = '5th place is empty'
- $kgdplace6 = '6th place is empty'
- kgdplace = 0
- kgdplace2 = 0
- kgdplace3 = 0
- kgdplace4 = 0
- kgdplace5 = 0
- kgdplace6 = 0
- gt 'KGDparty'
- end
- if KGDbrod = 0 and KGDpartyCreate > 0:
- act 'Win territory':
- cls
- KGDbrod = 1
- gt 'KGDbefore'
- end
- =======
- act 'arrange the soldiers':
- cls
- KGDpartyCreate=1
- $kgdplace='1place empty'
- $kgdplace2='2place empty'
- $kgdplace3='3place empty'
- $kgdplace4='4place empty'
- $kgdplace5='5place empty'
- $kgdplace6='6place empty'
- kgdplace=0
- kgdplace2=0
- kgdplace3=0
- kgdplace4=0
- kgdplace5=0
- kgdplace6=0
- gt 'KGDparty'
- end
- if KGDbrod=0 and KGDpartyCreate>0:
- act 'win territory':
- cls
- KGDbrod=1
-
- gt 'KGDbefore'
- end
- >>>>>>> 428_KGDgame
- end
- <<<<<<< 428_KGDgame
- if KGDsput6 = 0 and KGDmoney >= 250:
- act 'Hire a satellite (250 resources)':
- cls
- KGDmoney -= 250
- KGDpartyCreate = 0
- act 'Warrior':
- if KGDsput2 = 0:
- $KGDname2 = 'Warrior'
- KGDlvl2 = 1
- KGDHP2 = 100
- KGDdam2 = 10
- KGDsput2 = 1
- KGDexp2 = 0
- gt $curloc
- exit
- end
- if KGDsput3 = 0:
- $KGDname3 = 'Warrior'
- KGDlvl3 = 1
- KGDHP3 = 100
- KGDdam3 = 10
- KGDsput3 = 1
- KGDexp3 = 0
- gt $curloc
- exit
- end
- if KGDsput4 = 0:
- $KGDname4 = 'Warrior'
- KGDlvl4 = 1
- KGDHP4 = 100
- KGDdam4 = 10
- KGDsput4 = 1
- KGDexp4 = 0
- gt $curloc
- exit
- end
- if KGDsput5 = 0:
- $KGDname5 = 'Warrior'
- KGDlvl5 = 1
- KGDHP5 = 100
- KGDdam5 = 10
- KGDsput5 = 1
- KGDexp5 = 0
- gt $curloc
- exit
- end
- if KGDsput6 = 0:
- $KGDname6 = 'Warrior'
- KGDlvl6 = 1
- KGDHP6 = 100
- KGDdam6 = 10
- KGDsput6 = 1
- KGDexp6 = 0
- gt $curloc
- exit
- end
- end
- act 'Magician':
- if KGDsput2 = 0:
- $KGDname2 = 'Magician'
- KGDlvl2 = 1
- KGDHP2 = 60
- KGDdam2 = 20
- KGDsput2 = 1
- KGDexp2 = 0
- gt $curloc
- exit
- end
- if KGDsput3 = 0:
- $KGDname3 = 'Magician'
- KGDlvl3 = 1
- KGDHP3 = 60
- KGDdam3 = 20
- KGDsput3 = 1
- KGDexp3 = 0
- gt $curloc
- exit
- end
- if KGDsput4 = 0:
- $KGDname4 = 'Magician'
- KGDlvl4 = 1
- KGDHP4 = 60
- KGDdam4 = 20
- KGDsput4 = 1
- KGDexp4 = 0
- gt $curloc
- exit
- end
- if KGDsput5 = 0:
- $KGDname5 = 'Magician'
- KGDlvl5 = 1
- KGDHP5 = 60
- KGDdam5 = 20
- KGDsput5 = 1
- KGDexp5 = 0
- gt $curloc
- exit
- end
- if KGDsput6 = 0:
- $KGDname6 = 'Magician'
- KGDlvl6 = 1
- KGDHP6 = 60
- KGDdam6 = 20
- KGDsput6 = 1
- KGDexp6 = 0
- gt $curloc
- exit
- end
- end
- act 'Archer':
- if KGDsput2 = 0:
- $KGDname2 = 'Archer'
- KGDlvl2 = 1
- KGDHP2 = 80
- KGDdam2 = 15
- KGDsput2 = 1
- KGDexp2 = 0
- gt $curloc
- exit
- end
- if KGDsput3 = 0:
- $KGDname3 = 'Archer'
- KGDlvl3 = 1
- KGDHP3 = 80
- KGDdam3 = 15
- KGDsput3 = 1
- KGDexp3 = 0
- gt $curloc
- exit
- end
- if KGDsput4 = 0:
- $KGDname4 = 'Archer'
- KGDlvl4 = 1
- KGDHP4 = 80
- KGDdam4 = 15
- KGDsput4 = 1
- KGDexp4 = 0
- gt $curloc
- exit
- end
- if KGDsput5 = 0:
- $KGDname5 = 'Archer'
- KGDlvl5 = 1
- KGDHP5 = 80
- KGDdam5 = 15
- KGDsput5 = 1
- KGDexp5 = 0
- gt $curloc
- exit
- end
- if KGDsput6 = 0:
- $KGDname6 = 'Archer'
- KGDlvl6 = 1
- KGDHP6 = 80
- KGDdam6 = 15
- KGDsput6 = 1
- KGDexp6 = 0
- gt $curloc
- exit
- end
- end
- act 'Priest':
- if KGDsput2 = 0:
- $KGDname2 = 'Priest'
- KGDlvl2 = 1
- KGDHP2 = 40
- KGDdam2 = 20
- KGDsput2 = 1
- KGDexp2 = 0
- gt $curloc
- exit
- end
- if KGDsput3 = 0:
- $KGDname3 = 'Priest'
- KGDlvl3 = 1
- KGDHP3 = 40
- KGDdam3 = 20
- KGDsput3 = 1
- KGDexp3 = 0
- gt $curloc
- exit
- end
- if KGDsput4 = 0:
- $KGDname4 = 'Priest'
- KGDlvl4 = 1
- KGDHP4 = 40
- KGDdam4 = 20
- KGDsput4 = 1
- KGDexp4 = 0
- gt $curloc
- exit
- end
- if KGDsput5 = 0:
- $KGDname5 = 'Priest'
- KGDlvl5 = 1
- KGDHP5 = 40
- KGDdam5 = 20
- KGDsput5 = 1
- KGDexp5 = 0
- gt $curloc
- exit
- end
- if KGDsput6 = 0:
- $KGDname6 = 'Priest'
- KGDlvl6 = 1
- KGDHP6 = 40
- KGDdam6 = 20
- KGDsput6 = 1
- KGDexp6 = 0
- gt $curloc
- exit
- end
- end
- end
- =======
- if KGDsput6=0 and KGDmoney>=250:
- act 'hire satellite (250 resources)':
- cls
- KGDmoney-=250
- KGDpartyCreate=0
- act 'warrior':
- if KGDsput2=0:
- $KGDname2='warrior'
- KGDlvl2=1
- KGDHP2=100
- KGDdam2=10
- KGDsput2=1
- KGDexp2=0
- gt $curloc
- exit
- end
-
- if KGDsput3=0:
- $KGDname3='warrior'
- KGDlvl3=1
- KGDHP3=100
- KGDdam3=10
- KGDsput3=1
- KGDexp3=0
- gt $curloc
- exit
- end
-
- if KGDsput4=0:
- $KGDname4='warrior'
- KGDlvl4=1
- KGDHP4=100
- KGDdam4=10
- KGDsput4=1
- KGDexp4=0
- gt $curloc
- exit
- end
-
- if KGDsput5=0:
- $KGDname5='warrior'
- KGDlvl5=1
- KGDHP5=100
- KGDdam5=10
- KGDsput5=1
- KGDexp5=0
- gt $curloc
- exit
- end
-
- if KGDsput6=0:
- $KGDname6='warrior'
- KGDlvl6=1
- KGDHP6=100
- KGDdam6=10
- KGDsput6=1
- KGDexp6=0
- gt $curloc
- exit
- end
-
- end
-
- act 'magician':
- if KGDsput2=0:
- $KGDname2='magician'
- KGDlvl2=1
- KGDHP2=60
- KGDdam2=20
- KGDsput2=1
- KGDexp2=0
- gt $curloc
- exit
- end
-
- if KGDsput3=0:
- $KGDname3='magician'
- KGDlvl3=1
- KGDHP3=60
- KGDdam3=20
- KGDsput3=1
- KGDexp3=0
- gt $curloc
- exit
- end
-
- if KGDsput4=0:
- $KGDname4='magician'
- KGDlvl4=1
- KGDHP4=60
- KGDdam4=20
- KGDsput4=1
- KGDexp4=0
- gt $curloc
- exit
- end
-
- if KGDsput5=0:
- $KGDname5='magician'
- KGDlvl5=1
- KGDHP5=60
- KGDdam5=20
- KGDsput5=1
- KGDexp5=0
- gt $curloc
- exit
- end
-
- if KGDsput6=0:
- $KGDname6='magician'
- KGDlvl6=1
- KGDHP6=60
- KGDdam6=20
- KGDsput6=1
- KGDexp6=0
- gt $curloc
- exit
- end
-
- end
-
- act 'archer':
- if KGDsput2=0:
- $KGDname2='archer'
- KGDlvl2=1
- KGDHP2=80
- KGDdam2=15
- KGDsput2=1
- KGDexp2=0
- gt $curloc
- exit
- end
-
- if KGDsput3=0:
- $KGDname3='archer'
- KGDlvl3=1
- KGDHP3=80
- KGDdam3=15
- KGDsput3=1
- KGDexp3=0
- gt $curloc
- exit
- end
-
- if KGDsput4=0:
- $KGDname4='archer'
- KGDlvl4=1
- KGDHP4=80
- KGDdam4=15
- KGDsput4=1
- KGDexp4=0
- gt $curloc
- exit
- end
-
- if KGDsput5=0:
- $KGDname5='archer'
- KGDlvl5=1
- KGDHP5=80
- KGDdam5=15
- KGDsput5=1
- KGDexp5=0
- gt $curloc
- exit
- end
-
- if KGDsput6=0:
- $KGDname6='archer'
- KGDlvl6=1
- KGDHP6=80
- KGDdam6=15
- KGDsput6=1
- KGDexp6=0
- gt $curloc
- exit
- end
-
- end
-
- act 'priest':
- if KGDsput2=0:
- $KGDname2='priest'
- KGDlvl2=1
- KGDHP2=40
- KGDdam2=20
- KGDsput2=1
- KGDexp2=0
- gt $curloc
- exit
- end
-
- if KGDsput3=0:
- $KGDname3='priest'
- KGDlvl3=1
- KGDHP3=40
- KGDdam3=20
- KGDsput3=1
- KGDexp3=0
- gt $curloc
- exit
- end
-
- if KGDsput4=0:
- $KGDname4='priest'
- KGDlvl4=1
- KGDHP4=40
- KGDdam4=20
- KGDsput4=1
- KGDexp4=0
- gt $curloc
- exit
- end
-
- if KGDsput5=0:
- $KGDname5='priest'
- KGDlvl5=1
- KGDHP5=40
- KGDdam5=20
- KGDsput5=1
- KGDexp5=0
- gt $curloc
- exit
- end
-
- if KGDsput6=0:
- $KGDname6='priest'
- KGDlvl6=1
- KGDHP6=40
- KGDdam6=20
- KGDsput6=1
- KGDexp6=0
- gt $curloc
- exit
- end
-
- end
- end
- >>>>>>> 428_KGDgame
- end
- <<<<<<< 428_KGDgame
- act 'Quit Game': gt 'Komp','start'
- =======
- act 'Leave the game':gt'Komp','start'
- >>>>>>> 428_KGDgame
- --- KGDgame ---------------------------------
|