Hey there. I always use effectivedebt
( global_interest_rates may interest you,too)
( I have not found any other accessible variables, yet,
regarding debt, deficit, reserve or surplus. )
effectivedebt
has a value between 0 and 1 (0=0% 1=100%),
where 0 stands for no debt or even a reserve,
where 1 stands for 200% DEBT_TO_GDP–ratio, or even higher debt.
effectivedebt = DEBT_TO_GDP–ratio *0.5
e.g. If you like to build and add a good=green situation when debt is small.
Try this:
[…]
,1,0.85,0.75,0,0,“default,0”,“effectivedebt,1-2*(x^1)”,
[…]
,1=greenSitu,0.85=85% start trigger,0.75=75% stop trigger,
This is a section/part of a line-of-code, with start-stop-triggers and inputs
for a green situation which will trigger when debt is significantly reduced
to below 15% DEBT_TO_GDP–ratio.
pls look here for an example from cliffski :
\Democracy 3\data\simulation\situations.csv :: DebtCrisis
,0=redSitu,0.6=60% start trigger,0.4=40% stop trigger,
,0,0.6,0.4,0,0,“global_interest_rates,0.2*(x^4)”,“effectivedebt,0+(x^4)”,
#,DebtCrisis,Schuldenkrise,"Text1...",ECONOMY,sit_icons_debtcrisis.dds,Text2... ,Text3...
,0,0.6,0.4,0,0,"_global_interest_rates_,0.2*(x^4)","_effectivedebt_,0+(x^4)",#,"Capitalist,-0.3-
(0.5*x)","SelfEmployed,-0.3-(0.25*x)","MiddleIncome,-0.2-(0.3*x)","_MiddleIncome,-0.2-
(0.4*x)","_All_,-0.2-(0.2*x)","GDP,-0.2-(0.2*x),2",,,,,
pls read Modding Guide:
… especially Situations Section for detailed code parameter explanation
positech.co.uk/democracy3/mo … tions.html
positech.co.uk/democracy3/modding_situations.html
I hope this is useful to you. Cheers.