Skip to content

Commit

Permalink
[2.14.1.0] Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruin0x11 committed Oct 2, 2022
1 parent 15a11e0 commit 0453e9c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions 2.05-custom-gx/custom_autopick.hsp
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,16 @@
sreplace s, s, lang("祝福された", " blessed "), " "
p(1) = 1
}
if ( instr(s, 0, lang("呪われていない", " uncursed ")) != (-1) ) {
if ( inv(INV_ITEM_KNOWN, cnt2) < ITEM_KNOWN_QUALITY ) {
continue
}
if ( inv(INV_ITEM_STATUS, cnt2) != ITEM_STATUS_NORMAL ) {
continue
}
sreplace s, s, lang("呪われていない", " uncursed "), " "
p(1) = 1
}
if ( instr(s, 0, lang("呪われた", " cursed ")) != (-1) ) {
if ( inv(INV_ITEM_KNOWN, cnt2) < ITEM_KNOWN_QUALITY ) {
continue
Expand Down
5 changes: 5 additions & 0 deletions dist/2.05-custom-gx/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,10 @@ dmgPopupEvade. "1"
dmgPopupFontSize. "12"
dmgPopupSpeed. "20"

(Autopickup)
autopick. "0"
autopick_sound. "1"
autodestroy_sound. "1"

(auto fix)

3 changes: 2 additions & 1 deletion dist/2.05-custom-gx/data/autopick.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# '?' after an entry means to prompt for picking/destroying it first.
# '%' after an entry means to autosave when it's picked up.
# '=' after an entry means to set the item as no-drop when it's picked up.
# ':sound123' after an entry means to play the sound with ID 123 when it's picked up.
# ':sound123' after an entry means to play the sound with ID 123 when it matches.
#
# You can store up to 10 sets of autopickup rules in each save folder,
# named autopick.txt, autopick_1.txt, autopick_2.txt, and so on.
Expand Down Expand Up @@ -75,6 +75,7 @@ all ore:sound24
# special item
# precious item
# blessed item
# uncursed item
# cursed item
# doomed item
# alive item
Expand Down

0 comments on commit 0453e9c

Please sign in to comment.