This commit is contained in:
Bartek Stalewski 2014-11-18 22:09:05 +01:00
parent de201a623f
commit 2cb689ecc6
2 changed files with 10 additions and 3 deletions

View file

@ -187,15 +187,15 @@
/set _postepy_list=\
minimalne|\
nieznaczne|\
bardzo male|\
bmale|\
male|\
nieduze|\
zadowalajace|\
spore|\
dosc|\
dduze|\
znaczne|\
duze|\
bardzo duze|\
bduze|\
ogromne|\
imponujace|\
wspaniale|\

View file

@ -146,6 +146,13 @@
/def -Fp500 -mregexp -t'Poczynil.s (.*) postepy, od momentu kiedy wszedles do gry\.' _postepy_lap = \
/let __postep=%{2}%;\
/if ({__postep} =~ "bardzo male")\
/let __postep=bmale%;\
/elseif ({__postep} =~ "bardzo duze")\
/let __postep=dduze%;\
/elseif ({__postep} =~ "dosc duze")\
/let __postep=bduze%;\
/endif
/let __index=$[_get_index({__postep}, {_postepy_list})]%;\
/_postepy_zanotuj %{__index}%;\
/_sub %__index/15