123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663 |
- # KGZgame
- minut += 1
- gs 'stat'
- gs 'KGZdyn'
- if KGZHP <= 0:
- cla
- *clr
- '<center><b>GAME OVER</b></center>'
- act 'Quit Game':gt 'KGZstart'
- exit
- end
- if KGZhour >= 6 and KGZhour <= 21:
- KGZsvet = 1
- else
- KGZsvet = 0
- end
- '<a href="exec:gt ''KGZstart''">Get out of the game</a>'
- 'Health <<KGZHP>>. Day <<KGZday>>, h <<KGZhour>>.'
- if KGZsup <= 0:'You have no provisions, you are starving!'
- 'Edged weapons:<<$KGZweapon>>'
- if KGZgun > 0:'<<$KGZgun>>'
- if KGZgun2 > 0:'<<$KGZgun2>>'
- if KGZgun3 > 0:'<<$KGZgun3>>'
- if KGZgenerator > 0:
- if KGZbenzin = 0:$KGZbenzin = 'But the generator does not work because you do not have gasoline.'
- if KGZbenzin = 1:$KGZbenzin = 'You have filled a full tank of gasoline.'
- 'Do you have a portable generator runs on gasoline. <<$KGZbenzin>>'
- end
- if KGZbolgarka > 0:'Do you have a Bulgarian powered by electricity.'
- if KGZratia = 1:'Do you have a radio.'
- ''
- if KGZplace = 0:
- '<center><b>Apartment</b></center>'
- 'Your apartment is a safe place. The apartment is stored provisions, which will be enough to <<KGZsup>> days'
- if KGZmedkit > 0:
- 'First aid kits <<KGZmedkit>> pieces'
- if KGZHP < 100:
- act 'Treated':
- cls
- KGZhour += 1
- KGZHP = 100
- KGZmedkit -= 1
- minut += 1
- gs 'stat'
- 'You heal health through kits.'
- act 'Further':gt $curloc
- end
- end
- end
- act 'Laze':
- cls
- KGZhour += 1
- minut += 1
- gs 'stat'
- 'You lounged in the apartment, lounging on the couch and thinking how you vykruchivatsya of the situation.'
- act 'Further':gt $curloc
- end
- act 'Leave the apartment':
- cls
- KGZhour += 1
- minut += 1
- KGZplace = 1
- KGZbatl = 0
- gs 'stat'
- 'You cautiously left the apartment trying not to stumble on the dead.'
- act 'Further':gt $curloc
- end
- elseif KGZplace = 1:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Street</b></center>'
- 'On the street the broken machine, lie the corpses.'
- if KGZbatl = 0:
- 'Roam the streets <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':
- if KGZsvet = 1:KGZdist = rand(5, 30)
- if KGZsvet = 2:KGZdist = rand(3, 10)
- gt 'KGZfight'
- end
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod
- end
- elseif KGZplace = 2:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Shop</b></center>'
- 'In store stale air from spoiled food and dead.'
- if KGZbatl = 0:
- 'Wander around the store <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':
- if KGZsvet = 1:KGZdist = rand(3, 10)
- if KGZsvet = 2:KGZdist = rand(2, 8)
- gt 'KGZfight'
- end
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod2
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod2
- end
- elseif KGZplace = 3:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Hospital</b></center>'
- 'Hospital floor littered with papers and dead bodies of patients and physicians.'
- if KGZbatl = 0:
- 'Wander around the hospital <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':
- if KGZsvet = 1:KGZdist = rand(3, 10)
- if KGZsvet = 2:KGZdist = rand(2, 8)
- gt 'KGZfight'
- end
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod3
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod3
- end
- elseif KGZplace = 4:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Boulevard</b></center>'
- 'On the boulevard cluster of abandoned and wrecked cars everywhere corpses.'
- if KGZbatl = 0:
- 'Wander along the boulevard <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':
- if KGZsvet = 1:KGZdist = rand(5, 30)
- if KGZsvet = 2:KGZdist = rand(3, 10)
- gt 'KGZfight'
- end
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod4
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod4
- end
- elseif KGZplace = 5:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Hunting Store</b></center>'
- 'In hunting stores all counters are flipped, things scattered on the floor and something where visible decaying corpses.'
- if KGZbatl = 0:
- 'Roam around the room <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 6) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod5
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod5
- end
- elseif KGZplace = 6:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Police station</b></center>'
- 'At the police station the police corpses scattered on the floor, tables overturned and papers strewn all around.'
- if KGZbatl = 0:
- 'Roam around the room <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 5) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod6
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod6
- end
- elseif KGZplace = 7:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Drugstore</b></center>'
- 'In store everything upside down and smells mertvyachinoy.'
- if KGZbatl = 0:
- 'Roam around the room <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 5) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod7
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod7
- end
- elseif KGZplace = 8:
- KGZdead = rand(KGZday * 2, KGZday * 4)
- '<center><b>Route</b></center>'
- 'On the highway, a huge traffic jam of abandoned cars, where there are some broken machines and the dead bodies.'
- if KGZbatl = 0:
- 'Wander along the highway <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':
- if KGZsvet = 1:KGZdist = rand(5, 30)
- if KGZsvet = 2:KGZdist = rand(3, 10)
- gt 'KGZfight'
- end
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod8
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod8
- end
- elseif KGZplace = 9:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Threading</b></center>'
- 'At the gas station is a pair of abandoned cars. No electricity and speakers only work in manual mode.'
- if KGZbatl = 0:
- 'Roam around the room <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 5) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod9
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod9
- end
- elseif KGZplace = 10:
- KGZdead = rand(KGZday * 5, KGZday * 10)
- if KGZplaceA = 20:KGZplace = 100 & gt $curloc
- if KGZplaceA = 10:KGZplace = 11 & gt $curloc
- if KGZplaceA = 0:KGZplace = 8 & gt $curloc
- '<center><b>Highway in Fort Bragg</b></center>'
- '<center><b><<KGZplaceA>>th kilometer</b></center>'
- 'On the highway are broken machines are corpses.'
- if KGZbatl = 0:
- 'Wander along the highway <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':
- if KGZsvet = 1:KGZdist = rand(5, 30)
- if KGZsvet = 2:KGZdist = rand(3, 10)
- gt 'KGZfight'
- end
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod10
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod10
- end
- elseif KGZplace = 11:
- KGZdead = rand(KGZday * 10, KGZday * 20)
- '<center><b>Fort Bragg</b></center>'
- 'Fort Bragg is a small building surrounded by a fence.'
- if KGZbatl = 0:
- 'Roam around the fort <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(3, 10) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod11
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod11
- end
- elseif KGZplace = 12:
- if KGZdost = 0:KGZdost = 1
- KGZdead = rand(KGZday * 10, KGZday * 20)
- '<center><b>Roof Fort Bragg</b></center>'
- 'On the roof is full of lying motionless rotting bodies, many spent cartridges.'
- 'Provisions enough for <<KGZsup>> day'
- if KGZfortQW > 0:'<a href="exec:dynamic $KGZvincent">Young tired man in the form of Ranger</a>, sits leaning on a sniper rifle.'
- if KGZmedkit > 0:
- 'First aid kits <<KGZmedkit>> pieces'
- if KGZHP < 100:
- act 'Treated':
- cls
- KGZhour += 1
- KGZHP = 100
- KGZmedkit -= 1
- minut += 1
- gs 'stat'
- 'You heal health through kits.'
- act 'Further':gt $curloc
- end
- end
- end
- act 'Rest':
- cls
- KGZhour += 1
- minut += 1
- gs 'stat'
- 'You have settled on the convenient roof, not taking his eyes off the hatch which can climb dead.'
- act 'Further':gt $curloc
- end
- act 'Exit to the fort':
- cls
- KGZhour += 1
- minut += 1
- KGZplace = 11
- KGZbatl = 0
- gs 'stat'
- 'You gently down into the hatch, trying not to stumble on the dead.'
- act 'Further':gt $curloc
- end
- elseif KGZplace = 13:
- KGZdead = rand(KGZday * 10, KGZday * 20)
- '<center><b>Fort Bragg</b></center>'
- '<center><b>Food Storage</b></center>'
- 'Stock dark and heard noises.'
- if KGZbatl = 0:
- 'Wander around the warehouse <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 3) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod13
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod13
- end
- elseif KGZplace = 14:
- KGZdead = rand(KGZday * 10, KGZday * 20)
- '<center><b>Fort Bragg</b></center>'
- '<center><b>Infirmary</b></center>'
- 'In the hospital is dark and heard noises.'
- if KGZbatl = 0:
- 'By Infirmary roam <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 3) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod14
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod14
- end
- elseif KGZplace = 15:
- KGZdead = rand(KGZday * 10, KGZday * 20)
- '<center><b>Fort Bragg</b></center>'
- '<center><b>Arms</b></center>'
- 'In the armory dark and heard noises.'
- if KGZbatl = 0:
- 'On weapons roam <<KGZdead>>Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 3) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod15
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod15
- end
- elseif KGZplace = 16:
- KGZdead = rand(KGZday * 10, KGZday * 20)
- '<center><b>Fort Bragg</b></center>'
- '<center><b>Garage</b></center>'
- 'The garage is dark and heard noises.'
- if KGZbatl = 0:
- 'Roam around the garage <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(2, 3) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod16
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod16
- end
- elseif KGZplace = 100:
- KGZdead = rand(KGZday * 20, KGZday * 30)
- '<center><b>City Koldkrik</b></center>'
- 'The city was destroyed and fires could be seen.'
- if KGZbatl = 0:
- 'Roam the streets <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(10, 30) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod100
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod100
- end
- elseif KGZplace = 101:
- '<center><b>House</b></center>'
- 'This home is a safe place. The house is kept provision, which will be enough to <<KGZsup>> days'
- if KGZmedkit > 0:
- 'First aid kits <<KGZmedkit>> pieces'
- if KGZHP < 100:
- act 'Treated':
- cls
- KGZhour += 1
- KGZHP = 100
- KGZmedkit -= 1
- minut += 1
- gs 'stat'
- 'You heal health through kits.'
- act 'Further':gt $curloc
- end
- end
- end
- act 'Laze':
- cls
- KGZhour += 1
- minut += 1
- gs 'stat'
- 'You lounged in the apartment, lounging on the couch and thinking how you vykruchivatsya of the situation.'
- act 'Further':gt $curloc
- end
- act 'Out of the house':
- cls
- KGZhour += 1
- minut += 1
- KGZplace = 100
- KGZbatl = 0
- gs 'stat'
- 'You cautiously left the apartment trying not to stumble on the dead.'
- act 'Further':gt $curloc
- end
- elseif KGZplace = 102:
- KGZdead = rand(KGZday * 5, KGZday * 10)
- '<center><b>Supermarket</b></center>'
- 'At the supermarket, dark and heard noises.'
- if KGZbatl = 0:
- 'Roam the halls of the Trade <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(5, 10) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod102
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod102
- end
- elseif KGZplace = 200:
- KGZdead = rand(KGZday, KGZday * 2)
- '<center><b>Forest</b></center>'
- 'In the dark forest and heard noises.'
- if KGZbatl = 0:
- 'Wander through the woods <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(10, 30) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod200
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod200
- end
- elseif KGZplace = 201:
- KGZdead = rand(KGZday, KGZday * 3)
- '<center><b>Farm</b></center>'
- 'Large fenced farm fence.'
- if KGZbatl = 0:
- 'Wander around the neighborhood <<KGZdead>> Dead'
- KGZagr = rand(0, 10)
- if KGZagr <= 8:
- 'Sensing you dead immediately rush to the attack.'
- act 'Srazhatsya':KGZdist = rand(10, 30) & gt 'KGZfight'
- else
- 'Fortunately, you do not notice the dead.'
- dynamic $KGZvihod201
- end
- else
- 'The Walking Dead is not visible.'
- dynamic $KGZvihod201
- end
- elseif KGZplace = 202:
- '<center><b>House</b></center>'
- 'This home is a safe place. The house is kept provision, which will be enough to <<KGZsup>> days'
- if KGZmedkit > 0:
- 'First aid kits <<KGZmedkit>> pieces'
- if KGZHP < 100:
- act 'Treated':
- cls
- KGZhour += 1
- KGZHP = 100
- KGZmedkit -= 1
- minut += 1
- gs 'stat'
- 'You heal health through kits.'
- act 'Further':gt $curloc
- end
- end
- end
- act 'Laze':
- cls
- KGZhour += 1
- minut += 1
- gs 'stat'
- 'You lounged in the apartment, lounging on the couch and thinking how you vykruchivatsya of the situation.'
- act 'Further':gt $curloc
- end
- act 'Out of the house':
- cls
- KGZhour += 1
- minut += 1
- KGZplace = 201
- KGZbatl = 0
- gs 'stat'
- 'You cautiously left the apartment trying not to stumble on the dead.'
- act 'Further':gt $curloc
- end
- end
- --- KGZgame ---------------------------------
|