Skip to content

Commit

Permalink
TsumBeta: Allow recording with second item on
Browse files Browse the repository at this point in the history
  • Loading branch information
mcs committed Aug 3, 2024
1 parent 3eb90ef commit a743da4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/com.r2studio.TsumBeta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The script has various settings. Here is a brief description of every setting.
| Receive All Hearts | Will Receive hearts by clicking the "Claim All" button. This is fast, but not very nice to others because "Unknown" senders won't get hearts back from you. Check the setting "Receive Hearts One By One" if you care about your Unknown friends. |
| Waiting time (min) before repeat | The frequency how often the "Claim All" button will be used. |
| Receive Hearts One By One | This will process every message in your mailbox one after another. While this might seem waste of time compared to the "Claim All" button, Claiming every heart one by one also sends a heart back to the sender, even if it is an Unknown person you don't have in your friends list. Fetching hearts this may might encourage Unknown players to also send you hearts (and coins) in the future as they als get a heart from you. |
| Skip first person | Always ignores the first message when claiming hearts one by one. Useful if you live in a country where the first message is an Ad which causes problems for you.<br>Enabling this will break the "Record Sender" feature, so be sure to disable that when you activate "Skip first person". |
| Skip first person | Always ignores the first message when claiming hearts one by one. Useful if you live in a country where the first message is an Ad which causes problems for you. |
| Skip ruby | Won't open messages which contain rubies.<br>Enable if your main playing device is an Apple phone but your sender runs on an Android phone, as rubies are not shared between Apple and Android versions of the game.<br>If you only own Android devices, leave this off. |
| Max Times to Open Mailbox | Maximum amount of consecutive mailbox openings until the next task (send hearts / play game) will be started. The task ends before "max times" if on one opening the mailbox is still empty. |
| Waiting time before repeat | The mailbox won't be opened again for so many minutes after it has been emptied successfully or "Max Times" was reached. |
Expand Down
3 changes: 2 additions & 1 deletion scripts/com.r2studio.TsumBeta/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2798,10 +2798,11 @@ function start(settings) {
ts.resizeRatio = 1;
}
if (ts.receiveSecondItem) {
ts.recordReceive = false;
Button.outReceiveOne = Button.outReceiveOne2th;
Button.outReceiveOneRuby = Button.outReceiveOneRuby2th;
Button.outReceiveOneAd = Button.outReceiveOneAd2th;
Button.outReceiveNameFrom.y += 202;
Button.outReceiveNameTo.y += 202;
}

if (ts.recordReceive) {
Expand Down
4 changes: 2 additions & 2 deletions scripts/com.r2studio.TsumBeta/src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ var settings = [
},
{
key: 'receiveHeartsSkipFirst',
title: 'Skip first person(disable record)',
title_zh_TW: '跳過一個使用者(無法紀錄收心)',
title: 'Skip first person',
title_zh_TW: '跳過一個使用者',
default: false
},
{
Expand Down

0 comments on commit a743da4

Please sign in to comment.