(set: $greed to 0) (set: $visit to 1) Your mother hasn’t been able to work. The cupboards are nearly empty. “There’s only one thing left,” she says. “The cow.” You take the rope in your hand. [[Go to the market->Market]] <button onclick="setupBGM(); document.getElementById('bgm').play();"> Start with Sound </button> <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>On the road, a man stops you. He looks at the cow. “I can give you something else,” he says. He opens his hand. A few small (text-colour:(hsl:90,0.8039,0.5,0.7))[beans]. “They might help,” “Or they might not.” He shrugs. “Depends on what you do with them.” [[Trade the cow for beans->Trade]] [[Ignore him and sell the cow->Sell]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $beanChoice to "trade") You hand over the cow. When you return home, your mother stares at them. “Is this a joke?” She throws them out the window. [[Go to sleep->Morning]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $beanChoice to "sell") You sell the cow for a small amount of money. It’s not enough. [[End]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>When you wake up, something blocks the window. A massive beanstalk twists into the sky. [[Climb the beanstalk->Climb]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>You climb. Higher than you’ve ever been. The ground disappears. The air gets thinner. At the top—A large castle. [[Enter the castle->Entrance]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>You see three directions: A warm glow — the kitchen. A dark hallway — the treasury. [[Go to the kitchen->Kitchen]] [[Go to the treasury->Treasury]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/castle.jpg"); } </style><div class="status-box">Greed: $greed</div> The kitchen is warm. The variety of food here is beyond your imagination. [[Take just enough]] [[Take as much as you can]] [[Take nothing->AfterKitchen]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/food.jpg"); } </style>It’s darker here. Gold catches the light. You hear something far away. Heavy and Slow. [[Take a few coins->CoinsFew]] [[Take a bag->CoinsBag]] [[Leave->AfterTreasury]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/coin.jpg"); } </style>You leave the kitchen. The castle is still quiet. [[Go to the treasury->Treasury]] [[Leave the castle->Escape]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $greed to $greed + 1) <div class="status-box">Greed: $greed</div> You take only what you need. It feels right. [[Move on->AfterKitchen]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $greed to $greed + 2) <div class="status-box">Greed: $greed</div> Then a little more. You don’t stop yourself. [[Move on->AfterKitchen]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>You run. Down the beanstalk—Faster than before. [[Return home->Home]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $greed to $greed + 1) <div class="status-box">Greed: $greed</div> You take a few coins. [[Continue->AfterTreasury]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $greed to $greed + 2) <div class="status-box">Greed: $greed</div> You take a few coins. [[Continue->AfterTreasury]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>You feel like something has noticed you. The air feels heavier. [[Leave the castle->Escape]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>Your mother looks at what you brought. She says nothing. It helps you a lot. But it’s not enough. You can’t stop thinking about the castle. [[Go back->SecondVisit]] [[Stay->Ending2]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $greed to $greed + 5) <div class="status-box">Greed: $greed</div> You climb again. It feels colder this time. The castle is still there. But something has changed. [[Enter the castle again->Entrance2]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>A shadow moves. Then a voice. “These are not yours.” The giant is already here. [[Run->Ending2]] [[Take more->You want to take more]] <audio autoplay> <source src="audio/footsteps.mp3" type="audio/mpeg"> </audio> <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>You stay away from the castle. The food and coins you brought helps. You never went back to that castle again, but you kept the beanstalk. It seemed that your life with your mother was gradually getting better. [[...]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/heart.jpg"); } </style>(set: $greed to $greed + 2) <div class="status-box">Greed: $greed</div> You reach for more. (text-colour:red)[But you went too far.] The giant doesn’t let you leave again. [[...]] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/eye.jpg"); } </style> (text-colour:(hsl:0,0.8039,0.5,0.6))[So...do you think those beans were helpful to you?] <style> tw-story { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/sword.jpg"); } </style>You haven't tried anything new. Your life is just the same as before.