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

more fixes

parent d5c59e48
No related branches found
No related tags found
1 merge request!1517more fixes
...@@ -7920,9 +7920,9 @@ window.extractHairColor = function(hColor) { ...@@ -7920,9 +7920,9 @@ window.extractHairColor = function(hColor) {
/*SFJS [script]*/ /*SFJS [script]*/
   
window.simpleWorldEconomyCheck = function() { window.simpleWorldEconomyCheck = function() {
n1 = 7; var n1 = 7;
n2 = 5; var n2 = 5;
n3 = 3; var n3 = 3;
if(State.variables.economy === .5) { if(State.variables.economy === .5) {
return n1; return n1;
} else if(State.variables.economy === 1.5) { } else if(State.variables.economy === 1.5) {
......
:: SFJS [script] :: SFJS [script]
window.simpleWorldEconomyCheck = function() { window.simpleWorldEconomyCheck = function() {
n1 = 7; var n1 = 7;
n2 = 5; var n2 = 5;
n3 = 3; var n3 = 3;
if(State.variables.economy === .5) { if(State.variables.economy === .5) {
return n1; return n1;
} else if(State.variables.economy === 1.5) { } else if(State.variables.economy === 1.5) {
......
...@@ -23,12 +23,12 @@ ...@@ -23,12 +23,12 @@
<</if>> <</if>>
<<set $Env = simpleWorldEconomyCheck()>> <<set $Env = simpleWorldEconomyCheck()>>
<<switch $Env>> <<switch $Env>>
<<case "_N1">> <<case "3">>
<<set $EnvCash2 = 450, $EnvCash3 = 200, $EnvCash4 = 100, $EnvProsp = 3, _BaseDiscount = _BaseDiscount-.005>> <<set $EnvCash2 = 450, $EnvCash3 = 200, $EnvCash4 = 100, $EnvProsp = 3, _BaseDiscount = _BaseDiscount-.005>>
<<case "_N2">> <<case "5">>
<<set $EnvCash2 = 500, $EnvCash3 = 250, $EnvCash4 = 150, $EnvProsp = 5, _BaseDiscount = _BaseDiscount>> <<set $EnvCash2 = 500, $EnvCash3 = 250, $EnvCash4 = 150, $EnvProsp = 5, _BaseDiscount = _BaseDiscount>>
<<case "_N3">> <<case "7">>
<<set $Env = , $EnvCash2 = 550, $EnvCash3 = 300, $EnvCash4 = 200, $EnvProsp = 7, _BaseDiscount = _BaseDiscount+.005>> <<set $EnvCash2 = 550, $EnvCash3 = 300, $EnvCash4 = 200, $EnvProsp = 7, _BaseDiscount = _BaseDiscount+.005>>
<</switch>> <</switch>>
<<if ndef $TierTwoUnlock>> <<set $TierTwoUnlock = 0>> <</if>> <<if ndef $TierTwoUnlock>> <<set $TierTwoUnlock = 0>> <</if>>
......
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