Advertisement
Slowhand-VI

TUT: blackjack_dealer.fodlg

Jan 19th, 2016
212
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [comment]
  2.  
  3.  
  4. [data]
  5. lang=engl
  6.  
  7. [dialog]
  8. &
  9. 1 1000 None 1 #
  10. 2 1010 @
  11. 2 2000 None 0 #
  12. 3 2010 R _script blackjack_dialogues@r_Init 0  #
  13. 0 2020 @
  14. 3 3000 blackjack_dialogues@dlg_ShowInfo 0 #
  15. 4 3010 D _item p PID_BOTTLE_CAPS } 20 D _script blackjack_dialogues@d_IsSidebetAvailable 0  #
  16. 6 3020 D _item p PID_BOTTLE_CAPS } 10 R _item p PID_BOTTLE_CAPS - 10 R _script blackjack_dialogues@r_SetBetValue 1 10 #
  17. 6 3030 D _item p PID_BOTTLE_CAPS } 50 R _item p PID_BOTTLE_CAPS - 50 R _script blackjack_dialogues@r_SetBetValue 1 50 #
  18. 6 3040 D _item p PID_BOTTLE_CAPS } 100 R _item p PID_BOTTLE_CAPS - 100 R _script blackjack_dialogues@r_SetBetValue 1 100 #
  19. 6 3050 D _item p PID_BOTTLE_CAPS } 500 R _item p PID_BOTTLE_CAPS - 500 R _script blackjack_dialogues@r_SetBetValue 1 500 #
  20. 6 3060 D _item p PID_BOTTLE_CAPS } 1000 R _item p PID_BOTTLE_CAPS - 1000 R _script blackjack_dialogues@r_SetBetValue 1 1000 #
  21. 6 3070 D _item p PID_BOTTLE_CAPS } 5000 R _item p PID_BOTTLE_CAPS - 5000 R _script blackjack_dialogues@r_SetBetValue 1 5000 #
  22. 6 3080 D _item p PID_BOTTLE_CAPS } 10000 R _item p PID_BOTTLE_CAPS - 10000 R _script blackjack_dialogues@r_SetBetValue 1 10000 #
  23. 0 3090 D _item p PID_BOTTLE_CAPS < 10 R _script blackjack_dialogues@r_LeaveBlackjackTable 0  #
  24. 0 3100 R _script blackjack_dialogues@r_LeaveBlackjackTable 0  @
  25. 4 4000 None 0 #
  26. 5 4010 R _script blackjack_dialogues@r_SetSidebetType 1 1 #
  27. 5 4020 R _script blackjack_dialogues@r_SetSidebetType 1 2 #
  28. 5 4030 R _script blackjack_dialogues@r_SetSidebetType 1 3 #
  29. 3 4040 R _script blackjack_dialogues@r_SetSidebetType 1 0 @
  30. 5 5000 blackjack_dialogues@dlg_ShowInfo 0 #
  31. 3 5010 D _item p PID_BOTTLE_CAPS } 20 R _item p PID_BOTTLE_CAPS - 10 R _script blackjack_dialogues@r_SetSidebetValue 1 10 #
  32. 3 5020 D _item p PID_BOTTLE_CAPS } 60 R _item p PID_BOTTLE_CAPS - 50 R _script blackjack_dialogues@r_SetSidebetValue 1 50 #
  33. 3 5030 D _item p PID_BOTTLE_CAPS } 110 R _item p PID_BOTTLE_CAPS - 100 R _script blackjack_dialogues@r_SetSidebetValue 1 100 #
  34. 3 5040 D _item p PID_BOTTLE_CAPS } 510 R _item p PID_BOTTLE_CAPS - 500 R _script blackjack_dialogues@r_SetSidebetValue 1 500 #
  35. 3 5050 D _item p PID_BOTTLE_CAPS } 1010 R _item p PID_BOTTLE_CAPS - 1000 R _script blackjack_dialogues@r_SetSidebetValue 1 1000 #
  36. 3 5060 D _item p PID_BOTTLE_CAPS } 5010 R _item p PID_BOTTLE_CAPS - 5000 R _script blackjack_dialogues@r_SetSidebetValue 1 5000 #
  37. 3 5070 D _item p PID_BOTTLE_CAPS } 10010 R _item p PID_BOTTLE_CAPS - 10000 R _script blackjack_dialogues@r_SetSidebetValue 1 10000 #
  38. 3 5080 #
  39. 4 5090 @
  40. 6 6000 blackjack_dialogues@dlg_ShowInfo 0 #
  41. 6 6010 D _script blackjack_dialogues@d_IsHitAvailable 0  R _script blackjack_dialogues@r_Hit 0  #
  42. 7 6020 D _script blackjack_dialogues@d_IsStandAvailable 0  R _script blackjack_dialogues@r_Stand 0  #
  43. 9 6030 D _script blackjack_dialogues@d_IsDoubleDownAvailable 0  R _script blackjack_dialogues@r_DoubleDown 0  #
  44. 6 6040 D _script blackjack_dialogues@d_IsSplitPairsAvailable 0  #
  45. 6 6050 D _script blackjack_dialogues@d_IsInsuranceAvailable 0  R _script blackjack_dialogues@r_Insurance 0  #
  46. 8 6060 D _script blackjack_dialogues@d_IsEvenMoneyAvailable 0  R _script blackjack_dialogues@r_EvenMoney 0  #
  47. 8 6070 D _script blackjack_dialogues@d_IsSurrenderAvailable 0  R _script blackjack_dialogues@r_Surrender 0  #
  48. 3 6080 D _script blackjack_dialogues@d_IsPlayerBusted 0  R _script blackjack_dialogues@r_NewRound 0  #
  49. 0 6090 D _script blackjack_dialogues@d_IsPlayerBusted 0  R _script blackjack_dialogues@r_LeaveBlackjackTable 0  @
  50. 7 7000 blackjack_dialogues@dlg_ShowInfo 0 #
  51. 7 7010 D _script blackjack_dialogues@d_IsDealerNotDone 0  R _script blackjack_dialogues@r_DealerTakesCard 0  #
  52. 8 7020 D _script blackjack_dialogues@d_IsDealerDone 0  R _script blackjack_dialogues@r_DealerFinishedTurn 0  @
  53. 8 8000 blackjack_dialogues@dlg_ShowInfo 0 #
  54. 3 8010 R _script blackjack_dialogues@r_NewRound 0  #
  55. 0 8020 R _script blackjack_dialogues@r_LeaveBlackjackTable 0  @
  56. 9 9000 blackjack_dialogues@dlg_ShowInfo 0 #
  57. 7 9010 D _script blackjack_dialogues@d_IsDoubleDownContinueAvailable 0  R _script blackjack_dialogues@r_Stand 0  #
  58. 3 9020 D _script blackjack_dialogues@d_IsPlayerBusted 0  R _script blackjack_dialogues@r_NewRound 0  #
  59. 0 9030 D _script blackjack_dialogues@d_IsPlayerBusted 0  R _script blackjack_dialogues@r_LeaveBlackjackTable 0  &
  60.  
  61. [engl]
  62. {100}{}{none}
  63. {1000}{}{Predialogue installations}
  64. {1010}{}{Init.}
  65. {2000}{}{Hi. Welcome to the Blackjack Table. Would you like to play?}
  66. {2010}{}{Yes.}
  67. {2020}{}{No. Bye.}
  68. {3000}{}{@lex lastAction@. Place your bet.}
  69. {3010}{}{I want to place a side bet.}
  70. {3020}{}{10.}
  71. {3030}{}{50.}
  72. {3040}{}{100.}
  73. {3050}{}{500.}
  74. {3060}{}{1,000.}
  75. {3070}{}{5,000.}
  76. {3080}{}{10.000.}
  77. {3090}{}{I don't have enough money.. I come back later.}
  78. {3100}{}{Thank you I had enough. Bye.}
  79. {4000}{}{Which side bet would you like to place?}
  80. {4010}{}{Lucky Ladies.}
  81. {4020}{}{Perfect Pair.}
  82. {4030}{}{Royal Match.}
  83. {4040}{}{Hm, no side bet after all.}
  84. {5000}{}{Place bet for @lex sidebetType@.}
  85. {5010}{}{10.}
  86. {5020}{}{50.}
  87. {5030}{}{100.}
  88. {5040}{}{500.}
  89. {5050}{}{1,000.}
  90. {5060}{}{5,000.}
  91. {5070}{}{10,000.}
  92. {5080}{}{I don't have enough money for side bets..}
  93. {5090}{}{I want a different side bet.}
  94. {6000}{}{@lex lastAction@
  95. Your hand is: @lex playerHand@.
  96. Dealer's hand is: @lex dealerHand@.
  97. @lex sidebetResult@
  98. }
  99. {6010}{}{Hit.}
  100. {6020}{}{Stand.}
  101. {6030}{}{Double down.}
  102. {6040}{}{Split pairs.}
  103. {6050}{}{Insurance.}
  104. {6060}{}{Even money.}
  105. {6070}{}{Surrender.}
  106. {6080}{}{Another game.}
  107. {6090}{}{Bye.}
  108. {7000}{}{@lex lastAction@
  109. Your hand is: @lex playerHand@.
  110. Dealer's hand is: @lex dealerHand@.
  111. @lex sidebetResult@}
  112. {7010}{}{..continue..}
  113. {7020}{}{..continue..}
  114. {8000}{}{@lex result@
  115. Your hand was: @lex playerHand@.
  116. Dealer hand was: @lex dealerHand@.
  117. @lex sidebetResult@
  118. }
  119. {8010}{}{Another game.}
  120. {8020}{}{Bye.}
  121. {9000}{}{@lex lastAction@
  122. @lex sidebetResult@}
  123. {9010}{}{..continue..}
  124. {9020}{}{Another game.}
  125. {9030}{}{Exit.}
Advertisement
RAW Paste Data Copied
Advertisement