Repository navigation
feat: pop corn into popcorn with toppings in a popcorn machine - #113
Merged
Merged
Conversation
A popcorn machine (popcorn-machines.yml; an InteractibleFurniture type) takes one corn per right-click, up to 16, and up to two toppings: caramel, sugar, butter or salt, each kind once. An empty hand starts it: the kettle rattles, kernels pop out as short-lived displays that arc, bounce off the glass and land on a heap that rises a level at a time, then the kettle tips out and a bell rings. Once it stops, a right-click gives 4 popcorn per corn, each with its corn's stars and lineage and every topping's track; what doesn't fit drops at the player's feet. Breaking it gives back the corn and toppings, or the popcorn once popped; a restart mid-show leaves it done. Toppings name the popcorn (Buttered Salted Caramel Popcorn, naming.yml prefix-tracks) and change its food and nutrition (tags.yml topping_*). Its look comes from a hidden popcorn_look track set by the first topping put in that has one, so butter then caramel looks buttered: new buttered popcorn icon and heaps; caramel popcorn uses tfmc_pack's existing caramelcorn texture. Popcorn items move from PAPER to APPLE so they can be eaten. Caramel is new: sugar and butter boiled in a cup of water in the saucepan and bottled (condiments.yml), shown as the pack's existing caramel item. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A popcorn machine pops corn into popcorn, with toppings.
max-input). Right-click it with caramel, sugar, butter or salt to add a topping: up to 2, each kind once. Only refusals are told (full, rotten corn, wrong item, topping already in).PopcornAnimation, about 8 s).yield), each with its corn's stars and lineage and every topping. What doesn't fit drops at the player's feet.tags.ymltrack (topping_caramel,topping_sugar,topping_butter,topping_salt) on every piece. It names the popcorn (naming.ymlprefix-tracks: Buttered Salted Caramel Popcorn) and changes its food and nutrition.popcorn_looktrack is set by the first topping put in that has a look. So butter then caramel looks buttered, and caramel then butter looks caramel. It shows nowhere in the lore.models.ymlpopcorn gains caramel and buttered looks, and the machine's heap has plain, caramel and buttered versions at four heights. Caramel popcorn uses tfmc_pack's existingfood/caramelcorntexture; buttered popcorn is new.condiments.yml; a line for churned butter, which is dairy, and one for picked-up butter, an ingredient). It shows as the pack's existingtfmc_cooking:caramelitem.popcorn,_burnt,_rotten,_caramel,_buttered) move from PAPER to APPLE so they can be eaten.Everything is configurable in
popcorn-machines.yml: the input, the yield, the toppings and their looks, the models, the slots and the animation's timing and room. Thepopcorn_machinefurniture (InteractibleFurniture) is server config (Dev only so far). Tested on Dev;mvn -B clean verifypasses with 100% line coverage.Documentation impact
popcorn-machines.ymlandtags.ymldocument the new keys in their comments.🤖 Generated with Claude Code