From 8f00ba9821efc05c15b27f2af9a3d306fa298dd1 Mon Sep 17 00:00:00 2001 From: lbnesquik <lbnesquik@gmail.com> Date: Mon, 4 Jan 2021 03:19:38 +0100 Subject: [PATCH] Add a small weekly slave event. First time doing a PR to this, tell me if anything's wrong. --- src/js/vignettes.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/js/vignettes.js b/src/js/vignettes.js index 336f7d970ab..88e771d67ba 100644 --- a/src/js/vignettes.js +++ b/src/js/vignettes.js @@ -120,7 +120,7 @@ globalThis.GetVignette = function(slave) { }); break; } - seed = jsRandom(1, 5); + seed = jsRandom(1, 6); switch (seed) { case 1: vignettes.push({ @@ -144,6 +144,13 @@ globalThis.GetVignette = function(slave) { }); break; case 4: + vignettes.push({ + text: `a youthful first-timer to the free cities visited ${him} and so infatued with their looks that they visited several days in a row`, + type: "cash", + effect: 1, + }); + break; + case 5: vignettes.push({ text: `a street whore that works near ${him} was badly beaten by an abusive customer and had to take time off. The reduced competition got ${him} more business,`, type: "cash", -- GitLab