From 1ace4a0a95219a044e8d03a4a5c44b50e684e526 Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Tue, 16 Apr 2019 21:37:54 -0400 Subject: [PATCH] Spacing fixes, bugfixes --- src/facilities/farmyard/farmyardReport.tw | 2 +- src/uncategorized/arcadeReport.tw | 2 +- src/uncategorized/brothel.tw | 2 +- src/uncategorized/brothelReport.tw | 2 +- src/uncategorized/clubReport.tw | 2 +- src/uncategorized/costsBudget.tw | 2 +- src/uncategorized/dairyReport.tw | 2 +- src/uncategorized/reBrothelFunction.tw | 2 +- src/uncategorized/repBudget.tw | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/facilities/farmyard/farmyardReport.tw b/src/facilities/farmyard/farmyardReport.tw index 45116467b87..6f9e1ec35c5 100644 --- a/src/facilities/farmyard/farmyardReport.tw +++ b/src/facilities/farmyard/farmyardReport.tw @@ -301,7 +301,7 @@ b.customers = 0; b.farmhandCosts = 0; b.rep = 0; - for(var si of b.income.values()) { + for (var si of b.income.values()) { b.farmhandIncome += si.income + si.adsIncome; b.customers += si.customers; b.farmhandCosts += si.cost; diff --git a/src/uncategorized/arcadeReport.tw b/src/uncategorized/arcadeReport.tw index f95fd0e9b89..a9bc4aaf6cb 100644 --- a/src/uncategorized/arcadeReport.tw +++ b/src/uncategorized/arcadeReport.tw @@ -272,7 +272,7 @@ b.customers = 0; b.whoreCosts = 0; b.rep = 0; - for(var si of b.income.values()) { + for (var si of b.income.values()) { b.whoreIncome += si.income; b.customers += si.customers; b.whoreCosts += si.cost; diff --git a/src/uncategorized/brothel.tw b/src/uncategorized/brothel.tw index f1c2752c263..d5fbc18b57f 100644 --- a/src/uncategorized/brothel.tw +++ b/src/uncategorized/brothel.tw @@ -162,7 +162,7 @@ $brothelNameCaps <</if>> <<set _Tmult0 = Math.trunc($brothel*1000*$upgradeMultiplierArcology)>> -<br>It can support $brothel whores. Currently there <<if $brothelSlaves == 1>>is<<else>>are<</if>> $brothelSlaves whore<<if $brothelSlaves != 1>>s<</if>> at $brothelNameCaps. +<br>It can support $brothel whores. Currently there <<if $brothelSlaves == 1>>is<<else>>are<</if>> $brothelSlaves whore<<if $brothelSlaves != 1>>s<</if>> at $brothelName. [[Expand the brothel|Brothel][cashX(forceNeg(_Tmult0), "capEx"), $brothel += 5, $PC.engineering += .1]] //Costs <<print cashFormat(_Tmult0)>> and will increase upkeep costs// <<if $Madam != 0>> diff --git a/src/uncategorized/brothelReport.tw b/src/uncategorized/brothelReport.tw index 92dd51a6f66..8e11b8eab0c 100644 --- a/src/uncategorized/brothelReport.tw +++ b/src/uncategorized/brothelReport.tw @@ -923,7 +923,7 @@ b.customers = 0; b.whoreCosts = 0; b.rep = 0; - for(var si of b.income.values()) { + for (var si of b.income.values()) { b.whoreIncome += si.income + si.adsIncome; b.customers += si.customers; b.whoreCosts += si.cost; diff --git a/src/uncategorized/clubReport.tw b/src/uncategorized/clubReport.tw index 7443356987b..5e489a9b9cb 100644 --- a/src/uncategorized/clubReport.tw +++ b/src/uncategorized/clubReport.tw @@ -734,7 +734,7 @@ b.customers = 0; b.whoreCosts = 0; b.rep = 0; - for(var si of b.income.values()) { + for (var si of b.income.values()) { b.whoreIncome += si.income; b.customers += si.customers; b.whoreCosts += si.cost; diff --git a/src/uncategorized/costsBudget.tw b/src/uncategorized/costsBudget.tw index 974c3b35ce6..73749106d4b 100644 --- a/src/uncategorized/costsBudget.tw +++ b/src/uncategorized/costsBudget.tw @@ -70,7 +70,7 @@ <<else>> <<script>> -for(var i = 0; i < State.variables.lastWeeksCashIncome.length; i++){ +for (var i = 0; i < State.variables.lastWeeksCashIncome.length; i++){ State.variables.lastWeeksCashProfits[i] = (State.variables.lastWeeksCashIncome[i] + State.variables.lastWeeksCashExpenses[i]); } <</script>> diff --git a/src/uncategorized/dairyReport.tw b/src/uncategorized/dairyReport.tw index 96dd1e91b78..040acdcfccd 100644 --- a/src/uncategorized/dairyReport.tw +++ b/src/uncategorized/dairyReport.tw @@ -1051,7 +1051,7 @@ $dairyNameCaps produced <<print _milkWeek+_outputMilk>> liters of milk<<if _cumW b.whoreIncome = 0; b.whoreCosts = 0; b.rep = 0; - for(var si of b.income.values()) { + for (var si of b.income.values()) { b.whoreIncome += si.income; b.whoreCosts += si.cost; b.rep += si.rep; diff --git a/src/uncategorized/reBrothelFunction.tw b/src/uncategorized/reBrothelFunction.tw index d80d1382ecd..3a460d55efe 100644 --- a/src/uncategorized/reBrothelFunction.tw +++ b/src/uncategorized/reBrothelFunction.tw @@ -7,7 +7,7 @@ $brothelNameCaps is a reputable establishment in $arcologies[0].name, a veritabl <br><br> One request comes to you written on a letterhead featuring the logo of a fellow arcology owner. She describes her husband's preference for your hard working brothel whores, whom he patronizes on his regular business trips to your arcology. Such indulgences have been a distraction to her husband of late, and she has dispatched him to undertake a task in your arcology that simply cannot go poorly. With this in mind, she beseeches you to close down your brothel for a single day out of solidarity for a fellow arcology owner — and for the significant sum of <<print cashFormat(10000)>>. <br><br> -Another of these bids for your brothel comes in the form of a curious video call. The video comes from an infamous lothario in your arcology, a seducer of powerful and prominent women citizens. Indeed, the recording was surreptitiously recorded in the bedroom of one such influential woman, with the Casanova describing his request in hushed tones while his wealthy host minces about unknowingly in the background. He explains that he is finally ready to hang up his coat and end his days of debauchery and copious casual sex, but that he would like to do so by engaging in a full day of indulgence at $brothelNameCaps. +Another of these bids for your brothel comes in the form of a curious video call. The video comes from an infamous lothario in your arcology, a seducer of powerful and prominent women citizens. Indeed, the recording was surreptitiously recorded in the bedroom of one such influential woman, with the Casanova describing his request in hushed tones while his wealthy host minces about unknowingly in the background. He explains that he is finally ready to hang up his coat and end his days of debauchery and copious casual sex, but that he would like to do so by engaging in a full day of indulgence at $brothelName. <br><br> The last of these requests comes in the form of a letter, stamped with the herald of a prominent arcology family. It seems the eldest son of the family, known to you largely as a spoiled child riding on the coattails of his parents, is about to reach the age of majority. At his behest, his parents have contacted you to reserve your brothel for a day so that their son may become a man in true Free Cities fashion — amongst a roil of writhing flesh and wanton debauchery. diff --git a/src/uncategorized/repBudget.tw b/src/uncategorized/repBudget.tw index 45c0be4bd92..f88244e1885 100644 --- a/src/uncategorized/repBudget.tw +++ b/src/uncategorized/repBudget.tw @@ -24,7 +24,7 @@ <<else>> <<script>> -for(var i = 0; i < State.variables.lastWeeksRepIncome.length; i++){ +for (var i = 0; i < State.variables.lastWeeksRepIncome.length; i++){ State.variables.lastWeeksRepProfits[i] = (State.variables.lastWeeksRepIncome[i] + State.variables.lastWeeksRepExpenses[i]); } <</script>> -- GitLab