From cdadfbc72a3b52da8ca3d6231d0b7dbfdc771687 Mon Sep 17 00:00:00 2001 From: x <okp57855@psoxs.com> Date: Fri, 28 Sep 2018 09:48:22 +1200 Subject: [PATCH] taxFees --- src/uncategorized/persBusiness.tw | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uncategorized/persBusiness.tw b/src/uncategorized/persBusiness.tw index 8850948ab11..d25b6bc3f4e 100644 --- a/src/uncategorized/persBusiness.tw +++ b/src/uncategorized/persBusiness.tw @@ -850,9 +850,9 @@ Routine upkeep of your demesne costs @@.yellow;<<print cashFormat($costs)>>.@@ <</if>> <</if>> - <<if $taxTrade == 1>> - <br>Fees on transitioning goods this week made @@.yellowgreen;<<print cashFormat(Math.ceil($trade * random(80,120)))>>.@@ - <<set $cash += Math.ceil($trade * 100)>> + <<if $taxTrade == 1>> <<set _tradeTax = Math.ceil($trade * random(80,120))>> + <br>Fees on transitioning goods this week made @@.yellowgreen;<<print cashFormat(_tradeTax)>>.@@ + <<set $cash += Math.ceil(_tradeTax)>> <</if>> <</if>> -- GitLab