// ADDRESS
<!-- Use to format an address. -->
<<widget "add">>
<p class="address">
<<for _i, _name range _args>>
_args[_i]<br>
<</for>>
</p>
<</widget>>
// DATE
<!-- This is a wrapper widget for writing dates (ex. for letters, journal entries, etc.). It requires opening and closing tags. -->
<<widget "date" container>>
<p class="date">
_contents
</p>
<</widget>>
// SIGNATURE
<!-- This widget styles signoffs/signatures.-->
<<widget "sig">>
<p class="sig">
<<if _args.length gt 1>>
_args[0]<br>
<span>_args[1]</span>
<<elseif _args.length is 1>>
<span>_args[0]</span>
<</if>>
</p>
<</widget>><div id="interface">
<div id="header" data-passage="Header"></div>
<div id="left" data-passage="Left"></div>
<div id="passages"></div>
<div id="right"></div>
<div id="footer" data-passage="Footer">footer</div>
</div> $header<!--Set default value of text in [[Header]]-->
<<set $header to "요리기사 정미선">>
<!--Set default save file name-->
<<set $take to "세이브 파일">>
<<set $class1 to "...">>
<<set $class2 to "...">>
<<set $class3 to "...">>
<<set $memory to "...">>
<<set $disc to 0>>
<<set $cook to 0>>
<<set $sweet = 0>>
<<set $salty = 0>>
<<set $spicy = 0>>
<<set $sour = 0>>
<<set $bitter = 0>>
<<set $hp =40>>
<<set $attack = 5>>
<<set $defense = 5>>
<!-- Do not remove the tags on this passage -->
<div class="centered-div">
<img src="https://internetpotatoe.neocities.org/cooknight/image/title2.png">
</div>
<div class="centered-div">
''<<include "Title">>''
</div>
<div class="centered-div">
<p>By <<include "Author">></p>
</div>
<div id="splashLinks">
<<link "처음부터" "캐릭터 생성">><</link>> <span>🍴</span>
<<if (Save.autosave.ok() and Save.autosave.has()) or (Save.slots.count() gte 1)>>
<<link "불러오기">><<script>>UI.saves()<</script>><</link>> <span>🍴</span> <</if>>
<<link "설정">><<run UI.settings()>><</link>> <span>🍴</span>
<<link "크레딧">>
<<run Dialog.setup("Credits");Dialog.wiki(Story.get("Credits").processText());Dialog.open();>> <</link>>
</div>이계의 용사여, 하몽톤햄 섬을 구해주세요!<h1>👩🍳요리기사 정미선</h1>이뿡식<a href='https://twitter.com/coolpotatobbung' target='_blank'>(@coolpotatobbung) </a><div id="splashLinks">
<<link '<i class="fa-solid fa-backward" title="Back"></i>'>>
<<run Engine.backward()>>
<</link>>
<span>🍴</span>
<<link "저장/불러오기">><<script>>UI.saves()<</script>><</link>>
<span>🍴</span>
<<link "설정">><<run UI.settings()>><</link>>
<span>🍴</span>
<<link '<i class="fa-solid fa-forward" title="Forward"></i>'>>
<<run Engine.forward()>>
<</link>>
</div><p><h1>끝의 시작</h1></p>
<p>미선 씨, 정신이 드나요?</p>
<p>참 성실하게 살았어요. 그렇죠? 하지만 삶은 퀘스트를 끝내면 보상을 주는 그런 종류의 일이 아니예요. 당신은 교통사고를 당해 사경을 헤매고 있어요. 지난 인생이 빠르게 스쳐지나가네요...</p>
<p><h3>당신의 직업은... <<live $class1>></h3></p>
<div class='choice choicebtn'>
<<button "전업주부">>
<<set $class1 to "전업주부">>
<<update>>
<<set $title1 to "🥕케라의 총애를 받는">>
<<set $int_disc to 2>>
<<set $int_cook to 0>>
<<set $int_hp to 0>>
<<set $int_attack to 0>>
<<set $int_defense to 0>>
<</button>>
<<button "주방보조">>
<<set $class1 to "주방보조">>
<<update>>
<<set $title1 to "🍒베리토스의 수호를 받는">>
<<set $int_disc to 0>>
<<set $int_cook to 0>>
<<set $int_hp to 5>>
<<set $int_attack to 2>>
<<set $int_defense to 2>>
<</button>>
<<button "노점상인">>
<<set $class1 to "노점상인">>
<<update>>
<<set $title1 to "🍅토메스와 절친한">>
<<set $int_disc to 0>>
<<set $int_cook to 2>>
<<set $int_hp to 0>>
<<set $int_attack to 0>>
<<set $int_defense to 0>>
<</button>>
</div>
<p><h3>당신이 좋아하는 맛은... <<live $class2>></h3></p>
<div class='choice choicebtn'>
<<button "달콤함">>
<<set $class2 to "달콤함">>
<<update>>
<<set $title2 to "사랑과">>
<<set $sweet to 5>>
<<set $salty to 0>>
<<set $spicy to 0>>
<<set $sour to 0>>
<<set $bitter to 0>>
<</button>>
<<button "짭짤함">>
<<set $class2 to "짭짤함">>
<<update>>
<<set $title2 to "인내와">>
<<set $sweet to 0>>
<<set $salty to 5>>
<<set $spicy to 0>>
<<set $sour to 0>>
<<set $bitter to 0>>
<</button>>
<<button "매콤함">>
<<set $class2 to "매콤함">>
<<update>>
<<set $title2 to "용기와">>
<<set $sweet to 0>>
<<set $salty to 0>>
<<set $spicy to 5>>
<<set $sour to 0>>
<<set $bitter to 0>>
<</button>>
<<button "새콤함">>
<<set $class2 to "새콤함">>
<<update>>
<<set $title2 to "재치와">>
<<set $sweet to 0>>
<<set $salty to 0>>
<<set $spicy to 0>>
<<set $sour to 5>>
<<set $bitter to 0>>
<</button>>
<<button "씁쓸함">>
<<set $class2 to "씁쓸함">>
<<update>>
<<set $title2 to "지혜와">>
<<set $sweet to 0>>
<<set $salty to 0>>
<<set $spicy to 0>>
<<set $sour to 0>>
<<set $bitter to 5>>
<</button>>
</div>
<p><h3>당신이 선호하는 조리 방법은... <<live $class3>></h3></p>
<div class='choice choicebtn'>
<<button "섞기">>
<<set $class3 to "섞기">>
<<update>>
<<set $title3 to "바람의">>
<<set $int_disc2 to 1>>
<<set $int_cook2 to 1>>
<</button>>
<<button "굽기">>
<<set $class3 to "굽기">>
<<update>>
<<set $title3 to "불의">>
<<set $int_disc2 to 0>>
<<set $int_cook2 to 2>>
<</button>>
<<button "끓이기">>
<<set $class3 to "끓이기">>
<<update>>
<<set $title3 to "물의">>
<<set $int_disc2 to 2>>
<<set $int_cook2 to 0>>
<</button>>
</div>
<p><h3>마지막으로 떠올린 사람은... <<live $memory>></h3></p>
<div class='choice choicebtn'>
<<button "가족">>
<<set $memory to "가족">>
<<update>>
<</button>>
<<button "친구">>
<<set $memory to "친구">>
<<update>>
<</button>>
<<button "반려동물">>
<<set $memory to "반려동물">>
<<update>>
<</button>>
</div>
<br>
<hr>
<br>
<<liveblock>>
<div class='choice choicebtn'>
<<button "다음">>
<<if $class1 !== "..." && $class2 !== "..." && $class3 !== "..." && $memory !== "...">>
<<goto [[캐릭터 생성2]]>>
<</if>>
<</button>>
</div>
<</liveblock>>
<<set $disc = $int_disc+$int_disc2>>
<<set $cook = $int_cook+$int_cook2>>
<<set $hp = $int_hp+$hp>>
<<set $attack = $int_attack+$attack>>
<<set $defense = $int_defense+$defense>>
<div class='choice choicebtn'>
<h1><<$title1 $title2 $title3 기사, 정미선>></h1>
감별 : $disc
조리 : $cook
<br>
달콤함 : $sweet
짭짤함 : $salty
매콤함 : $spicy
새콤함 : $sour
씁쓸함 : $bitter
<br>
체력 : $hp
공격력 : $attack
방어력 : $defense
</div>
<hr>
<p>$title1 $title2 $title3 기사, 정미선! 이게 하몽톤햄 섬에서의 당신의 이름이 되겠네요. 어때요, 멋있죠? 아... 제가 설명을 안 했던가요? 당신은 지금 하몽톤햄 섬의 마법사들에 의해 소환되는 중이에요. 마침 교통사고를 당해서 이세계 트립 조건을 만족한 사람들 중에서 제일 요리를 잘 하는 사람이 당신이었거든요.</p>
<p>자세한 건 섬의 사람들이 설명해줄 거예요. 이제 갈 시간인데, 떠나기 전에 당신의 칭호를 수정할래요? 뒤로 돌아가서 다시 회상할 수 있어요. </p>
<br>
<hr>
<br>
<div class='choice choicebtn'>
<<button "다시 회상하기">><<run Engine.backward()>><</button>>
<<button "다음">><<goto [[인트로]]>><</button>>
</div>