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

Correct min/max mixup in recruiting

parent e9eb8815
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<<set $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $encyclopedia = "Enslaving People", $recruiterProgress = 0>> <<set $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $encyclopedia = "Enslaving People", $recruiterProgress = 0>>
<<if $recruiterTarget == "young migrants">> <<if $recruiterTarget == "young migrants">>
<<set _slave = GenerateNewSlave("", {minAge: 22, disableDisability: 1})>> <<set _slave = GenerateNewSlave("", {maxAge: 22, disableDisability: 1})>>
<<run generateSalonModifications(_slave)>> <<run generateSalonModifications(_slave)>>
<<set _slave.origin = "$He submitted to enslavement for a better chance at survival than $he had as a migrant.">> <<set _slave.origin = "$He submitted to enslavement for a better chance at survival than $he had as a migrant.">>
<<set _slave.devotion = random(-15,5)>> <<set _slave.devotion = random(-15,5)>>
...@@ -180,4 +180,4 @@ ...@@ -180,4 +180,4 @@
//You lack the necessary funds to enslave $him.// //You lack the necessary funds to enslave $him.//
<<set $recruiterProgress = 7>> <<set $recruiterProgress = 7>>
<</if>> <</if>>
</span> </span>
\ No newline at end of file
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