From 01b38af541ef88a8522aeebbd9b7844f2efd71bf Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Tue, 19 Aug 2014 17:28:39 +0200 Subject: [PATCH] Kosmetyka paska. --- arkadia/mail.tf | 2 +- arkadia/statusbar.tf | 14 +++++++------- common/movement.tf | 10 +++++----- common/start.tf | 4 +--- nightal/mail.tf | 36 ++++++++++++++++++------------------ nightal/statusbar.tf | 18 +++++++++--------- 6 files changed, 41 insertions(+), 43 deletions(-) diff --git a/arkadia/mail.tf b/arkadia/mail.tf index fadb473..aee00e8 100644 --- a/arkadia/mail.tf +++ b/arkadia/mail.tf @@ -15,4 +15,4 @@ /def -mregexp -Fp2 -t'Wysylasz .* na poczte.' _poczta_check = \ /set poczta_show=SYNC%;\ - /status_edit -r1 poczta_show:5:C%c_main + /status_edit -r1 poczta_show:5:C%c_alarm diff --git a/arkadia/statusbar.tf b/arkadia/statusbar.tf index 89bdc3f..25c7bbd 100644 --- a/arkadia/statusbar.tf +++ b/arkadia/statusbar.tf @@ -181,7 +181,7 @@ /def -mregexp -p2 -t'(.* wytraca ci .* z r|Uderzenie jest tak silne, ze bezwiednie puszczasz|Czujesz potezne szarpniecie)' _wytracenie = \ /set warningstat=$[strcat("[", decode_attr(decode_attr(" WYTRACENIE ", {zc_bold}), {zc_crit_background}), "]")]%;\ /set weaponstat=ERR%;\ - /status_edit -r3 weaponstat:3:C%c_crit + /status_edit -r3 weaponstat:4:C%c_crit /set zc_blue=Cbgblue /def -mregexp -p2 -t'(lecac lagodnym lukiem, laduje na ziemi obok ciebie|Bol .* staje sie mniej odczuwalny)' _wytracenie_off = \ @@ -193,16 +193,16 @@ /def -mregexp -Fp2 -t'(Dobywasz|Wiedziony naglym instynktem siegasz|Trzymasz.*(w prawej|w lewej|oburacz))' weapon_on = \ /set weaponstat=ON%;\ - /status_edit -r3 weaponstat:3:C%c_alarm + /status_edit -r3 weaponstat:4:C%c_alarm /def -mregexp -Fp2 -t'(^Opuszczasz | ogarniajac wzrokiem cala okolice)' weapon_off = \ /set weaponstat=off%;\ - /status_edit -r3 weaponstat:3:C%c_main + /status_edit -r3 weaponstat:4:C%c_main /def -ar -mregexp -Fp2 -t'^(?:(?!dzierzon).)*peka!$' weapon_break = \ /beep 1%;\ /set weaponstat=ERR%;\ - /status_edit -r3 weaponstat:3:C%c_crit + /status_edit -r3 weaponstat:4:C%c_crit /def -mregexp -p2 -t'Na rozkaz .* rzucasz sie.*' _no_atak = \ /set wskazanie= @@ -248,7 +248,7 @@ /eval /status_add -r1 "K: ":: kondycja:23 /eval /status_add -r1 "Z: ":: zmeczenie:20 /eval /status_add -r1 "M: ":: mana:20 -/eval /status_add -r1 "Hidden: ":: hide:3:C%c_main +/eval /status_add -r1 "Hidden: ":: hide:4:C%c_main /eval /status_add -r1 "Cover: ":: nxt_zaslona:3 /eval /status_add -r1 "Mail: ":: poczta_show:5:C%c_main /eval /status_add -r1 spacebreak:: @@ -259,10 +259,10 @@ /eval /status_add -r2 "B: ":: blokowanko:23 /eval /status_add -r2 "W: ":: warningstat:20 /eval /status_add -r2 "R: [ ":: wskazanie:16 -/eval /status_add -r2 "] Sneaky: ":: sneak:3:C%c_main +/eval /status_add -r2 "] Sneaky: ":: sneak:4:C%c_main /eval /status_add -r2 "Order: ":: nxt_order:3 /eval /status_add -r2 "Warn: ":: alarm:20 /eval /status_add -c -r3 "[ ":: czy_kierunek_jest_sw:1 czy_kierunek_jest_s:1 czy_kierunek_jest_se:2 czy_kierunek_jest_inne:1 " ] ":: /eval /status_add -r3 "T: [ ":: bindings:67:C%c_info -/eval /status_add -r3 "] Weapon: ":: weaponstat:3:C%c_main +/eval /status_add -r3 "] Weapon: ":: weaponstat:4:C%c_main diff --git a/common/movement.tf b/common/movement.tf index 55f271d..64b53dc 100644 --- a/common/movement.tf +++ b/common/movement.tf @@ -213,13 +213,13 @@ /echo -p #@{C%c_info}#@{n}# Przemykanie: @{C%c_info}%sneak@{n}%;\ /elseif ( {1} =~ "off" ) \ /set sneak %{1} %;\ - /status_edit -r2 sneak:3:C%{c_main} %;\ + /status_edit -r2 sneak:4:C%{c_main} %;\ /elseif ( {1} =~ "ON" ) \ /set sneak %{1} %;\ - /status_edit -r2 sneak:3:C%{c_alarm} %;\ + /status_edit -r2 sneak:4:C%{c_alarm} %;\ /elseif ( {1} =~ "TEAM" ) \ /set sneak %{1} %;\ - /status_edit -r2 sneak:3:C%{c_alarm} %;\ + /status_edit -r2 sneak:4:C%{c_alarm} %;\ /endif /def hide = \ @@ -227,10 +227,10 @@ /echo -p #@{C%c_info}#@{n}# Ukrycie: @{C%c_info}%hide@{n}%;\ /elseif ( {1} =~ "off" ) \ /set hide %{1} %;\ - /status_edit -r1 hide:3:C%{c_main} %;\ + /status_edit -r1 hide:4:C%{c_main} %;\ /elseif ( {1} =~ "ON" ) \ /set hide %{1} %;\ - /status_edit -r1 hide:3:C%{c_alarm} %;\ + /status_edit -r1 hide:4:C%{c_alarm} %;\ /endif /def -mregexp -Fp2 -t'Chowasz sie .* potrafisz' hideon0 = /hide ON diff --git a/common/start.tf b/common/start.tf index 41edf3a..0f3918b 100644 --- a/common/start.tf +++ b/common/start.tf @@ -54,9 +54,7 @@ /load %{priv_dir}/%{mudworld}/exceptions.tf %;\ /load %{priv_dir}/%{mudworld}/herbs.tf %;\ /load %{priv_dir}/%{mudworld}/players/%{player}/%{player}.tf %;\ - /if ( {poczta_show} =~ "NOWA" )\ - /status_edit -r1 poczta_show:5:C%{c_alarm} %;\ - /elseif ( {poczta_show} =~ "MULTI" )\ + /if ( {poczta_show} !~ "none" )\ /status_edit -r1 poczta_show:5:C%{c_alarm} %;\ /endif %;\ /if ( {bindings} !~ NULL ) \ diff --git a/nightal/mail.tf b/nightal/mail.tf index ad42517..6081032 100644 --- a/nightal/mail.tf +++ b/nightal/mail.tf @@ -5,9 +5,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Nagle miedzy twoimi nogami zaczyna platac' _poczta_mysz = \ @@ -15,9 +15,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Nie mija chwila gdy ptak przysiada na twoim ramieniu.' _poczta_kruk = \ @@ -25,9 +25,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Na twoim przedramieniu niespodziewanie wyladowala snieznobiala pocztowa mewa.' _poczta_mewa = \ @@ -35,9 +35,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Dociera do twojego przedramienia, gdzie przystaje, poruszajac lekko ogonem.' _poczta_jaszczurka = \ @@ -45,9 +45,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'agle tuz pod twoja noge przypelza kolorowa cetkowana zmija i szczerzy groznie kly jadowe.' _poczta_zmija = \ @@ -55,9 +55,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Nagle wesolo merdajac ogonkiem przybiega do ciebie' _poczta_wilczek = \ @@ -65,9 +65,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Czujesz wokol siebie dosc dziwny zapach, ktory kojarzyc moze sie ze zgnilizna' _poczta_szczur = \ @@ -75,9 +75,9 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif /def -mregexp -p2 -t'Nagle, tuz obok ciebie, w rozblysku ognia pojawia sie ognisty zlosliwy imp, z niechecia wreczajac ci wiadomosc.' _poczta_imp = \ @@ -85,7 +85,7 @@ /beep 1 %;\ /status_edit -r1 poczta_show:5:C%c_alarm %;\ /if ({poczta_show} !~ 'none' ) \ - /set poczta_show=MULTI%;\ + /set poczta_show=BOTH%;\ /else \ - /set poczta_show=MSG%;\ + /set poczta_show=MESG%;\ /endif diff --git a/nightal/statusbar.tf b/nightal/statusbar.tf index eaa124e..96b998f 100644 --- a/nightal/statusbar.tf +++ b/nightal/statusbar.tf @@ -193,7 +193,7 @@ /def -mregexp -Fp2 -t'.* wytraca ci ' _wytracenie = \ /set warningstat=$[strcat("[", decode_attr(decode_attr(" WYTRACENIE ", {zc_bold}), {zc_crit_background}), "]")]%;\ /set weaponstat=ERR%;\ - /status_edit -r3 weaponstat:3:C%c_crit + /status_edit -r3 weaponstat:4:C%c_crit /def -mregexp -p2 -t'Czujesz, jak krew w twoch dloniach krazy coraz predzej i odretwienie ustepuje.' _nowytracenie = \ /set warningstat=$[strcat("[", decode_attr(decode_attr(" DOBADZ BRONI: F2 ", {zc_bold}), {zc_blue}), "]")] %;\ @@ -204,16 +204,16 @@ /def -mregexp -Fp2 -t'(Dobywasz|Wiedziony naglym instynktem siegasz|Trzymasz.*(w prawej|w lewej|oburacz))' weapon_on = \ /set weaponstat=ON%;\ - /status_edit -r3 weaponstat:3:C%c_alarm + /status_edit -r3 weaponstat:4:C%c_alarm /def -mregexp -Fp2 -t'(^Opuszczasz | ogarniajac wzrokiem cala okolice)' weapon_off = \ /set weaponstat=off%;\ - /status_edit -r3 weaponstat:3:C%c_main + /status_edit -r3 weaponstat:4:C%c_main /def -ar -mregexp -Fp2 -t'^(?:(?!dzierzon).)*peka!$' weapon_break = \ /beep 1%;\ /set weaponstat=ERR%;\ - /status_edit -r3 weaponstat:3:C%c_crit + /status_edit -r3 weaponstat:4:C%c_crit /def -mregexp -p2 -t'Na rozkaz .* rzucasz sie.*' _no_atak = \ /set wskazanie= @@ -256,21 +256,21 @@ /eval /status_add -r1 "K: ":: kondycja:23 /eval /status_add -r1 "Z: ":: zmeczenie:20 /eval /status_add -r1 "M: ":: mana:20 -/eval /status_add -r1 "Hidden: ":: hide:3:C%c_main +/eval /status_add -r1 "Hidden: ":: hide:4:C%c_main /eval /status_add -r1 "Cover: ":: nxt_zaslona:3 /eval /status_add -r1 "Mail: ":: poczta_show:5:C%c_main -/eval /status_add -r3 spacebreak:: -/eval /status_add -r3 ownkills:3:C%c_main +/eval /status_add -r1 spacebreak:: +/eval /status_add -r1 ownkills:3:C%c_main /eval /status_add -r1 "/ ":: allkills:3:C%c_main /eval /status_add -c -r2 "[ ":: czy_kierunek_jest_w:1 ".":1 czy_kierunek_jest_e:2 czy_kierunek_jest_d:1 " ] ":: /eval /status_add -r2 "B: ":: blokowanko:23 /eval /status_add -r2 "W: ":: warningstat:20 /eval /status_add -r2 "R: [ ":: wskazanie:16 -/eval /status_add -r2 "] Sneaky: ":: sneak:3:C%c_main +/eval /status_add -r2 "] Sneaky: ":: sneak:4:C%c_main /eval /status_add -r2 "Order: ":: nxt_order:3 /eval /status_add -r2 "Warn: ":: alarm:20 /eval /status_add -c -r3 "[ ":: czy_kierunek_jest_sw:1 czy_kierunek_jest_s:1 czy_kierunek_jest_se:2 czy_kierunek_jest_inne:1 " ] ":: /eval /status_add -r3 "T: [ ":: bindings:67:C%c_info -/eval /status_add -r3 "] Weapon: ":: weaponstat:3:C%c_main +/eval /status_add -r3 "] Weapon: ":: weaponstat:4:C%c_main