diff --git a/src/facilities/pit/pit.js b/src/facilities/pit/pit.js index ae5281d74a811f2fdea94b59682f102420dc2785..4da800a9faad71e18a2db756fc433c858d5518f6 100644 --- a/src/facilities/pit/pit.js +++ b/src/facilities/pit/pit.js @@ -46,6 +46,7 @@ App.Facilities.Pit.pit = function() { link.append(App.UI.DOM.passageLink(`Decommission ${V.pit.name}`, "Main", () => { V.pit = null; + V.pit.fighterIDs = []; // FIXME: fix this // @ts-ignore diff --git a/src/npc/interaction/fAnimal.js b/src/npc/interaction/fAnimal.js index 4efc367e5c5480903ccfd1072d2f2936a074b1b0..e22ef0bb54a0779f8439312ba35905331d0e4864 100644 --- a/src/npc/interaction/fAnimal.js +++ b/src/npc/interaction/fAnimal.js @@ -8,6 +8,7 @@ App.Interact.fAnimal = function(slave, type) { const {He, he, him, His, his, girl} = getPronouns(slave); + /** @enum {string} */ const Acts = { VAGINAL: "vaginal", ANAL: "anal", @@ -631,7 +632,7 @@ App.Interact.fAnimal = function(slave, type) { slave.anus = slave.anus < 2 ? 2 : slave.anus; break; default: - throw new Error(`Unexpected act type '${act} in completionCanine()`); + throw new Error(`Unexpected act type '${act} in completionCanine().`); } } @@ -655,7 +656,7 @@ App.Interact.fAnimal = function(slave, type) { slave.anus = slave.anus < 3 ? 3 : slave.anus; break; default: - throw new Error(`Unexpected act type '${act} in completionHooved()`); + throw new Error(`Unexpected act type '${act} in completionHooved().`); } } @@ -681,7 +682,7 @@ App.Interact.fAnimal = function(slave, type) { slave.anus = slave.anus < 1 ? 1 : slave.anus; return; default: - throw new Error(`Unexpected act type '${act} in completionFeline()`); + throw new Error(`Unexpected act type '${act} in completionFeline().`); } } @@ -721,7 +722,7 @@ App.Interact.fAnimal = function(slave, type) { break; default: - throw new Error(`Unexpected act type '${act}' in sexEffects()`); + throw new Error(`Unexpected act type '${act}' in sexEffects().`); } } @@ -848,7 +849,7 @@ App.Interact.fAnimal = function(slave, type) { return mainSpan; default: - throw new Error(`Unexpected type value '${type}' in virginityCheck()`); + throw new Error(`Unexpected type value '${type}' in virginityCheck().`); } } @@ -987,7 +988,7 @@ App.Interact.fAnimal = function(slave, type) { return mainSpan; default: - throw new Error(`Unexpected type value '${type}' in virginityEffects()`); + throw new Error(`Unexpected type value '${type}' in virginityEffects().`); } } };