yogstation13 / Yogstation

Discord: https://discord.gg/yogs13 Forums: https://forums.yogstation.net
GNU Affero General Public License v3.0
134 stars 454 forks source link

Ice Cream Rework Part 3: Scoopageddon #22611

Open Scrambledeggs00 opened 1 week ago

Scrambledeggs00 commented 1 week ago

Document the changes in your pull request

Things that this PR does:

Changes the storage capacity: The vat now starts with a storage capacity of 80. This can be increased by giving it a better matter bin as you would with other machines. Capacity increases by 25 for every tier higher than 1. The vat's current storage amount and capacity are also now shown in the UI.

Craftable Vat: In order to make it upgradable, I also made it craftable. This is done like any other machine, though the machine frame does not need to be bolted. However, the circuit cannot be made, it is only obtained from deconstructing a vat.

Hand scooping: You no longer need the vat to scoop cones. Simply use a scoop on a cone to add it. You cannot multiscoop this way.

Ice cream cone box: Ice cream cone boxes now exist. They can be made with cardboard and changed to a different flavor with a pen. Similar to the cartons, they can be used to dump stuff into the vat.

More cargo crates: The original ice cream crate has been divided up into multiple crates. Each new crate costs $600 and has three cartons of different flavors. These flavors are listed in the crate's descriptions.

Scoops' foodtypes changed: In order to allow all species to enjoy atleast one flavor of ice cream, I have changed their foodtypes. A cone's foodtype is also determined by its last scoop. Not sure how to have it take all scoops into account, so if you know please tell me :]

Info tab: The info tab has been changed to reflect changes made by this PR

And finally, the centerpiece, la creme de la creme...

MULTISCOOPING!!!!! Multiscooping is done with the vat. The name and description changes with how many scoops it has, with the description saying what specific scoops the cone has. Beware that past four scoops, there is a chance to fail and destroy the cone. It starts at a 20% chance of failure and increases by 5% up until 21, which is a 100% chance of failure. The more scoops, the more dangerous the failure. Past 9 scoops, you will take damage and be cooled based on the amount of scoops. Past 20, something special happens :]

P.S. Scooping failure is tied to the vat through the Boolean variable scoop_fail. Because of this, if an admin wants to, they can disable scooping failure for specific vats by changing this value to false.

Why is this good for the game?

Adds something cool and rad. Also makes it cheaper to purchase specific ice cream flavors from cargo.

Testing

New crates in cargo: image

Dynamic name and description: image

Cone box in cardboard crafting: image

Video: https://www.youtube.com/watch?v=qG22g6UhPq0

Spriting

Cone box sprites: Icecreamboxes

Wiki Documentation

The new cargo crates are in the food tab and cost $600 each. Classics has vanilla, chocolate, and strawberry Fruity has banana, peach, and cherry chocolate Sweets has caramel, orange creamsickle, and plain Special has blue, lemon, and meat lovers The cone crate has 2 boxes of cake and chocolate cones each

Changelog

:cl: rscadd: Added hand scooping, multiscooping, and scooping failure
tweak: Tweaked info_tab, scoop flavortypes, and made vat upgradable imageadd: Added sprites for cone box and service hatch for vat /:cl:

Scrambledeggs00 commented 1 week ago

Please don't merge this right now. Just realized a problem with how reagents are handled.

Scrambledeggs00 commented 1 week ago

Ok it should be good to potentially merge again. Fixed it faster than I thought thanks to Cowbot93.

Firewolf34 commented 6 hours ago

meat lover's ice cream scoop 😁😁 that's gold

Great PR! Lots of detail and I like the multiscooping mechanic