Skip to content

Commit

Permalink
적용 작업 진행
Browse files Browse the repository at this point in the history
- 03-Javascript 까지
  • Loading branch information
uotalkie committed Mar 28, 2024
1 parent 142ae63 commit d785d97
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 59 deletions.
22 changes: 11 additions & 11 deletions game/01-config/start.twee
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Degrees of Lewdity
<img class="resize" src="img/misc/banner.png">
<</if>>

This work of fiction contains content of a sexual nature and is inappropriate for minors. All characters <span class="camouflage text"><a onclick="V.debug = 1, V.options.debugdisable = 'f', V.options.maxSessionStates = 5, V.options.historyControls = true">de</a></span>picted are at least 18 years of age. Everything is consensual role play, and any animals are actually people in costumes.
본 작품에는 성적인 내용이 존재하며 미성년자에게는 부적절합니다. 작품에서 <span class="camouflage text"><a onclick="V.debug = 1, V.options.debugdisable = 'f', V.options.maxSessionStates = 5, V.options.historyControls = true"></a></span>사된 모든 등장인물은 만 18세 이상입니다. 모든 행위는 합의된 역극이고, 모든 짐승은 사실 코스튬을 차려입은 사람들입니다.
<br><br>

<div class="small-description">
Expand Down Expand Up @@ -79,23 +79,23 @@ Degrees of Lewdity의 첫 페이지에 오신 것을 환영합니다!
<br>
<<link [[실험실|Testing Room]]>><<cheatStart>><<upperstrip>><<lowerstrip>><<underlowerstrip>><</link>>
<br>
<<link [[Robin Low Trauma Low Love|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 0>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 2>><<trauma 60>><</link>>
<<link [[로빈 낮은 트라우마 낮은 사랑|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 0>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 2>><<trauma 60>><</link>>
<br>
<<link [[Robin Low Trauma Medium Love|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 50>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 2>><<trauma 60>><</link>>
<<link [[로빈 낮은 트라우마 중간 사랑|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 50>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 2>><<trauma 60>><</link>>
<br>
<<link [[Robin Low Trauma High Love|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 90>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 2>><<trauma 60>><</link>>
<<link [[로빈 낮은 트라우마 높은 사랑|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 90>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 2>><<trauma 60>><</link>>
<br>
<<link [[Robin High Trauma Low Love|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 0>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<<link [[로빈 높은 트라우마 낮은 사랑|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 0>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<br>
<<link [[Robin High Trauma Medium Love|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 50>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<<link [[로빈 높은 트라우마 중간 사랑|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 50>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<br>
<<link [[Robin High Trauma High Love|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 90>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<<link [[로빈 높은 트라우마 높은 사랑|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set C.npc.Robin.love to 90>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<br>
<<link [[Robin After Paying Police With Money|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set $daily.robin.policePay to 1>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<<link [[로빈 경찰에게 벌금 지불 후|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set $daily.robin.policePay to 1>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<br>
<<link [[Robin After Paying Police With Body|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set $daily.robin.policeBody to 1>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<<link [[로빈 경찰에게 몸으로 지불 후|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set $daily.robin.policeBody to 1>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<br>
<<link [[Robin's Debt Paid|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set $robinpaid to 1>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<<link [[로빈 빚 청산됨|Robin's Room Entrance]]>><<cheatStart>><<npc Robin>><<endevent>><<set $robinpaid to 1>><<set C.npc.Robin.init to 1>><<set $trauma to ($traumamax / 7) * 4>><<trauma 60>><</link>>
<br><br>

<<link [[검은 늑대|ForestHuntDebug]]>><<cheatStart>><<npc "Black Wolf">><<ruined>><<endevent>><<set $blackwolfhunt to 1>><<set $wolfpacktrust to 10>><</link>>
Expand All @@ -106,7 +106,7 @@ Degrees of Lewdity의 첫 페이지에 오신 것을 환영합니다!
<<link [[겨울 시작|Orphanage Intro]]>><<set Time.startDate to new DateTime(2022, 12, 4, 7)>><<set $weather to "snow">><</link>> (테스트를 위해 겨울에 시작합니다.)
<br>

<<link [[Christmas Start|Orphanage Intro]]>><<npc Kylar>><<person1>><<endevent>><<set C.npc.Kylar.state to "active">><<set Time.startDate to new DateTime(2022, 12, 23, 7)>><<set $weather to "snow">><<set $money += 50000>><</link>> (Begins the game two days before Christmas. For testing.)
<<link [[크리스마스 시작|Orphanage Intro]]>><<npc Kylar>><<person1>><<endevent>><<set C.npc.Kylar.state to "active">><<set Time.startDate to new DateTime(2022, 12, 23, 7)>><<set $weather to "snow">><<set $money += 50000>><</link>> (Begins the game two days before Christmas. For testing.)
<br>

<<link [[발렌타인 데이 시작|Orphanage Intro]]>><<set Time.startDate to new DateTime(2022, 2, 12, 7)>><<set $weather to "clear">><</link>> (발렌타인 데이 이틀 전에 시작합니다. 테스트용.)
Expand Down
56 changes: 28 additions & 28 deletions game/03-JavaScript/03-Templates/t-misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Template.add('animal', () =>
"연어",
"참치",
"사슴",
"oyster"
""
); getPostNum(T.trResult); return T.trResult;}
);

Expand Down Expand Up @@ -108,7 +108,7 @@ Template.add("animals", () =>
"연어들",
"참치들",
"사슴들",
"oysters"
"굴들"
); getPostNum(T.trResult); return T.trResult;}
);

Expand Down Expand Up @@ -155,54 +155,54 @@ Template.add("sin", () => {T.trResult = either("오만", "분노", "질투", "

/* ?chatter1 */
Template.add("chatter1",() =>
{T.trResult = either(
"If you think about it, neither of us are really here.",
either(
"잘 생각해보면, 사실 우리 둘 다 여기에 없는 거야.",

"Hey, listen. You hear that? It's nothing.",
"야야, 들어 봐. 그 소문 들었냐? 그거 아무것도 아냐.",

"Don't knock it 'till you try it. Jazz metal just works.",
"직접 해보기 전까진 함부로 판단하면 안돼. 재즈 메탈은 통한다고.",

"Winter's actually kinda hot, in a fossil kinda way.",
"윈터 선생님은 사실 정말 멋져, 화석적인 면에서 말이지만.",

"I'd let a wolf knot me, to be honest.",
"솔직히 말해서, 늑대한테는 대줄 수 있을 것 같아.",

"If quizzes are quizzical, then what are tests?",
"퀴즈(quiz)가 당혹스러우면(quizzical), 시험(test)은 뭐겠어? (testicle = 고환임을 이용한 말장난)",

"You. Me. That bookshelf. Library dodgeball. You in?",
"너. 나. 저 책장. 도서관 피구. 같이 할래?",

"I haven't seen a single recycling bin in this school. Unbelievable.",
"I나는 이 학교에서 재활용 쓰레기통을 본 적이 한 번도 없어. 믿을 수가 없네.",

"The canteen food is actually pretty good. It's a guilty pleasure of mine.",
"우리 학교 식당 음식이 꽤 괜찮더라. 내 소소한 낙이야.",

"Oh, to be a caterpillar, unaware of the woes of the world.",
"아, 세상의 비애를 모르는 애벌레가 될 수 있다면, 얼마나 좋을까.",

"Someone said they saw a whale that had, like, tentacles, like a squid. Think squids and whales finally put their differences aside and got busy?"
); getPostNum(T.trResult); return T.trResult;}
"누가 오징어처럼, 마치, 촉수 같은 것이 달린 고래를 봤다고 하더라고. 오징어랑 고래가 마침내 그들의 차이를 이겨내고 같이 한 판 떴다고 생각해?"
)
);

/* ?chatter2 */
Template.add("chatter2",() =>
{T.trResult = either(
"Why am I friends with you?",
either(
"왜 내가 너같은 애랑 친구먹고 있는 걸까?",

"I told you to stop hanging out with me.",
"나한테 아는 척 하지 말라고 했잖아.",

"What the fuck?",
"뭔 개소리야?",

"I'm out of here.",
"난 여기서 나가야겠어.",

"Can we please have a normal conversation for once?",
"우리 한번만이라도 정상적인 대화를 하면 안될까?",

"...What?",
"...?",

"Pretty sure you're not supposed to come to school drunk.",
"술취한 채로 학교에 오면 안 되지.",

"I'm calling the police.",
"I경찰 부른다.",

"I gotta get that restraining order. For real, this time.",
"접근금지 신청을 해야겠어. 이번엔, 진짜로.",

"Can I peg you?",
"너 좀 어디에 처박아두면 안되냐?",

"Can you make like a tree and die for the winter?"
); getPostNum(T.trResult); return T.trResult;}
"나무처럼 가만히 있다가 겨울에는 좀 죽어주면 안되겠냐?"
)
);
22 changes: 11 additions & 11 deletions game/03-JavaScript/UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,15 +367,15 @@ function settingsGenericGenders(id) {
if (id === "mlm" || id === "wlw" || id === "blw" || id === "blm") {
switch (val) {
case 100:
text = `<span class='gold inline-colour'>No</span> <span class='pink inline-colour'>${women}</span> and <span class='gold inline-colour'>all</span> <span class='blue inline-colour'>${men}</span> will be ${attraction}.`;
text = `<span class='gold inline-colour'>0%</span> <span class='pink inline-colour'>${women}</span><span class='gold inline-colour'>100%</span> <span class='blue inline-colour'>${men}</span>${attraction} 것입니다.`;
break;
case 0:
text = `<span class='gold inline-colour'>All</span> <span class='pink inline-colour'>${women}</span> and <span class='gold inline-colour'>no</span> <span class='blue inline-colour'>${men}</span> will be ${attraction}.`;
text = `<span class='gold inline-colour'>100%</span> <span class='pink inline-colour'>${women}</span><span class='gold inline-colour'>0%</span> <span class='blue inline-colour'>${men}</span>${attraction} 것입니다.`;
break;
default:
text = `<span class='gold inline-colour'>${
100 - val
}%</span> of <span class='pink inline-colour'>${women}</span> and <span class='gold inline-colour'>${val}%</span> of <span class='blue inline-colour'>${men}</span> will be ${attraction}.`;
}%</span><span class='pink inline-colour'>${women}</span><span class='gold inline-colour'>${val}%</span><span class='blue inline-colour'>${men}</span>${attraction} 것입니다.`;
break;
}
} else {
Expand All @@ -385,13 +385,13 @@ function settingsGenericGenders(id) {
text = `<span class='gold inline-colour'>모든</span> ${trid[id]}은 <span class='pink inline-colour'>${id === "beasts"? "암컷":"여성"}</span>일 것입니다.`;
} else if (val === 50) {
text =
id.charAt(0).toUpperCase() +
id.slice(1) +
" will be <span class='gold inline-colour'>evenly</span> split between <span class='blue inline-colour'>male</span> and <span class='pink inline-colour'>female</span> genders.";
trid[id] +
"은" +
` <span class='blue inline-colour'>${id === "beasts"? "수컷":"남성"}</span><span class='pink inline-colour'>${id === "beasts"? "암컷":"여성"}</span>으로 <span class='gold inline-colour'>동등하게</span> 나누어질 것입니다.`;
} else if (val > 50) {
text = `<span class='gold inline-colour'>${val}%</span>의 ${trid[id]}은 <span class='blue inline-colour'>${id === "beasts"? "수컷":"남성"}</span>일 것입니다.`;
} else {
text = `<span class='gold inline-colour'>${100 - val}%</span> of ${id} will be <span class='pink inline-colour'>female</span>.`;
text = `<span class='gold inline-colour'>${100 - val}%</span>${trid[id]}<span class='pink inline-colour'>${id === "beasts"? "암컷":"여성"}</span>일 것입니다.`;
}
}

Expand All @@ -418,16 +418,16 @@ function settingsMonsterChance() {

switch (val) {
case 100:
text = "Beasts will <span class='gold inline-colour'>always</span> be monster girls and boys.";
text = "짐승들은 <span class='gold inline-colour'>항상</span> 몬스터 소년과 소녀로 나올 것입니다.";
break;
case 0:
text = "Beasts will <span class='gold inline-colour'>never</span> appear as monster girls and boys, unless allowed while hallucinating.";
text = "환각 중에 허용되지 않는다면, 짐승들은 <span class='gold inline-colour'>절대</span> 몬스터 소년과 소녀로 나오지 않을 것입니다.";
break;
case 50:
text = "<span class='gold inline-colour'>Half</span> of all beasts will be replaced by monster girls and boys.";
text = "모든 짐승들 중 <span class='gold inline-colour'>절반</span>은 몬스터 소년과 소녀로 대체될 것입니다.";
break;
default:
text = `<span class='gold inline-colour'>${val}%</span> of beasts will be replaced by monster girls and boys.`;
text = `모든 짐승들 중 <span class='gold inline-colour'>${val}%</span>는 몬스터 소년과 소녀로 대체될 것입니다.`;
break;
}

Expand Down
14 changes: 7 additions & 7 deletions game/03-JavaScript/bedroom-pills.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ setup.pills = [
{
name: "breast blocker",
description:
"A selective oestrogen receptor modulator (SERM), blocking the protein receptors responsible for breast growth; supplemented by 269mg of Tetraozealpostigyl.",
"선택적 에스트로겐 수용체 조절자 (SERM)가, 유방의 성장에 관여하는 단백질 수용체를 차단합니다; 269mg의 테트라오제알포스티글이 함유되어 있습니다.",
onTakeMessage: "당신은 당신의 가슴 크기를 유지하기 위해 약을 먹는다. 당신은 이 약이 광고처럼 효과적이기를 바란다.",
warning_label:
'<span class="hpi_notice_label">주의사항: 이 약의 투약중 어떤 부작용도 보고되어 있지 않습니다. 24시간 내에 1정 이상 투약하는 것은 효과가 없을 것입니다</span>',
Expand Down Expand Up @@ -361,7 +361,7 @@ setup.pills = [
{
name: "fertility booster",
description:
"Each pill contains 50mg of clomiphene citrate, a structural analogue of oestrogens. It also acts on your hypothalamus which secretes the hormones necessary to trigger ovulation. In some cases effectively inducing your ovary to release eggs.",
"1정 당 50mg의 에스트로겐 유사물질인, 클로미펜 시트르산염을 함유하고 있습니다. 이 약은 또한 시상하부에 작용하여 배란을 촉진하는 데 필요한 호르몬을 분비시킵니다. 몇몇 경우 효과적으로 난소에서 난자생성을 유도시킵니다.",
onTakeMessage: "당신은 당신의 생식력을 늘리기 위해 약을 먹는다. 당신은 이 약이 광고처럼 효과적이기를 바란다.",
warning_label:
"주의사항: 적정용량을 복용하는 동안, 임신 초기와 비슷한 증상을 포함한 약한 부작용이 일어날 수 있습니다. 일일 최대용량을 초과해 복용할 경우 심각한 합병증을 일으킬 수 있습니다. 확신이 들지 않을 시에는, 의사와 상의하십시오.",
Expand Down Expand Up @@ -404,7 +404,7 @@ setup.pills = [
{
name: "contraceptive",
description:
"Estroprogestatifs associating 24mg of ethinylestradiol(synthetic oestrogen) and 31mg of a synthetic progestin for a near-perfect contraceptive effect.",
"24mg의 에치닐에스트라디올(합성 에스트로겐)과 31mg의 합성 프로게스토겐이 복합된 에스트로프로게스트라피츠가 거의-완벽한 피임 효과를 발휘합니다.",
onTakeMessage: "당신은 피임약을 먹는다. 당신은 이 약이 광고처럼 효과적이기를 바란다.",
warning_label:
"주의사항: 적정용량을 복용하는 동안 약한 부작용이 일어날 수 있습니다. 일일 최대용량을 초과해 복용할 경우 심각한 합병증을 일으킬 수 있습니다. 확신이 들지 않을 시에는, 의사와 상의하십시오.",
Expand Down Expand Up @@ -620,8 +620,8 @@ function addElementToGrid(item) {
<div class="hpi_item">
<div class="hpi_icon">${item.frontIcon ? `<img class="icon infront" src="${item.frontIcon}"/>` : ""}<img class="icon" src="${item.icon}"/></div>
<div class="hpi_name" id="hpi_name_${itemName}">
${itemName}
${item.autoTake() === true ? `<span class="hpi_auto_label"> [Auto]</span>` : ""}
${item_koname}
${item.autoTake() === true ? `<span class="hpi_auto_label"> [자동]</span>` : ""}
</div>
<div class="hpi_count" onmouseenter="T.disableGridClick = true" onmouseleave="T.disableGridClick = false">${item.owned()}</div>
</div>
Expand All @@ -641,8 +641,8 @@ function onHomePillItemClick(itemName) {
${item.description}
<div class="hpi_warning_label">${item.warning_label}</div>
<div id="hpi_desc_action">
<a id="hpi_take_pills" class="hpi_take_pills" onclick="window.onTakeClick('${item.name}', '${item.type}')">Take pill</a>
<a id="hpi_take_every_morning" onclick="window.onAutoTakeClick('${item.name}', '${item.type}')">Take every morning</a>
<a id="hpi_take_pills" class="hpi_take_pills" onclick="window.onTakeClick('${item.name}', '${item.type}')">약을 먹는다</a>
<a id="hpi_take_every_morning" onclick="window.onAutoTakeClick('${item.name}', '${item.type}')">매일 아침 먹는다</a>
</div>
</div>`;
window.initPillContextButtons(item);
Expand Down
4 changes: 2 additions & 2 deletions game/03-JavaScript/ingame.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function hairdressersReset() {
$(() =>
$("#hairDressers").on("change", ".macro-listbox, .macro-radiobutton, .macro-checkbox", function (e) {
Wikifier.wikifyEval("<<replace #hairDressers>><<hairDressersOptions>><</replace>>");
Wikifier.wikifyEval('<<replace #currentCost>>To pay: £<<print _currentCost / 100>><</replace>><<numberify "#passages > .passage">>');
Wikifier.wikifyEval('<<replace #currentCost>>낼 요금: £<<print _currentCost / 100>><</replace>><<numberify "#passages > .passage">>');
})
);
}
Expand All @@ -357,7 +357,7 @@ function hairdressersResetAlt() {
$(() =>
$("#hairDressersSydney").on("click", ".macro-cycle", function (e) {
Wikifier.wikifyEval("<<replace #hairDressersSydney>><<hairDressersOptionsSydney>><</replace>>");
Wikifier.wikifyEval('<<replace #currentCost>>To pay: £<<print _currentCost / 100>><</replace>><<numberify "#passages > .passage">>');
Wikifier.wikifyEval('<<replace #currentCost>>낼 요금: £<<print _currentCost / 100>><</replace>><<numberify "#passages > .passage">>');
})
);
}
Expand Down

0 comments on commit d785d97

Please sign in to comment.