-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scratch-Off Lotto Tickets #31992
Scratch-Off Lotto Tickets #31992
Conversation
this will make slot machines obsolete |
Not quite, the odds for the massive prizes are way smaller than the slot machines'. You have better odds to win jackpot in the slots than any decently large prize in the lotto. |
I have looked at these numbers and they seem well thought out. I will want to see the list for Supermatter of course. I'm also not sure how you could get it into the supply console to redeem it based on how it works. |
It's a guaranteed 100,000 credit win but it can't be cashed ever since you can't pickup a Supermatter Splinter. It's a prank item, really. If someone finds an exploit and figures out a way to pick it up, then 100,000 credits in a random round isn't going to break the game. Unrelated, but any idea why the linters check is failing? Having trouble making sense of that error. |
Yes, because on Line 16 of Lotto.dm you accidentally put in You can click on the "Details" to the right of the failed test to see the compile failure report. |
The more I think about it, the more I question whether the supermatter joke item is a good idea. I feel like this is a bit of a newbie trap. Not just for the first person who buys it, but all the random new players wandering the halls who see a ticket laying on the ground and lose a hand instantly. Supermatter shards are not easily accessible, and they're both named and described in ways that make their danger apparent. This is intentionally named and described to encourage random players to pick it up and lose a hand. If someone told you to bite a supermatter shard, that would immediately sound like a bad idea to anyone. If someone told you "hey, try scratching this off by biting it" someone might actually do that and end up round removed. How about this?
Just an alternate, slightly health-dangerous lotto. |
The supermatter ticket should interact with SASS and FRASS spheres as well. |
Sounds like a good idea, I can work on that.
It already does; I shamelessly copy-pasted the supermatter splinter code for it. |
Great next we're gonna have smoke shops and liquor stores on every corner you are singlehandedly driving property values down |
It's all coming together |
Can you avoid the supermatter surprise eye damage with flash-resistant glasses or mesons? If not, make it avoidable with mesons since you avoid the SME hallucinations with mesons. |
Did you delete the full map somehow? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You deleted all fire alarms and newscasters off Boxstation. While this is based, it is unatomic.
Whoops, haven't quite learned how to map properly yet. I'll just save mapping these in for a later PR. |
It doesn't cause eye damage. It's the same effect as a blinder flash but with a much smaller radius. The lines mentioning eye damage just give a unique wording to people who already have some eye damage. |
Hearing silence on better sprites, this is good to go now. If better sprites are provided, I can add them down the line as part of the PR which will map these into the bars. |
It's just a normal vending machine. |
Have it announce the winner using the old money_lotto.dm code |
The man is right |
…large sums directly into your account.
holy shit im being BTFO'd by git rn |
Co-authored-by: DamianX <DamianX@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's intended that you can attack the supermatter ticket with any other item to trigger it. Did you mean to make it flash only when it's scratched with a sharp object or coin?
fixed in latest commit |
|
||
|
||
/obj/item/toy/lotto_ticket/attackby(obj/item/weapon/S, mob/user) | ||
if(!revealed) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel as if an early return would be good here, so go straight to the
to_chat(user, "The film covering the prizes has already been scratched off.")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? If !revealed is false (meaning it was already scratched off) then the associated else produces
to_chat(user, "The film covering the prizes has already been scratched off.")
Adds 4 tiers of lotto tickets for purchase at table-mounted vendors. Scratch the tickets off using something sharp or a coin then examine them to see if you've won anything. Tickets can be cashed in by inserting the ticket into the vendor you purchased them at. Prices and max prizes are as followings:
Tier 1 (Gold Rush): 5 credits to buy, 100,000 credit max prize.
Tier 2 (Diamond Hands): 20 credits to buy, 400,000 credit max prize.
Tier 3 (Phazon Fortune): 50 credits to buy, 1,000,000 credit max prize.
Tier 4 (Supermatter Surprise) (Contraband): 100 credits to buy, 100,000 credit max prize. Prize guaranteed, but the ink used on this one is not compliant to Space-OSHA regulations.
Credit to @kane-f for the vending machine sprite and animation and @IThe-TI for the lotto ticket sprites.
Odds:
![image](https://user-images.githubusercontent.com/66280799/152586941-cbcd7571-dbff-4676-a984-46a1a659ff52.png)
Vendors will be mapped in as a separate PR.
-->
🆑