Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- When terminal interacted with, load "PLEASE WAIT" textbox
- Convert mon data to wool lines, null out trade_data.nbt structure, and generate save structure block for encoded data
- Load saving instructions:
- * How to Trade *
- Right click the
- structure block
- and click SAVE.
- Once structure saving detected, load structure to fixed location for future integrity check and load next set of instructions:
- * How to Trade *
- 1. Open world save
- folder
- 2. Open structures
- folder
- 3. Send partner
- trade_data.nbt
- 4. Put received
- trade_data.nbt
- in structures
- folder
- 5. Quit world and
- re-join
- Pressing B opens a cancel trade dialog
- Do you want to \n stop trading?
- Yes - Closes trade interaction fully
- No - Removes cancel trade dialog and continues presenting how to trade steps
- After relogging, run integrity check to see if new trade_data.nbt exists and does not match the original
- If either condition fails:
- Valid trade data
- not detected.
- Please try again.
- Close trade session on a/b
- If valid, load initial trade screen with mon data
- Cancel closes all trade dialogs
- Selecting a mon loads options menu (stats/trade)
- In options menu
- B button returns to mon selection
- Stats loads party info screen
- Trade loads keypad and code to send to partner; code indicates your selected mon (max 6 codes/player)
- Codes for partner:
- Code 1: ####
- Enter code 1 from
- partner:
- _______
- |_______|
- 7 8 9
- 4 5 6
- 1 2 3
- <- 0 ED
- CANCEL
- B button deletes characters only
- Start button or ED submit the code string
- If invalid code:
- Invalid code,
- please try again.
- Returns to code input screen
- If valid code:
- Load trade text and trade/cancel dialog box
- Load code 1 overlay in case player didn't send it to partner before hitting enter
- Codes for partner:
- Code 1: ####
- Cancel returns to mon selection screen
- Trade/cancel dialog box
- Cancel returns to mon selection screen
- Trade relaunches code screen, code represents the selected mon combo (max 36 codes/player)
- Codes for partner:
- Code 1: ####
- Code 2: ####
- Enter code 2 from
- partner:
- _______
- |_______|
- 7 8 9
- 4 5 6
- 1 2 3
- <- 0 ED
- CANCEL
- B button deletes characters only
- Start button or ED submit the code string
- Cancel returns to mon selection screen
- If invalid code:
- Invalid code,
- please try again.
- Returns to code input screen
- If valid code:
- Trade confirmed!
- Codes for partner
- Code 1: ####
- Code 2: ####
- Once both players
- see this screen,
- press A.
- -----------------------------------------
- Could still have a case where one player completes the trade with Code 2 and presses A before giving the second player their code 2, causing one trade to succeed while the other fails.
- A more secure confirmation method would have each player select trade, generate a new structure block, have players exchange files again, relog, and verify that both structure blocks have trade selected. But requiring 2 relogs is painful, especially given loading times on the world.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement