<<set $arcadeDemand = Math.max($lowerClassSexDemand * (0.4 - $arcologies[0].FSPaternalist / 10), 0)>> /*A paternalist society quickly saps the demand for arcade sex from the lower class*/
<<else>>
<<set $arcadeDemand = $lowerClassSexDemand * 0.5>> /*the default amount of arcade demand; purely lower class and they want at the minimum 50% of their demand met by it*/
<<run $slaves.forEach(function(s) { if (s.assignment === "work a glory hole") $gloryiIDs.push(s.ID); })>>
<<run $slaves.forEach(function(s) { if (s.assignment === "work a glory hole") $gloryiIDs.push(s.ID); })>> /*we need to find the slaves working a glory hole*/