浏览代码

Add some extra text for stomping with stench enabled

tags/v1.1.2
Fen Dweller 5 年前
父节点
当前提交
7840e5af64
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. +6
    -3
      recursive-desc.js

+ 6
- 3
recursive-desc.js 查看文件

@@ -11,7 +11,8 @@ const synonyms = {
cosmic: ["cosmic", "utterly colossal", "star-spanning"], cosmic: ["cosmic", "utterly colossal", "star-spanning"],
gulp: ["gulp", "gluk", "glrk", "glp"], gulp: ["gulp", "gluk", "glrk", "glp"],
swallow: ["swallow", "gulp"], swallow: ["swallow", "gulp"],
looming: ["looming", "imposing", "awe-inspiring", "menacing"]
looming: ["looming", "imposing", "awe-inspiring", "menacing"],
putrid: ["putrid", "foul", "wretched", "choking", "rancid", "utterly foul", "miasma-shrouded", "eye-wateringly foul"]
} }


function plural(quantity, singular, plural) { function plural(quantity, singular, plural) {
@@ -233,6 +234,7 @@ function defaultStomp(container, macro, verbose, flat) {
container.describe(verbose), container.describe(verbose),
pickString("under", "beneath", "with"), pickString("under", "beneath", "with"),
"your", "your",
(macro.stenchEnabled ? pickString(...synonyms.putrid) + "," : ""),
pickStringChance(0.4, ...synonyms.looming), pickStringChance(0.4, ...synonyms.looming),
macro.footDesc(false,false,true) + "." macro.footDesc(false,false,true) + "."
], [ ], [
@@ -241,7 +243,7 @@ function defaultStomp(container, macro, verbose, flat) {
pickString("crushed", "flattened"), pickString("crushed", "flattened"),
pickString("under", "beneath"), pickString("under", "beneath"),
"your", "your",
pickString("heavy", "weighty", "powerful"),
(macro.stenchEnabled ? pickString(...synonyms.putrid) : pickString("heavy", "weighty", "powerful")),
macro.footDesc(false,false,true) + "." macro.footDesc(false,false,true) + "."
], [ ], [
"A swift stroke of your", "A swift stroke of your",
@@ -260,8 +262,9 @@ function defaultStompWedge(container, macro, verbose, flat) {
pickString("wedged", "trapped", "left stuck", "jammed"), pickString("wedged", "trapped", "left stuck", "jammed"),
pickString("in", "between", "within"), pickString("in", "between", "within"),
"your", "your",
(macro.stenchEnabled ? pickString(...synonyms.putrid) : ""),
macro.toeDesc(true) macro.toeDesc(true)
].join(" ")
].filter(Boolean).join(" ")
} }


function defaultFlexToes(container, macro, verbose, flat) { function defaultFlexToes(container, macro, verbose, flat) {


正在加载...
取消
保存