diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-31 18:31:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-31 18:31:52 -0300 |
commit | 726276fa805747e7a0ef73bef8a51c6fcf4426a5 (patch) | |
tree | 00ceadba874fed8dc763735e65bd3d82aa9cf61c | |
parent | 4eec51a98e957826846c8a504e934f27c6560ff5 (diff) | |
download | serverdata-726276fa805747e7a0ef73bef8a51c6fcf4426a5.tar.gz serverdata-726276fa805747e7a0ef73bef8a51c6fcf4426a5.tar.bz2 serverdata-726276fa805747e7a0ef73bef8a51c6fcf4426a5.tar.xz serverdata-726276fa805747e7a0ef73bef8a51c6fcf4426a5.zip |
This is not Python. Also, M+ is horrible in display images without clear command
But not my problem, Craps, err Creps mini-game is done.
-rw-r--r-- | npc/009-8/gambler.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/009-8/gambler.txt b/npc/009-8/gambler.txt index c3a55d7a4..77dc59167 100644 --- a/npc/009-8/gambler.txt +++ b/npc/009-8/gambler.txt @@ -56,13 +56,13 @@ L_Spin: do { mesc l("Roll the dices!"); - dnext; + next; .@c$ = any("", "red_"); .@d1 = rand2(1,6); .@d2 = rand2(1,6); .@sc = .@d1 + .@d2; - img("dice/%s%d" % (.@c$, .@d1)); - img("dice/%s%d" % (.@c$, .@d2)); + img(sprintf("dice/%s%d", .@c$, .@d1)); + img(sprintf("dice/%s%d", .@c$, .@d2)); mesc l("I rolled a %d!", .@sc); if (!.@point) { @@ -74,8 +74,8 @@ L_Spin: mesc l("Craps! I lose!"), 1; .@result = false; } else { - mesc l("My point is %d!"), 3; .@point = .@sc; + mesc l("My point is %d!", .@point), 3; } } else { // Point rules |