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

fixes and bulk slave prison purchases

parent 08423041
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
8/10/2018 8/10/2018
28
-bulk ordering from the prison sales now works
-fixed, hopefully, an issue where executed traitors were not properly being removed from the unit pool (secEx)
27 27
-critical fix to missing parents in childgen (now only done once instead for each child) -critical fix to missing parents in childgen (now only done once instead for each child)
......
...@@ -813,6 +813,8 @@ ...@@ -813,6 +813,8 @@
<<include "unitsRebellionReport">> <<include "unitsRebellionReport">>
/* resets variables and flags */ /* resets variables and flags */
<<recalcManpower>>
<<recalcUnits>>
<<set $attackTroops = 0>> <<set $attackTroops = 0>>
<<set $attackEquip = 0>> <<set $attackEquip = 0>>
<<set $enemyLosses = 0>> <<set $enemyLosses = 0>>
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
/* Determine if Law Compliance effects must be applied to this transaction */ /* Determine if Law Compliance effects must be applied to this transaction */
<<switch $slaveMarket>> <<switch $slaveMarket>>
<<case "indentures" "neighbor" "heap" "TSS" "GRI" "SCP" "LDE" "TGA" "HA" "TCR" "TFS" "wetware">> /* these markets are exempt from law compliance */ <<case "indentures" "neighbor" "heap" "TSS" "GRI" "SCP" "LDE" "TGA" "HA" "TCR" "TFS" "wetware" "low tier criminals" "gangs and smugglers" "white collar" "military prison">> /* these markets are exempt from law compliance */
<<set $applyLaw = 0>> <<set $applyLaw = 0>>
<<default>> /* all other markets are not exempt: corporate, hunters, kidnappers, raiders, trainers */ <<default>> /* all other markets are not exempt: corporate, hunters, kidnappers, raiders, trainers */
<<set $applyLaw = 1>> <<set $applyLaw = 1>>
......
...@@ -137,10 +137,10 @@ __Sex Slave Purchase Options__ ...@@ -137,10 +137,10 @@ __Sex Slave Purchase Options__
<<set $weeklyMarket = $prisonCircuit[$prisonCircuitIndex]>> <<set $weeklyMarket = $prisonCircuit[$prisonCircuitIndex]>>
<br>[[Prisoner Sale|Criminal Market][$slavesSeen += 1]] | <br>[[Prisoner Sale|Criminal Market][$slavesSeen += 1]] |
<<if $cash > _minimumFive>> <<if $cash > _minimumFive>>
[[(x5)|Bulk Slave Generate][$introType = "bulk", $numSlaves = 5]] | [[(x5)|Bulk Slave Generate][$slaveMarket = $weeklyMarket, $introType = "bulk", $numSlaves = 5]] |
<</if>> <</if>>
<<if $cash > _minimumTen>> <<if $cash > _minimumTen>>
[[(x10)|Bulk Slave Generate][$introType = "bulk", $numSlaves = 10]] | [[(x10)|Bulk Slave Generate][$slaveMarket = $weeklyMarket, $introType = "bulk", $numSlaves = 10]] |
<</if>> <</if>>
This week This week
<<switch $weeklyMarket>> <<switch $weeklyMarket>>
......
...@@ -4478,7 +4478,9 @@ ...@@ -4478,7 +4478,9 @@
<<case "TFS">> <<case "TFS">>
The Futanari Sisters The Futanari Sisters
<<case HA>> <<case HA>>
The Hippolyta Academy. The Hippolyta Academy
<<case "low tier criminals" "gangs and smugglers" "white collar" "military prison">>
the prisoner sale
<<default>> <<default>>
Someone messed up. _market is not known. Someone messed up. _market is not known.
...@@ -4538,6 +4540,8 @@ ...@@ -4538,6 +4540,8 @@
The Futanari Sisters. The Futanari Sisters.
<<case HA>> <<case HA>>
The Hippolyta Academy. The Hippolyta Academy.
<<case "low tier criminals" "gangs and smugglers" "white collar" "military prison">>
the prisoner sale.
<<default>> <<default>>
Someone messed up. _market is not known. Someone messed up. _market is not known.
......
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