#Quack of Duckness
*A (link-rerun:"parody game")[(open-url:"http://www.firthworks.com/roger/cloak/")].*
You are the most important duck in all of the realm of Duckness: Quack the First! You must explore your domain to uncover the Secret Beneath the Surface, a curiousity you can't resist investigating!
=><=
(button:)[[Begin game->3]]
(button:)[[Create custom duck->2]] ^^(Warning! Advanced players only!)^^
<==
*Educational feature: For the rest of the story, each passage's Harlowe source code is displayed below this line. This was accomplished using a "footer" tagged passage. To see how it was coded, [[click here->7]].*
---
(font:"monospace")[(v6m-print:(passage:)'s source)]\
(append:?sidebar)[(icon-fullscreen:)(icon-restart:)]\
(enchant:?link,(t8n-depart:"dissolve")+(t8n-time:0.4s))Very well! To **create your duck**, you must assign Skill Points to each of your various Personal Attributes! Simply click `[+1]` to assign a point to that skill.
\(set:
_SP to 21, _DX to 25, _CN to 19, _FL to 20, _PC to 18, _UF to 20,
_points to 15, _rerun to (rerun:?skillBoard))\
|skillBoard>[
\(set:_plusLink to (cond:_points > 0, (link:"`[+1]`"),(hidden:)), _minusLink to (link:"`[-1]`"))\
|=
Swiftness:
Ducksterity:
Constitution:
Flight:
Perceptiveness:
Unflappability:
=|
_SP _plusLink[(set:_SP to it + 1, _points to it - 1)_rerun] (if:_SP > 0)[_minusLink[(set:_SP to it - 1, _points to it + 1)_rerun]]
_DX _plusLink[(set:_DX to it + 1, _points to it - 1)_rerun] (if:_DX > 0)[_minusLink[(set:_DX to it - 1, _points to it + 1)_rerun]]
_CN _plusLink[(set:_CN to it + 1, _points to it - 1)_rerun] (if:_CN > 0)[_minusLink[(set:_CN to it - 1, _points to it + 1)_rerun]]
_FL _plusLink[(set: _FL to it + 1, _points to it - 1)_rerun] (if:_FL > 0)[_minusLink[(set:_FL to it - 1, _points to it + 1)_rerun]]
_PC _plusLink[(set: _PC to it + 1, _points to it - 1)_rerun] (if:_PC > 0)[_minusLink[(set:_PC to it - 1, _points to it + 1)_rerun]]
_UF _plusLink[(set: _UF to it + 1, _points to it - 1)_rerun] (if:_UF > 0)[_minusLink[(set:_UF to it - 1, _points to it + 1)_rerun]]
|==|
Available points: (t8n:'pulse')+(t8n-time:0.4s)+(text-colour:(cond:_points > 3, white, _points > 0, yellow,red))[''_points'']]
* (link-rerun:"I want more points")[{
(t8n:"zoom")+(t8n-time:0.4s)(dialog:"You want more points? Sure! Have a bunch more. Attributes don't do anything in this game, so who cares?","Thanks")
(set:_points to it + (random:4,12))
_rerun
}]
* [[I'm ready to go!->3]]####Shore
(set:$moulted to false)\
Hurrying through the grass as the beautiful summer rain comes to a stop, you waddle to the edge of the [[4<-pond]]. It's surprising there aren't more ducks around, but then, that's all the more room for a duck of your greatness to explore unheeded.####Pond
(if:visits is 1)[Pausing only to shake the raindrops from your |A>[coat], you leap off a rock onto the surface vigorously.
]
You glide regally around a spacious pond, the heart of Duckness, the ripples of your wake glittering behind you like a peacock's tail. The [[6<-depths of the pond]] are but a simple dive away, ready to be explored. The [[5<-shallows]] lie to the west.
\(click-append:?A)+(t8n:'dissolve')[ //(a handsome black coating of plumage that has sustained you through winter and spring, that seems almost to suck the sun's heat and light out of the air)//]####Shallows
$moulted
[This corner of the pond is littered with three of your gorgeous feathers, lightening the weight and heat of your coat, and beautifying the surroundings.
]\
(else:)
[The water is so low in this corner of the pond that your paddling feet can reach the soft bed, letting you stand comfortably.
* (link-reveal:"''Moult''",(t8n:"dissolve"))[
"Moult"? You can't just will your feathers off your body! How do you suppose you'll do that? Shaking them off your hindquarters? Flapping wildly and making a mess of yourself? Really now, a duck of your standing has better–
Oh. Three of your feathers just fell out by themselves. Well, that's good enough. (set:$moulted to true)
]]\
* [[Return to the pond->4]]
####Depths
You deftly raise your tail, and plunge your head into the realm below.
Hark! What is that before your eyes!? There, poking from the silt! It can only be *the Secret Beneath the Surface*! Its true identity is finally revealed...
**A clump of waterweed!**
You eat heartily of it, as only you deserve.
$moulted[
##GOOD ENDING
Written by Leon Arnott (2020-08-22).
A parody of "Cloak of Darkness" by Roger Firth.
](else:)[
##BAD ENDING
What? //Bad?// Yes, for you see, nothing bad can truly happen to the great Quack of Duckness! Thus, to such a blessed bird, Bad Endings and Good Endings are the same!]This footer performs three tasks, in order:
1. Display the source code of each passage beneath it, verbatim.
2. Add the "fullscreen" and "restart" icons to the sidebar.
3. Change the departing transition of passage links to "dissolve" with a time of 0.4s.
(font:"monospace")[(v6m-print:(passage:"Footer")'s source))]
* (link-undo:"Go back")