Skip to content
Snippets Groups Projects
Commit 05f1ce9a authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'fs-fixes' into 'pregmod-master'

Fix a typo in jsRandom() call

Closes #4786

See merge request !11509
parents 0061e756 42e78543
No related branches found
No related tags found
1 merge request!11509Fix a typo in jsRandom() call
Pipeline #68373 failed
......@@ -575,7 +575,7 @@
r.text += ` ${He} produces ${numberWithPluralOne(r.cum, "deciliter")} of cum over the week;`;
if (!FutureSocieties.isActive('FSPastoralist', arcology)) {
r.cumSale = Math.max(Math.trunc((r.cum * jsRandom(15) * qualityMultiplier)), 1);
r.cumSale = Math.max(Math.trunc((r.cum * jsRandom(15, 25) * qualityMultiplier)), 1);
r.text += ` the fresh ejaculate is sold for <span clh inc">${cashFormat(r.cumSale)}.</span>`;
} else if (arcology.FSPastoralistLaw === 1) {
r.cumSale = Math.max(Math.trunc((r.cum * (jsRandom(20, 40)) * qualityMultiplier)), 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment