123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863 |
- # Prostitute
- <<<<<<< 473_Prostitute
- if $ARGS[0] = 'start':
- =======
- if $ARGS[0]='start':
- >>>>>>> 473_Prostitute
- $metka = $ARGS[0]
- $loc = $CURLOC
- $metkaSex = $ARGS[0]
- $locSex = $CURLOC
- cla
- *clr
- <<<<<<< 473_Prostitute
- set minut += 5
- '<center><B><font color = maroon>Hooker</font></B></center>'
- '<center><img src="images\etogame\park2.jpg"></center>'
- clr
- gs 'stat'
- gs 'time'
- if hour >= 16 and hour <= 23:
- if whoreQW = 2:
- 'Prostitutes look at you with curiosity.'
- end
- if whoreQW = 1:
- 'Prostitutes look at you with interest.'
- act 'Talk':
- cla
- set whoreQW = 2
- 'You went to a prostitute and asked her how things are done here at all. She began to explain. "We are free, do not work on anyone, but because of this many problems. Svimi Stella with her friends sometimes beat us and rob and sometimes come petty thugs and rob us of the money. If you want to work here, you have to pay and Stella and Bandyuk . course you cool, you can try to besiege Stella and her friends, but the bandits do not advise contact. And yet, you do not peck on customers, if you nebudesh dressed like a slut, you can buy some clothes in a sex shop. "'
- act 'Move away': gt 'prostitute','start'
- end
- end
- if whoreQW = 0:
- 'Hey, you´re not one of us, would valyl from our point, and that the teeth will not collect.'
- act 'Fuck you!':
- cla
- set minut += 15
- set $nameV = 'Stoned prostitute'
- !Статы
- set strenV = 20
- set speedV = 30
- set agilV = 30
- set reactV = 30
- set vitalV = 50
- set intelV = 10
- set willV = 10
- !Навыки
- set magikV = 10
- set boxingV = 10
- set shootV = 10
- !Параметры
- set healthV = vitalV * 10 + strenV * 5
- set mannaV = intelV * 10 + magikV * 10
- set willpowerV = willV * 10
- set BonusAtakV = 0
- set BonusDefV = 0
- !программа действий
- set program = 0
- set prostitutFight = 1
- if spellavtoklon = 1: set klon = 3
- if spellbefshild = 1: set defence = 500
- gt 'fight','start'
- end
- act 'And how to become one of your own?':
- cla
- 'And how to become one of your own? You asked. Brazen prostitute grinned spat. To do this, you have to pay Stella.'
- act 'Move away': gt 'prostitute','start'
- act 'I agree':
- cla
- whoreQW = 2
- 'You agreed. Prostitute told you that you need to buy the appropriate clothing in sex Shope. Then customers will immediately understand that you´re a prostitute.'
- act 'Move away': gt 'prostitute','start'
- end
- end
- end
- if whoreQW > 1 and hook = 1 and son > 0:
- act 'Stand on the panel (0:15)':
- cla
- set minut += 10
- set prosrand = RAND(0,(vnesh + hour)*2)
- if prosrand < 20:
- 'No you are not interested.'
- act 'Leave': gt 'prostitute','start'
- end
- if prosrand >= 20:
- 'To you a car drove up.'
- set proseventrand = RAND(0,100)
- if proseventrand <= 5:
- 'To you black jeep pulled up, opened the window and leaned out healthy brazen face. "Hey slut, it´s time to pay tribute. Shtukar Come here and get out on work."'
- if money >= 1000:
- act 'Giving money':
- cla
- set money -= 1000
- 'You gave the money big man in the jeep. He put them in his pocket and left.'
- act 'Move away': gt 'prostitute','start'
- end
- end
- if money < 1000:
- act 'I have not earned much':
- cla
- money = 0
- 'You big man began to explain that you have not earned it grabbed you by the arm and threw him into a jeep, there you have it brushed pocket and said that he will teach you how to work.'
- act 'Work':
- set $nameV = 'bandit'
- set $boy = 'Bandit'
- set dick = RAND(18,21)
- gt 'blowPR','start'
- end
- end
- end
- act 'Fuck you!':
- cla
- set minut += 15
- set $nameV = 'Bandit'
- !Статы
- set strenV = 200
- set speedV = 30
- set agilV = 20
- set reactV = 20
- set vitalV = 150
- set intelV = 10
- set willV = 10
- !Навыки
- set magikV = 10
- set boxingV = 10
- set shootV = 10
- !Параметры
- set healthV = vitalV * 10 + strenV * 5
- set mannaV = intelV * 10 + magikV * 10
- set willpowerV = willV * 10
- set BonusAtakV = 0
- set BonusDefV = 0
- !программа действий
- set program = 0
- set prostitutFight = 2
- if spellavtoklon = 1: set klon = 3
- if spellbefshild = 1: set defence = 500
- gt 'fight','start'
- end
- end
- if proseventrand > 5 and proseventrand <= 50:
- klient_needs = 0
- prosti = 0
- KlientMON = RAND(1,10)
- 'The client wants to blow and asks how much it will cost.'
- end
- if proseventrand > 50 and proseventrand <= 75:
- klient_needs = 1
- prosti = 0
- KlientMON = RAND(3,25)
- 'Client wants sex and asks how much it will cost.'
- end
- if proseventrand > 75 and proseventrand <= 95:
- klient_needs = 2
- prosti = 0
- KlientMON = RAND(5,40)
- 'Client wants anal and asks how much it will cost.'
- end
- if proseventrand > 5 and proseventrand <= 95:
- klienVNPR = RAND(0,30)
- act 'Leave': gt 'prostitute','start'
- if ProsMoney > 0:
- act '<<ProsMoney * 100>> rubles':
- cls
- dynamic $universalklient
- end
- end
- act 'Assign a price':
- cls
- gs 'stat'
- ProsMoney = input("Enter a number below, which will multiplied by 100")
- if ProsMoney < 1:
- 'The client looked at you in amazement and muttered "what that fucker." Then started the car and drove away.'
- act 'Leave': gt 'prostitute','start'
- else
- dynamic $universalklient
- end
- end
- end
- if proseventrand > 95:
- 'To you approached a prostitute. "I hear you, slut, if you do not want problems, you have to pay Stella. Pyatihatnik Come here and get out on work."'
- if money >= 500:
- act 'Giving money':
- cla
- set money -= 500
- 'You gave the money to the prostitute, she turned and walked away.'
- act 'Move away': gt 'prostitute','start'
- end
- end
- if money < 500:
- act 'I have not earned much':
- cla
- set money = 0
- 'You started zhalovatsya that do not earn much money. You searched prostitute taking everything of value and left.'
- act 'Move away': gt 'prostitute','start'
- end
- end
- act 'Fuck you!':
- cla
- set minut += 15
- set $nameV = 'Prostitute'
- !Статы
- set strenV = 50
- set speedV = 50
- set agilV = 40
- set reactV = 30
- set vitalV = 60
- set intelV = 10
- set willV = 10
- !Навыки
- set magikV = 10
- set boxingV = 10
- set shootV = 10
- !Параметры
- set healthV = vitalV * 10 + strenV * 5
- set mannaV = intelV * 10 + magikV * 10
- set willpowerV = willV * 10
- set BonusAtakV = 0
- set BonusDefV = 0
- !программа действий
- set program = 0
- set prostitutFight = 3
- if spellavtoklon = 1: set klon = 3
- if spellbefshild = 1: set defence = 500
- gt 'fight','start'
- end
- end
- end
- end
- end
- end
- act 'Leave':
- cla
- set minut += 5
- set prosta = 0
- gt 'park','start'
- end
- =======
- set minut = minut + 5
- '<center><B><font color=maroon>prostitute</font></B></center>'
- '<center><img src="pic/park2.jpg" ></center>'
- clr
- gs'stat'
- gs'time'
- if hour >= 16 and hour <= 23:
- if whoreQW = 2:
- 'Prostitutes look at you with curiosity.'
- end
- if whoreQW = 1:
- 'Prostitutes look at you with interest.'
- act 'talk':
- cla
- set whoreQW = 2
- 'You went to a prostitute and asked her how things are done here at all. She began to explain. "We are all free, do not work on anyone, but because of the many problems. Stella with her ​​friends is svimi beat us and rob, sometimes come petty criminals and rob us of money. If you want to work here, you have to pay and Stella and bandyukov. You certainly cool, you can try to lay siege to Stella and her bridesmaids, but the bandits do not advise to contact. And more, you do not bite on customers, if you nebudesh dressed like a whore, you can buy some clothes in a sex shop."'
- act 'move_away':gt'prostitute','start'
- end
- end
- if whoreQW = 0:
- 'hey, you are not one of our, brought down to our terms, and that the teeth do not gather.'
- act 'Fuck you!':
- cla
- set minut = minut + 15
- set $nameV = 'stoned prostitute'
- !stats
- set strenV = 20
- set speedV = 30
- set agilV = 30
- set reactV = 30
- set vitalV = 50
- set intelV = 10
- set willV = 10
- !skills
- set magikV = 10
- set boxingV = 10
- set shootV = 10
- !parameters
- set healthV = vitalV*10 + strenV*5
- set mannaV = intelV*10 + magikV*10
- set willpowerV = willV*10
- set BonusAtakV = 0
- set BonusDefV = 0
- !Programme of Action
- set program = 0
- set prostitutFight = 1
- if spellavtoklon = 1:set klon = 3
- if spellbefshild = 1:set defence = 500
- gt'fight','start'
- end
- act 'How to become one of your?':
- cla
- 'How to become one of your? asked you. Prostitute grinned impudently, spat. To do this.'
- act 'move_away':gt'prostitute','start'
- act 'I agree':
- cla
- whoreQW = 2
- 'you agreed. The prostitute told you, you need to buy some clothes in the sex shop. Then customers will immediately realize that you are a prostitute.'
- act 'move_away':gt'prostitute','start'
- end
- end
- end
- if whoreQW > 1 and hook = 1 and son > 0:
- act 'Stand on the panel 15 min':
- cla
- set minut = minut + 10
- set prosrand = RAND (0,(vnesh+hour)*2)
- if prosrand < 20:
- 'No you are not interested in.'
- act 'Get_Away':gt'prostitute','start'
- end
- if prosrand >= 20:
- 'To you drove the car.'
- set proseventrand = RAND (0,100)
- if proseventrand <= 5:
- 'To you drove a black jeep, opened the window and leaned out healthy impudent face. "Hey whore, it`s time to pay tribute. Come here Shtukar and Wali further work."'
- if money >= 1000:
- act 'give money':
- cla
- set money = money - 1000
- 'You gave money big man in the jeep. He put them in his pocket and left.'
- act 'move_away':gt'prostitute','start'
- end
- end
- if money<1000:
- act 'I still do not earn as much':
- cla
- money = 0
- 'You begin to explain big man, that you have not earned it grabbed you by the arm and threw him into a jeep, there you have it brushed his pocket, how to work.'
- act 'work':
- set $nameV = 'bandit'
- set $boy = 'bandit'
- set dick = RAND (18,21)
- gt'blowPR','start'
- end
- end
- end
- act 'Fuck you!':
- cla
- set minut = minut + 15
- set $nameV = 'bandit'
- !stats
- set strenV = 200
- set speedV = 30
- set agilV = 20
- set reactV = 20
- set vitalV = 150
- set intelV = 10
- set willV = 10
- !skills
- set magikV = 10
- set boxingV = 10
- set shootV = 10
- !parameters
- set healthV = vitalV*10 + strenV*5
- set mannaV = intelV*10 + magikV*10
- set willpowerV = willV*10
- set BonusAtakV = 0
- set BonusDefV = 0
- !Programme of Action
- set program = 0
- set prostitutFight = 2
- if spellavtoklon = 1:set klon = 3
- if spellbefshild = 1:set defence = 500
- gt'fight','start'
- end
- end
- if proseventrand > 5 and proseventrand <= 50:
- klient_needs=0
- prosti = 0
- KlientMON=RAND(1,10)
- 'The client wants a blowjob and asks how much it will cost.'
- end
- if proseventrand > 50 and proseventrand <= 75:
- klient_needs=1
- prosti = 0
- KlientMON=RAND(3,25)
- 'The client wants sex and asks how much it will cost.'
- end
- if proseventrand > 75 and proseventrand <= 95:
- klient_needs=2
- prosti = 0
- KlientMON=RAND(5,40)
- 'Client wants anal and asks how much it will cost.'
- end
- if proseventrand > 5 and proseventrand <= 95:
- klienVNPR=RAND(0,30)
-
- act 'Get_Away':gt'prostitute','start'
- if ProsMoney>0:
- act '<<ProsMoney*100>> rubles':
- cls
- dynamic $universalklient
- end
- end
-
- act 'put a price':
- cls
- gs'stat'
- ProsMoney=input("Assign cost hundreds")
- if ProsMoney<1:
- 'The client looked at you in surprise and muttered "Some sort of fucked." Then started the car and drove off.'
- act 'Get_Away':gt'prostitute','start'
- else
- dynamic $universalklient
- end
- end
-
-
- end
- if proseventrand > 95:
- 'To you came prostitute. "Slysh, slut, If you do not want problems, you have to pay Stella. Come here pyatihatnik and Wali further work."'
- if money >= 500:
- act 'give money':
- cla
- set money = money - 500
- 'You gave money to a prostitute, She turned and walked away.'
- act 'move_away':gt'prostitute','start'
- end
- end
- if money<500:
- act 'I still do not earn as much':
- cla
- set money = 0
- 'You started zhalovatsya that have not yet earned so much money. Prostitute search you took everything of value and left.'
- act 'move_away':gt'prostitute','start'
- end
- end
- act 'Fuck you!':
- cla
- set minut = minut + 15
- set $nameV = 'prostitute'
- !stats
- set strenV = 50
- set speedV = 50
- set agilV = 40
- set reactV = 30
- set vitalV = 60
- set intelV = 10
- set willV = 10
- !skills
- set magikV = 10
- set boxingV = 10
- set shootV = 10
- !parameters
- set healthV = vitalV*10 + strenV*5
- set mannaV = intelV*10 + magikV*10
- set willpowerV = willV*10
- set BonusAtakV = 0
- set BonusDefV = 0
- !Programme of Action
- set program = 0
- set prostitutFight = 3
- if spellavtoklon = 1:set klon = 3
- if spellbefshild = 1:set defence = 500
- gt'fight','start'
- end
- end
- end
- end
- end
- end
- act 'GET_AWAY':
- cla
- set minut = minut + 5
- set prosta = 0
- gt'park','start'
- end
- >>>>>>> 473_Prostitute
- end
- --- Prostitute ---------------------------------
- # Menu.Info
- <<<<<<< 473_Prostitute
- *NL 'Module to work with the menu'
- *NL 'Version: 1.0'
- *NL 'Author: Olegus t.Gl. (C) 2011'
- *NL 'Website: http://olegus.ifiction.ru'
- *NL 'e-mail: olegus.tgl @ gmail.com'
- *NL 'icq: 145540276'
- *NL 'Forum topic: http://forum.ifiction.ru/viewtopic.php?id = 1527'
- =======
- *NL 'Module for menu'
- *NL 'version: 1.0'
- *NL 'author: Olegus t.Gl. (c) 2011'
- *NL 'website: http://olegus.ifiction.ru'
- *NL 'e-mail: [email protected]'
- *NL 'icq: 145 540 276'
- *NL 'Forum topic: http://forum.ifiction.ru/viewtopic.php?id=1527'
- >>>>>>> 473_Prostitute
- --- Menu.Info ---------------------------------
- # Menu.Create
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '': EXIT
- !----------
- $ARGS[0] = 'otg_Menyu_'+$ARGS[0]
- =======
- if $ARGS[0]='': EXIT
- !----------
- $ARGS[0]='otg_Menyu_'+$ARGS[0]
- >>>>>>> 473_Prostitute
- !----------
- killvar '<<$ARGS[0]>>'
- <<<<<<< 473_Prostitute
- killvar '<<$ARGS[0]>>_Parametry'
- killvar '<<$ARGS[0]>>_Vybrali'
- killvar '<<$ARGS[0]>>_VybrannyyPunkt'
- killvar '<<$ARGS[0]>>_Vremya'
- =======
- killvar '<<$ARGS[0]>>_parameters'
- killvar '<<$ARGS[0]>>_selected'
- killvar '<<$ARGS[0]>>_VybrannyyPunkt'
- killvar '<<$ARGS[0]>>_time'
- >>>>>>> 473_Prostitute
- killvar '<<$ARGS[0]>>_ModuliSobyty'
- --- Menu.Create ---------------------------------
- # Menu.Add
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '' or $ARGS[1] = '': EXIT
- !----------
- if $ARGS[1] = '---' or lcase($ARGS[1])='separator':
- dynamic "$otg_Меню_<<$ARGS[0]>>[] = '-: -'"
- =======
- if $ARGS[0]='' or $ARGS[1]='': EXIT
- !----------
- if $ARGS[1]='---' or lcase($ARGS[1])='separator':
- dynamic "$otg_Menyu_<<$ARGS[0]>>[]='-:-'"
- >>>>>>> 473_Prostitute
- EXIT
- end
- !----------
- <<<<<<< 473_Prostitute
- ARGS[10] = arrsize('ARGS')
- if ARGS[10]<3: $ARGS[2] = ''
- if ARGS[10]<4: $ARGS[3] = ''
- !----------
- $ARGS[0] = 'otg_Menyu_<<$ARGS[0]>>'
- $ARGS[1] = replace($ARGS[1],'''','''''')
- if $ARGS[2]<>'': $ARGS[2] = ':'+replace($ARGS[2],'''','''''')
- if $ARGS[3]<>'': $ARGS[3] = replace($ARGS[3],'''','''''')
- =======
- ARGS[10]=arrsize('ARGS')
- if ARGS[10]<3: $ARGS[2]=''
- if ARGS[10]<4: $ARGS[3]=''
- !----------
- $ARGS[0]='otg_Menyu_<<$ARGS[0]>>'
- $ARGS[1]=replace($ARGS[1],'''','''''')
- if $ARGS[2]<>'': $ARGS[2]=':'+replace($ARGS[2],'''','''''')
- if $ARGS[3]<>'': $ARGS[3]=replace($ARGS[3],'''','''''')
- >>>>>>> 473_Prostitute
- !----------
- dynamic "
- <<<<<<< 473_Prostitute
- $<<$ARGS[0]>>[] = '<<$ARGS[1]>>Menu.{Processing}<<$ARGS[2]>>'
- $<<$ARGS[0]>>_Параметры[str(arrsize('<<$ARGS[0]>>'))+'_Z'] = '<<$ARGS[1]>>'
- $<<$ARGS[0]>>_Параметры[str(arrsize('<<$ARGS[0]>>'))+'_F'] = '<<$ARGS[3]>>'
- =======
- $<<$ARGS[0]>>[]='<<$ARGS[1]>>:menu.{treatment}<<$ARGS[2]>>'
- $<<$ARGS[0]>>_parameters[str(arrsize('<<$ARGS[0]>>'))+'_W']='<<$ARGS[1]>>'
- $<<$ARGS[0]>>_parameters[str(arrsize('<<$ARGS[0]>>'))+'_F']='<<$ARGS[3]>>'
- >>>>>>> 473_Prostitute
- "
- !----------
- <<<<<<< 473_Prostitute
- $ARGS[3] = ''
- if ARGS[10]>4:
- ARGS[11] = 4
- =======
- $ARGS[3]=''
- if ARGS[10]>4:
- ARGS[11]=4
- >>>>>>> 473_Prostitute
- :otg_menyu_metka_1
- if ARGS[11]<ARGS[10]:
- if $ARGS[ARGS[11]]<>'':
- <<<<<<< 473_Prostitute
- $ARGS[3] += ''''+replace($ARGS[ARGS[11]],'''','''''')+''''
- =======
- $ARGS[3]+=','''+replace($ARGS[ARGS[11]],'''','''''')+''''
- >>>>>>> 473_Prostitute
- else
- if ARGS[ARGS[11]]<>0:
- <<<<<<< 473_Prostitute
- $ARGS[3] += ','+str(ARGS[ARGS[11]])
- else
- $ARGS[3] += ''' '''
- =======
- $ARGS[3]+=','+str(ARGS[ARGS[11]])
- else
- $ARGS[3]+=','''''
- >>>>>>> 473_Prostitute
- end
- end
- <<<<<<< 473_Prostitute
- ARGS[11] += 1
- =======
- ARGS[11]+=1
- >>>>>>> 473_Prostitute
- jump 'otg_menyu_metka_1'
- end
- end
- !----------
- dynamic "
- <<<<<<< 473_Prostitute
- $<<$ARGS[0]>>_Параметры[str(arrsize('<<$ARGS[0]>>'))+'_P'] = '<<replace($ARGS[3],'''','''''')>>'
- =======
- $<<$ARGS[0]>>_parameters[str(arrsize('<<$ARGS[0]>>'))+'_P']='<<replace($ARGS[3],'''','''''')>>'
- >>>>>>> 473_Prostitute
- "
- --- Menu.Add ---------------------------------
- # Menu.AddCondition
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '' or $ARGS[1] = '': EXIT
- !----------
- ARGS[10] = dyneval("Result = arrsize('otg_Menyu_<<$ARGS[0]>>')")
- if dyneval("$Result = $otg_Меню_<<$ARGS[0]>>[<<ARGS[10]>>-1]")='-: -': EXIT
- =======
- if $ARGS[0]='' or $ARGS[1]='': EXIT
- !----------
- ARGS[10]=dyneval("Result=arrsize('otg_Menyu_<<$ARGS[0]>>')")
- if dyneval("$Result=$otg_Menyu_<<$ARGS[0]>>[<<ARGS[10]>>-1]")='-:-': EXIT
- >>>>>>> 473_Prostitute
- !----------
- dynamic "
- <<<<<<< 473_Prostitute
- $otg_Меню_<<$ARGS[0]>>_Параметры['<<ARGS[10]>>y'] = '<<replace($ARGS[1],'''','''''')>>'
- =======
- $otg_Menyu_<<$ARGS[0]>>_parameters['<<ARGS[10]>>_Do']='<<replace($ARGS[1],'''','''''')>>'
- >>>>>>> 473_Prostitute
- "
- --- Menu.AddCondition ---------------------------------
- # Menu.AddModule
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '' or $ARGS[1] = '': EXIT
- !----------
- ARGS[10] = dyneval("Result = arrsize('otg_Menyu_<<$ARGS[0]>>')")
- if dyneval("$Result = $otg_Меню_<<$ARGS[0]>>[<<ARGS[10]>>-1]")='-: -': EXIT
- =======
- if $ARGS[0]='' or $ARGS[1]='': EXIT
- !----------
- ARGS[10]=dyneval("Result=arrsize('otg_Menyu_<<$ARGS[0]>>')")
- if dyneval("$Result=$otg_Menyu_<<$ARGS[0]>>[<<ARGS[10]>>-1]")='-:-': EXIT
- >>>>>>> 473_Prostitute
- !----------
- dynamic "
- <<<<<<< 473_Prostitute
- $otg_Меню_<<$ARGS[0]>>_Параметры['<<ARGS[10]>>_M'] = '<<replace($ARGS[1],'''','''''')>>'
- "
- =======
- $otg_Menyu_<<$ARGS[0]>>_parameters['<<ARGS[10]>>_M']='<<replace($ARGS[1],'''','''''')>>'
- "
- >>>>>>> 473_Prostitute
- --- Menu.AddModule ---------------------------------
- # Menu.AddEvent
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '' or $ARGS[1] = '': EXIT
- !----------
- $ARGS[1] = lcase(trim($ARGS[1]))
- !----------
- if $ARGS[1] = 'when you select':
- dynamic "$otg_Меню_<<$ARGS[0]>>_МодулиСобытий['<<$ARGS[1]>>'] = '<<replace($ARGS[2],'''','''''')>>'"
- elseif $ARGS[1] = 'selecting processing after':
- dynamic "$otg_Меню_<<$ARGS[0]>>_МодулиСобытий['<<$ARGS[1]>>'] = '<<replace($ARGS[2],'''','''''')>>'"
- elseif $ARGS[1] = 'failure of the choice':
- dynamic "$otg_Меню_<<$ARGS[0]>>_МодулиСобытий['<<$ARGS[1]>>'] = '<<replace($ARGS[2],'''','''''')>>'"
- end
- =======
- if $ARGS[0]='' or $ARGS[1]='': EXIT
- !----------
- $ARGS[1]=lcase(trim($ARGS[1]))
- !----------
- if $ARGS[1]='when you select':
- dynamic "$otg_Menyu_<<$ARGS[0]>>_ModuliSobyty['<<$ARGS[1]>>']='<<replace($ARGS[2],'''','''''')>>'"
- elseif $ARGS[1]='after selection processing':
- dynamic "$otg_Menyu_<<$ARGS[0]>>_ModuliSobyty['<<$ARGS[1]>>']='<<replace($ARGS[2],'''','''''')>>'"
- elseif $ARGS[1]='failure of the choice':
- dynamic "$otg_Menyu_<<$ARGS[0]>>_ModuliSobyty['<<$ARGS[1]>>']='<<replace($ARGS[2],'''','''''')>>'"
- end
- >>>>>>> 473_Prostitute
- --- Menu.AddEvent ---------------------------------
- # Menu.Call
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '': EXIT
- !----------
- ARGS[10] = arrsize('otg_Menyu_<<$ARGS[0]>>')
- if ARGS[10] = 0: EXIT
- !----------
- $otg_Menu_Current = 'otg_Menyu_<<$ARGS[0]>>'
- =======
- if $ARGS[0]='': EXIT
- !----------
- ARGS[10]=arrsize('otg_Menyu_<<$ARGS[0]>>')
- if ARGS[10]=0: EXIT
- !----------
- $otg_Menu_Current='otg_Menyu_<<$ARGS[0]>>'
- >>>>>>> 473_Prostitute
- killvar 'otg_Menyu_Vyzyvaemoe'
- killvar 'otg_Menu_Compliance'
- !----------
- <<<<<<< 473_Prostitute
- ARGS[11] = 0
- =======
- ARGS[11]=0
- >>>>>>> 473_Prostitute
- :otg_menyu_metka_2
- if ARGS[11]<ARGS[10]:
- dynamic "
- <<<<<<< 473_Prostitute
- $ARGS[0] = $<<$otg_Menu_Current>>_Параметры['<<ARGS[11]+1>>y']
- if $ARGS[0] = '':
- $otg_Меню_Вызываемое[] = $<<$otg_Menu_Current>>[<<ARGS[11]>>]
- =======
- $ARGS[0]=$<<$otg_Menu_Current>>_parameters['<<ARGS[11]+1>>_Do']
- if $ARGS[0]='':
- $otg_Menyu_Vyzyvaemoe[]=$<<$otg_Menu_Current>>[<<ARGS[11]>>]
- >>>>>>> 473_Prostitute
- otg_Menu_Compliance[]=<<ARGS[11]+1>>
- else
- if dyneval($ARGS[0])<>0:
- <<<<<<< 473_Prostitute
- $otg_Меню_Вызываемое[] = $<<$otg_Menu_Current>>[<<ARGS[11]>>]
- =======
- $otg_Menyu_Vyzyvaemoe[]=$<<$otg_Menu_Current>>[<<ARGS[11]>>]
- >>>>>>> 473_Prostitute
- otg_Menu_Compliance[]=<<ARGS[11]+1>>
- end
- end
- "
- <<<<<<< 473_Prostitute
- ARGS[11] += 1
- =======
- ARGS[11]+=1
- >>>>>>> 473_Prostitute
- !----------
- jump 'otg_menyu_metka_2'
- end
- !----------
- <<<<<<< 473_Prostitute
- otg_Menu_Time = 0
- dynamic "
- <<$otg_Menu_Current>>_Выбрали = 0
- <<$otg_Menu_Current>>_ВыбранныйПункт = 0
- <<$otg_Menu_Current>>_Время = MSECSCOUNT
- =======
- otg_Menu_Time=0
- dynamic "
- <<$otg_Menu_Current>>_selected=0
- <<$otg_Menu_Current>>_VybrannyyPunkt=0
- <<$otg_Menu_Current>>_time=MSECSCOUNT
- >>>>>>> 473_Prostitute
- "
- !----------
- menu 'otg_Menyu_Vyzyvaemoe'
- !----------
- dynamic "
- <<<<<<< 473_Prostitute
- if <<$otg_Menu_Current>>_Выбрали = 0:
- <<$otg_Menu_Current>>_Время = MSECSCOUNT-<<$otg_Menu_Current>>_Время
- $ARGS[0] = $<<$otg_Menu_Current>>_МодулиСобытий['failure of the choice']
- =======
- if <<$otg_Menu_Current>>_selected=0:
- <<$otg_Menu_Current>>_time=MSECSCOUNT-<<$otg_Menu_Current>>_time
- $ARGS[0]=$<<$otg_Menu_Current>>_ModuliSobyty['failure of the choice']
- >>>>>>> 473_Prostitute
- if $ARGS[0]<>'': dynamic $ARGS[0]
- else
- <<<<<<< 473_Prostitute
- $ARGS[0] = $<<$otg_Menu_Current>>_МодулиСобытий['selecting processing after']
- if $ARGS[0]<>'': dynamic $ARGS[0],$<<$otg_Menu_Current>>_Параметры[str(<<$otg_Menu_Current>>_ВыбранныйПункт)+'_Z']"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры[str(<<$otg_Menu_Current>>_ВыбранныйПункт)+'_P']")+"
- =======
- $ARGS[0]=$<<$otg_Menu_Current>>_ModuliSobyty['after selection processing']
- if $ARGS[0]<>'': dynamic $ARGS[0],$<<$otg_Menu_Current>>_parameters[str(<<$otg_Menu_Current>>_VybrannyyPunkt)+'_W']"+dyneval("$Result=$<<$otg_Menu_Current>>_parameters[str(<<$otg_Menu_Current>>_VybrannyyPunkt)+'_P']")+"
- >>>>>>> 473_Prostitute
- end
- "
- !----------
- killvar 'otg_Menyu_Tekuschee'
- killvar 'otg_Menyu_Vyzyvaemoe'
- killvar 'otg_Menu_Compliance'
- !----------
- <<<<<<< 473_Prostitute
- Result = dyneval("Result = otg_Меню_<<$ARGS[0]>>_Выбрали")
- =======
- Result=dyneval("Result=otg_Menyu_<<$ARGS[0]>>_selected")
- >>>>>>> 473_Prostitute
- --- Menu.Call ---------------------------------
- # Menu.Chosen
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '': EXIT
- Result = dyneval("Result = otg_Меню_<<$ARGS[0]>>_Выбрали")
- =======
- if $ARGS[0]='': EXIT
- Result=dyneval("Result=otg_Menyu_<<$ARGS[0]>>_selected")
- >>>>>>> 473_Prostitute
- --- Menu.Chosen ---------------------------------
- # Menu.Time
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '':
- Result = otg_Menu_Time
- else
- Result = dyneval("Result = otg_Меню_<<$ARGS[0]>>_Время")
- =======
- if $ARGS[0]='':
- Result=otg_Menu_Time
- else
- Result=dyneval("Result=otg_Menyu_<<$ARGS[0]>>_time")
- >>>>>>> 473_Prostitute
- end
- --- Menu.Time ---------------------------------
- # Menu.Destroy
- <<<<<<< 473_Prostitute
- if $ARGS[0] = '': EXIT
- =======
- if $ARGS[0]='': EXIT
- >>>>>>> 473_Prostitute
- GS 'Menu.Create',$ARGS[0]
- --- Menu.Destroy ---------------------------------
- # Menu.{Processing}
- ARGS[0] = otg_Menu_Compliance[ARGS[0]-1]
- !----------
- if ARGS[0] = 0: EXIT
- !----------
- $ARGS[0] = dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_F']")
- $ARGS[1] = dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_M']")
- !----------
- dynamic "
- if $ARGS[1]<>'' or ($ARGS[0]<>'' and LOC $ARGS[0]):
- <<$otg_Menu_Current>>_Время = MSECSCOUNT-<<$otg_Menu_Current>>_Время
- otg_Menu_Time=<<$otg_Menu_Current>>_Время
- <<$otg_Menu_Current>>_Выбрали = -1
- <<$otg_Menu_Current>>_ВыбранныйПункт=<<ARGS[0]>>
- !----------
- $ARGS[3] = $<<$otg_Menu_Current>>_МодулиСобытий['when you select']
- if $ARGS[3]<>'': dynamic $ARGS[3],$<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_Z']"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_P']")+"
- !----------
- if $ARGS[1]<>'':
- dynamic $ARGS[1]"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_P']")+"
- else
- GS $ARGS[0]"+dyneval("$Result = $<<$otg_Menu_Current>>_Параметры['<<ARGS[0]>>_P']")+"
- end
- else
- MSG 'Location ''<<$ARGS[0]>>'' not found!'
- end
- ",$ARGS[0],$ARGS[1]
- --- Menu.{Processing} ---------------------------------
|