123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707 |
- # mod_public_WC_rab_gun
- if $ARGS[0] = 'start':
- 'I can use this for defence in fights, practice in shooting or try to rob someone.'
- *nl
- 'I have killed:'
- if Tolik = 2: 'Tolik,'
- if Artem = 2: 'Artem,'
- if Vania = 2: 'Vania,'
- '<<killed>> other people'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/gun.jpg"></center>'
- if ammo = 0:
- 'I have no bullets'
- elseif ammo = 1:
- 'I have <<ammo>> bullet'
- else
- 'I have <<ammo>> bullets'
- end
- if ammo > 0:
- act 'start shoot practice':
- If ($loc = 'meadow' and MiraLoc ! 2) or ($loc = 'gadforest' and $loc_arg ! 'forest_edge'):
- *clr & cla
- minut += rand (5,15)
- ammo -= 1
- shoot_exp += rand(1,2)
- gs 'stat'
- 'I put some targets with bottles and atc, and start shooting.'
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/target.mp4"></video></center>'
- act 'continue': gt $loc, $loc_arg
- else
- 'I need to be somewere in quite place without people'
- end
- end
- end
- if $location_type = 'secluded':
- act 'throw out the gun!':
- gun = 0
- gt $loc, $loc_arg
- end
- end
- act 'Find target, Seduce him and rob':
- if hour >= 21 or hour < 6:
- if $loc = 'road':
- cla
- act 'try to sell yourself': gt 'mod_public_WC_rab_gun_rob','start'
- elseif $loc = 'city_center' or $loc = 'city_residential' or $loc = 'pav_residential':
- cla
- act 'find someone to seduce': gt 'mod_public_WC_rab_gun_rob','start'
- else
- 'This is not a proper place.'
- end
- else
- 'I need night to do this.'
- end
- end
- if Vania = 1 or Vania = 3 and ammo > 0:
- gs 'willpower', 'crime', 'self', 'hard'
- if will_cost <= pcs_willpwr:
- act 'shoot in Vania (<<will_cost>> Willpower)':
- *clr & cla
- gs 'willpower', 'pay', 'self'
- gs 'stat'
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- ammo -= 1
- shoot_exp += 1
- pcs_mood -= 50
- Vania = 2
- 'I killed Vania'
- gs 'stat'
- If Artem = 1 and Tolik = 1:
- *clr & cla
- 'I make few more shoots to defend myself'
- 'maybe I even killed someone but the other smash my head and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- elseIf Artem = 1 or Tolik = 1:
- If Artem = 1:
- 'Artem freez for few seconds and then started to run to me'
- elseIf Tolik = 1:
- 'Tolik freez for few seconds and then started to run to me'
- end
- act 'shoot to survive!!!':
- *clr & cla
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- If ammo > 0:
- shoot_exp += 1
- ammo -= 1
- If Tolik = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Tolik'
- pcs_mood -= 50
- Tolik = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- else
- 'I missed'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- elseIf Artem = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Artem'
- pcs_mood -= 50
- Artem = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- else
- 'I missed'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- end
- else
- *clr & cla
- 'I have no ammo'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- end
- else
- act 'Kill all other, otherway they will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- end
- end
- else
- act 'shoot in Vania (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
- end
- end
- if Artem = 1 or Artem = 3 and ammo > 0:
- gs 'willpower', 'crime', 'self', 'hard'
- if will_cost <= pcs_willpwr:
- act 'shoot in Artem (<<will_cost>> Willpower)':
- *clr & cla
- gs 'willpower', 'pay', 'self'
- gs 'stat'
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- ammo -= 1
- shoot_exp += 1
- pcs_mood -= 50
- Artem = 2
- 'I killed Artem'
- gs 'stat'
- If Vania = 1 and Tolik = 1:
- *clr & cla
- 'I make few more shoots to defend myself'
- 'maybe I even killed someone but the other smash my head and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- elseIf Vania = 1 or Tolik = 1:
- If Vania = 1:
- 'Vania freez for few seconds and then started to run to me'
- elseIf Tolik = 1:
- 'Tolik freez for few seconds and then started to run to me'
- end
- act 'shoot to survive!!!':
- *clr & cla
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- If ammo > 0:
- shoot_exp += 1
- ammo -= 1
- If Tolik = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Tolik'
- pcs_mood -= 50
- Tolik = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- else
- 'I missed'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- elseIf Vania = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Vania'
- pcs_mood -= 50
- Vania = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- else
- 'I missed'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- end
- else
- *clr & cla
- 'I have no ammo'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- end
- else
- act 'Kill all other, otherway they will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- end
- end
- else
- act 'shoot in Artem (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
- end
- end
- If Tolik = 1 or Tolik = 3 and ammo > 0:
- gs 'willpower', 'crime', 'self', 'hard'
- if will_cost <= pcs_willpwr:
- act 'shoot in Tolik (<<will_cost>> Willpower)':
- *clr & cla
- gs 'willpower', 'pay', 'self'
- gs 'stat'
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- ammo -= 1
- shoot_exp += 1
- pcs_mood -= 50
- Tolik = 2
- 'I killed Tolik'
- gs 'stat'
- If Vania = 1 and Artem = 1:
- *clr & cla
- 'I make few more shoots to defend myself'
- 'maybe I even killed someone but the other smash my head and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- elseIf Vania = 1 or Artem = 1:
- If Vania = 1:
- 'Vania freez for few seconds and then started to run to me'
- elseIf Artem = 1:
- 'Artem freez for few seconds and then started to run to me'
- end
- act 'shoot to survive!!!':
- *clr & cla
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- If ammo > 0:
- shoot_exp += 1
- ammo -= 1
- If Artem = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Artem'
- pcs_mood -= 50 + Alove
- Artem = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- else
- 'I missed'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- elseIf Vania = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Vania'
- pcs_mood -= 50
- Vania = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- else
- 'I missed'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- end
- else
- *clr & cla
- 'I have no ammo'
- 'He hits me and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- end
- end
- else
- act 'Kill all other, otherway they will kill me': gt 'mod_public_WC_rab_gun', 'killall'
- end
- end
- else
- act 'shoot in Tolik (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
- end
- end
- act 'go back': gt $loc, $loc_arg
- end
- if $ARGS[0] = 'run':
- gt 'mod_public_WC_rab_gun_run', 'run'
- end
- if $ARGS[0] = 'damage':
- if ktemp = 105:
- 'I hear Vania voice full of pain...'
- temp = rand(2,8)
- Vania = temp
- if Vania = 2: '...and scilens'
- killvar 'ktemp'
- elseif hour >= 7 and hour <= 20:
- 'I hear Artem voice full of pain...'
- temp = rand(2,8)
- Artem = temp
- if Artem = 2: '...and scilens'
- else
- 'I hear Vania voice full of pain...'
- temp = rand(2,8)
- Vania = temp
- if Vania = 2: '...and scilens'
- end
- end
- if $ARGS[0] = 'kill':
- If Vania > 2:
- 'It looks like Vania will survive'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/vania/vania.jpg"></center>'
- gs 'willpower', 'crime', 'self', 'hard'
- if will_cost <= pcs_willpwr:
- act 'Kill Vania (<<will_cost>> Willpower)':
- *clr & cla
- gs 'willpower', 'pay', 'self'
- gs 'stat'
- if ammo > 0:
- ammo -= 1
- shoot_exp += 1
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- pcs_mood -= 50
- willpowermax += 5
- Vania = 2
- 'I have killed him'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
- else
- 'I have no ammo'
- act 'Smash his head with rock':
- *clr & cla
- pcs_mood -= 50
- willpowermax += 5
- Vania = 2
- 'I have killed him'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
- end
- end
- end
- else
- act 'Kill Vania (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
- end
- act 'Run away':
- minut += rand (10, 40)
- brak += 70
- vtecha = 1
- if Vania ! 2: Vania = 0
- If Artem ! 2: Artem = 0
- Tolik = 0
- gt 'gadforestlost', 'forest_center'
- end
- elseIf Artem > 2:
- 'It looks like Artem will survive'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/Artem/Artem.jpg"></center>'
- gs 'willpower', 'crime', 'self', 'hard'
- if will_cost <= pcs_willpwr:
- act 'Kill Artem (<<will_cost>> Willpower)':
- *clr & cla
- gs 'willpower', 'pay', 'self'
- gs 'stat'
- if ammo > 0:
- ammo -= 1
- shoot_exp += 1
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- pcs_mood -= 50
- willpowermax += 5
- Vania = 2
- 'I have killed him'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
- else
- 'I have no ammo'
- act 'Smash his head with rock':
- *clr & cla
- pcs_mood -= 50
- willpowermax += 5
- Vania = 2
- 'I have killed him'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- act 'continue': gt 'mod_public_WC_rab_gun', 'kill'
- end
- end
- end
- else
- act 'Kill Artem (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
- end
- act 'Run away':
- minut += rand (10, 40)
- brak += 70
- vtecha = 1
- if Vania ! 2: Vania = 0
- If Artem ! 2: Artem = 0
- Tolik = 0
- gt 'gadforestlost', 'forest_center'
- end
- end
- If Vania = 2 or Artem = 2:
- act 'Run away':
- minut += rand (10, 40)
- brak += 70
- vtecha = 1
- if Vania ! 2: Vania = 0
- If Artem ! 2: Artem = 0
- Tolik = 0
- gt 'gadforestlost', 'forest_center'
- end
- act 'throw the gun and run away':
- gun = 0
- minut += rand (10, 40)
- brak += 70
- vtecha = 1
- if Vania ! 2: Vania = 0
- If Artem ! 2: Artem = 0
- Tolik = 0
- gt 'gadforestlost', 'forest_center'
- end
- act 'go to the house and kill other': gt 'mod_public_WC_rab_gun', 'killall'
- end
- end
- if $ARGS[0] = 'killall':
- $location_type = 'secluded'
- $loc = 'mod_public_WC_rab_gun'
- $metka = 'killall'
- gs 'stat'
- *clr & cla
- '<center><b><font color="maroon">The yard where I''m being held</font></b></center>'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/HATA/dim.jpg"></center>'
- 'I went out to the yard. I need to survive... I need to kill...'
- if ammo = 0: 'I need ammo, I must found the ammo in the Warehouse.'
- If ammo <= 6: 'I need more ammo, I can found the ammo in the Warehouse.'
- act 'continue': gt 'mod_public_WC_rab_DVIR','dvir'
- end
- if $ARGS[0] = 'fightshoot':
- shoot_exp += 1
- ammo -= 1
- if ztemp = 0:
- if opp_wrstlng <= rand(20,40):
- killvar 'ActionMade'
- killvar 'TargetNumber'
- killvar '$TargetType'
- killvar '$AttackerType'
- killvar 'AttackerNumber'
- inFight = 0
- xgt 'ender', 'win'
- gt $loc, $loc_arg
- exit
- else
- 'Enemy doesn''t skare at all'
- end
- elseif pcs_shoot - opp_agil - ztemp >= 20:
- if ztemp = 10:
- killvar 'ActionMade'
- killvar 'TargetNumber'
- killvar '$TargetType'
- killvar '$AttackerType'
- killvar 'AttackerNumber'
- inFight = 0
- 'I hit him'
- xgt 'ender', 'win'
- gt $loc, $loc_arg
- exit
- end
- if ztemp = 30:
- killvar 'ActionMade'
- killvar 'TargetNumber'
- killvar '$TargetType'
- killvar '$AttackerType'
- killvar 'AttackerNumber'
- inFight = 0
- 'I have killed him!'
- pcs_mood -= 10
- willpowermax += 5
- killed += 1
- crime += 3
- xgt 'ender', 'win'
- gt $loc, $loc_arg
- exit
- end
- else
- 'I missed.'
- end
- end
- if $ARGS[0] = 'tolik':
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/aim.jpg"></center>'
- minut += rand(3,45)
- If Tolik = 1 and ammo > 0:
- act 'shoot in Tolik':
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- If (Tolik = 1 and Artem = 1) or (Tolik = 1 and Vania = 1):
- *clr & cla
- 'I make few more shoots to defend myself'
- 'maybe I even killed someone but the other smash my head and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- elseIf Tolik = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Tolik'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- pcs_mood -= 30
- willpowermax += 5
- Tolik = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me':
- ttemp = 1
- gt $loc, $loc_arg
- end
- if Vania = 2 and Tolik = 2 and Artem = 2:
- *clr & cla
- ttemp = 1
- 'The end. I have killed all of them... I am free!!!'
- act 'look around': gt $loc, $loc_arg
- end
- else
- *clr & cla
- 'I missed'
- act 'Oh, NO! I MISED! good buy life...':
- *clr & cla
- 'Tolik killed me'
- over = 1
- gt 'gameover'
- end
- end
- end
- end
- else
- act 'Oh, NO! I have no ammo, good buy life...':
- *clr & cla
- 'Tolik killed me'
- over = 1
- gt 'gameover'
- end
- end
- end
- if $ARGS[0] = 'artem':
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/aim.jpg"></center>'
- minut += rand(3,45)
- If Artem = 1 and ammo > 0:
- act 'shoot in Artem':
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- If (Tolik = 1 and Artem = 1) or (Artem = 1 and Vania = 1):
- *clr & cla
- 'I make few more shoots to defend myself'
- 'maybe I even killed someone but the other smash my head and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- elseIf Artem = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Artem'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- pcs_mood -= 30
- willpowermax += 5
- Artem = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me':
- ttemp = 1
- gt $loc, $loc_arg
- end
- if Vania = 2 and Tolik = 2 and Artem = 2:
- *clr & cla
- ttemp = 1
- 'The end. I have killed all of them... I am free!!!'
- act 'look around': gt $loc, $loc_arg
- end
- else
- *clr & cla
- 'I missed'
- act 'Oh, NO! I MISED! good buy life...':
- *clr & cla
- 'Artem killed me'
- over = 1
- gt 'gameover'
- end
- end
- end
- end
- else
- act 'Oh, NO! I have no ammo, good buy life...':
- *clr & cla
- 'Artem killed me'
- over = 1
- gt 'gameover'
- end
- end
- end
- if $ARGS[0] = 'vania':
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/aim.jpg"></center>'
- minut += rand(3,45)
- If Vania = 1 and ammo > 0:
- act 'shoot in Vania':
- '<center><video autoplay loop src="mod/public_WC/lisrab/r_events/11/gunshoot_main.mp4"></video></center>'
- If (Tolik = 1 and Vania = 1) or (Artem = 1 and Vania = 1):
- *clr & cla
- 'I make few more shoots to defend myself'
- 'maybe I even killed someone but the other smash my head and I lost consciousness'
- act 'continue':
- over = 1
- gt 'gameover'
- end
- elseIf Vania = 1:
- if pcs_shoot >= rand(10,50):
- 'I killed Vania'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/r_events/11/body.jpg"></center>'
- pcs_mood -= 30
- willpowermax += 5
- Vania = 2
- gs 'stat'
- act 'Kill the last one, otherway he will kill me':
- ttemp = 1
- gt $loc, $loc_arg
- end
- if Vania = 2 and Tolik = 2 and Artem = 2:
- *clr & cla
- ttemp = 1
- 'The end. I have killed all of them... I am free!!!'
- act 'look around': gt $loc, $loc_arg
- end
- else
- *clr & cla
- 'I missed'
- act 'Oh, NO! I MISED! good buy life...':
- *clr & cla
- 'Vania killed me'
- over = 1
- gt 'gameover'
- end
- end
- end
- end
- else
- act 'Oh, NO! I have no ammo, good buy life...':
- *clr & cla
- 'Vania killed me'
- over = 1
- gt 'gameover'
- end
- end
- end
- if $ARGS[0] = 'lastfight':
- ttemp = 2762940
- cla
- If Tolik = 1:
- 'You Bitch, STOP!'
- 'Tolik run to me and try to hit me with a knife!'
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/nij.jpg"></center>'
- act 'aim at Tolik': gt 'mod_public_WC_rab_gun', 'tolik'
- end
- If Artem = 1:
- 'You Bitch, STOP!'
- 'Artem run to me and try to hit me! '
- act 'aim at Artem': gt 'mod_public_WC_rab_gun', 'artem'
- end
- If Vania = 1:
- 'You Bitch, STOP!'
- 'Vania run to me and try to kill me with a knife! '
- '<center><img <<$set_imgh>> src="mod/public_WC/lisrab/nij.jpg"></center>'
- act 'aim at Vania': gt 'mod_public_WC_rab_gun', 'vania'
- end
- end
- --- mod_public_WC_rab_gun ---------------------------------
|