Nowosc: status broni; ogolne porzadki w statusbarze.

This commit is contained in:
Bartek Stalewski 2013-12-20 23:22:35 +01:00
parent fb1d5a6f57
commit 50e9ce36c7
7 changed files with 345 additions and 327 deletions

View file

@ -6,11 +6,11 @@
/def -Fp2 -mregexp -t"^(> )+" _unprompty = /substitute %{PR}
/def log_on = \
/eval /log -w%{mudworld} %{logpath}/%{mudworld}/%{player}_$[ftime("%Y-%m-%d", time())].log
/eval /log -w%{mudworld} %{logpath}/%{mudworld}/%{player}_$[ftime("%Y-%m-%d", time())].log
/def -mglob -Fp2 -t'* z hosta:*' _logged = \
/repeat -5 1 /start %;\
/repeat -6 1 /set ingame=1
/repeat -5 1 /start %;\
/repeat -6 1 /set ingame=1
/sub on
/def c = /for i 1 100 /_echo
@ -41,39 +41,44 @@
/load warn.tf
/def reload = \
/purge %;\
/purge -i alias_body_* %;\
/purge -i alias_call_* %;\
/def -ag -h'Load' hide_load %;\
/eval /cd %{main_dir}/common %;\
/load start.tf %;\
/eval /cd %{main_dir}/%{mudworld} %;\
/load start.tf %;\
/load %{priv_dir}/%{mudworld}/players/%{player}/%{player}.tf %;\
/load %{priv_dir}/%{mudworld}/imiona.tf %;\
/if ( {poczta_show} =~ "NOWA" )\
/status_edit -r1 poczta_show:4:C%{c_alarm} %;\
/purge %;\
/purge -i alias_body_* %;\
/purge -i alias_call_* %;\
/def -ag -h'Load' hide_load %;\
/eval /cd %{main_dir}/common %;\
/load start.tf %;\
/eval /cd %{main_dir}/%{mudworld} %;\
/load start.tf %;\
/load %{priv_dir}/%{mudworld}/players/%{player}/%{player}.tf %;\
/load %{priv_dir}/%{mudworld}/imiona.tf %;\
/if ( {poczta_show} =~ "NOWA" )\
/status_edit -r1 poczta_show:4:C%{c_alarm} %;\
/elseif ( {poczta_show} =~ "MULTI" )\
/status_edit -r1 poczta_show:4:C%{c_alarm} %;\
/endif %;\
/if ( {bindings} !~ NULL ) \
/def -b'`' tempbind = /dobind %{bindings} %;\
/if ( {ktype} =~ "mac" ) \
/def key_nkp- = /dobind %{*} %;\
/endif %;\
/endif %;\
/status_edit -r1 poczta_show:4:C%{c_alarm} %;\
/endif %;\
/if ( {bindings} !~ NULL ) \
/def -b'`' tempbind = /dobind %{bindings} %;\
/if ( {ktype} =~ "mac" ) \
/def key_nkp- = /dobind %{*} %;\
/endif %;\
/endif %;\
/sneak %sneak %;\
/hide %hide %;\
/f1 %f1 %;\
/f2 %f2 %;\
/f3 %f3 %;\
/f4 %f4 %;\
/f5 %f5 %;\
/f6 %f6 %;\
/f7 %f7 %;\
/f8 %f8 %;\
/am %attackmode %;\
/if ( {ingame} =~ "1" )\
/druzyna -q %;\
/endif%;\
/echo Reloaded.
/hide %hide %;\
/if ( {weaponstat} =~ "ON" )\
/weapon_on%;\
/elseif ( {weaponstat} =~ "!!!" )\
/weapon_break%;\
/endif%;\
/f1 %f1 %;\
/f2 %f2 %;\
/f3 %f3 %;\
/f4 %f4 %;\
/f5 %f5 %;\
/f6 %f6 %;\
/f7 %f7 %;\
/f8 %f8 %;\
/am %attackmode %;\
/if ( {ingame} =~ "1" )\
/druzyna -q %;\
/endif%;\
/echo Reloaded.