summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-08-15 10:51:44 -0300
committerJesusaves <cpntb1@ymail.com>2024-08-15 10:51:44 -0300
commitc54f999116422ed42f1d963847fe272b57787435 (patch)
tree4118af31fd813ce68f081ca6dc6fa41197361fcc
parent1f59afc6943df841b7ba0caba221cf6e5de41ef8 (diff)
downloadserverdata-c54f999116422ed42f1d963847fe272b57787435.tar.gz
serverdata-c54f999116422ed42f1d963847fe272b57787435.tar.bz2
serverdata-c54f999116422ed42f1d963847fe272b57787435.tar.xz
serverdata-c54f999116422ed42f1d963847fe272b57787435.zip
High risk high return roulette gambling (up to 17,500 coins payout)
-rw-r--r--npc/003-9/gambler.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/npc/003-9/gambler.txt b/npc/003-9/gambler.txt
index 315117660..585e6e4e8 100644
--- a/npc/003-9/gambler.txt
+++ b/npc/003-9/gambler.txt
@@ -204,7 +204,7 @@ L_Select:
mesc l("What do you want to bet on? Payout is noted, 1:1 will also give you %d gold per coin on bet.", 10);
select
- rif(is_staff() && .@bet <= 500, "Number (1->35)"),
+ rif(.@bet <= 500, "Number (1->35)"),
rif(is_staff(), "Tuple (1->17)"),
rif(is_staff(), "Row (1->11)"),
"Corner (1->8)",
@@ -212,7 +212,10 @@ L_Select:
"Column (1->2)",
"Odd/Even, Red/Black, Group of 18 (1->1)";
- if (@menu >= 5) {
+ if (@menu == 1) {
+ .@wat=input("Which number do you believe that will be choosen? (0-36)", 0, 36);
+ .@wat += 1; // Validation token
+ } else if (@menu >= 5) {
setskin "roulette_special";
select
"first 12",
@@ -267,6 +270,11 @@ L_Spin:
.@no = .roulette[.@val]; // The number rolled
+ // Simple number guessing
+ if (.@wat <= 37)
+ .@pay += (.@no == (.@wat - 1) ? .@bet * 35 : 0);
+
+ // Groups of numbers guessing
switch (.@wat) {
// ..............
// .:: Special ::.