Skip to content
Snippets Groups Projects
Commit ebb61066 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

fixes for formatting

parent 463fad80
No related branches found
No related tags found
1 merge request!8260Club report to js
......@@ -231,7 +231,7 @@ App.EndWeek.clubReport = function() {
}
}
App.UI.DOM.appendNewElement("p", el, App.Ads.report("club"));
App.Events.addNode(el, [App.Ads.report("club")], "p", "indented");
// Record statistics gathering
const b = State.variables.facility.club;
......@@ -251,7 +251,14 @@ App.EndWeek.clubReport = function() {
b.totalExpenses = b.whoreCosts + b.adsCosts + b.maintenance;
b.profit = b.totalIncome / b.totalExpenses;
if (V.clubDecoration !== "standard") {
App.UI.DOM.appendNewElement("p", el, `${capFirstChar(V.clubName)}'s customers enjoy <span class="green">having sex in ${V.clubDecoration} surroundings.</span>`);
App.Events.addNode(
el,
[
`${capFirstChar(V.clubName)}'s customers enjoy <span class="green">having sex in ${V.clubDecoration} surroundings.</span>`
],
"p",
"indented"
);
}
// Club stats
......
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