Skip to content

Commit

Permalink
Исправлен перевод оповещений громкоговорителя
Browse files Browse the repository at this point in the history
  • Loading branch information
13Hz committed Sep 20, 2023
1 parent b7c69bb commit 6bf6a92
Show file tree
Hide file tree
Showing 6 changed files with 2,097 additions and 2,103 deletions.
28 changes: 14 additions & 14 deletions Crimes.bb
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is under"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is under", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("arrest for disobeying the prison rules!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
Expand All @@ -1266,8 +1266,8 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is wanted"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("for engaging in gang activity!"),rX#(400),rY#(560),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is wanted for", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("engaging in gang activity!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
EndIf
Expand All @@ -1276,7 +1276,7 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is under"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is under", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("arrest for conspiring to escape!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
Expand All @@ -1286,8 +1286,8 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is under"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("arrest for carrying a ")+Lower$(weapName$(weapType(gamItem(slot))))+"!",rX#(400),rY#(560),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is under", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("arrest for carrying a #NAME#!", "#NAME#", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
EndIf
Expand All @@ -1296,8 +1296,8 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("wanted for drug abuse!"),rX#(400),rY#(560),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is wanted for", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("drug abuse!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
EndIf
Expand All @@ -1306,8 +1306,8 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is under"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("arrest for trading ")+Lower$(weapName$(weapType(gamItem(slot))))+"!",rX#(400),rY#(560),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is under", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("arrest for trading #NAME#!", "#NAME#", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
EndIf
Expand All @@ -1316,8 +1316,8 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is wanted"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("for stealing a ")+Lower$(weapName$(weapType(gamItem(slot))))+"!",rX#(400),rY#(560),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is wanted for", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("stealing a #NAME#!", "#NAME#", Lower$(weapName$(weapType(gamItem(slot))))),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
EndIf
Expand All @@ -1326,8 +1326,8 @@ Function CrimePromos(cyc,v,y#)
If promoEffect=0 Then ProduceSound(FindChild(world,"Tanoy01"),sTanoy,22050,1) : promoEffect=1
If promoTim>25 And promoTim<325
Speak(cyc,1)
Outline(translate("ATTENTION! Prisoner ")+CellName$(gamChar(slot))+translate(" is wanted"),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("for assaulting another inmate!"),rX#(400),rY#(560),30,30,30,250,250,250)
Outline(translate("ATTENTION! Prisoner #NAME# is wanted for", "#NAME#", CellName$(gamChar(slot))),rX#(400),rY#(520),30,30,30,250,250,250)
Outline(translate("assaulting another inmate!"),rX#(400),rY#(560),30,30,30,250,250,250)
EndIf
If promoTim>325 And promoTim<9975 Then promoTim=9975 : promoUsed(gamPromo)=1
EndIf
Expand Down
2 changes: 1 addition & 1 deletion translate_plugin/Main.bb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Global messagesCount = 1431
Global messagesCount = 1429
Dim messages$(messagesCount, 2)

Include "translate_plugin/lang/Others.bb"
Expand Down
Loading

0 comments on commit 6bf6a92

Please sign in to comment.