Procházet zdrojové kódy

Merge remote-tracking branch 'Sicaa/master'

KevinSmarts před 4 roky
rodič
revize
50ece627f4
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      locations/Cheatmenu_din.qsrc

+ 4 - 1
locations/Cheatmenu_din.qsrc

@@ -1554,7 +1554,7 @@ $cheatmenu['time'] = {
 	*nl
 	'Temperature = <<$temperature>> - <a href="exec:temper += 1 & dynamic $cheatmenu[''time'']">+1 degree</a> - <a href="exec:temper += 5 & dynamic $cheatmenu[''time'']">+5 degrees</a> - <a href="exec:temper -= 1 & dynamic $cheatmenu[''time'']">-1 degree</a> - <a href="exec:temper -= 5 & dynamic $cheatmenu[''time'']">-5 degrees</a>'
 	*nl
-	if TempUnit = 0: 'Use <a href="exec:TempUnit = 1 & gs ''outdoors'',''weather'' & dynamic $cheatmenu[''time'']">Fahrenheit</a> scale' else 'Use <a href="exec:TempUnit = 0 & gs ''outdoors'',''weather'' & dynamic $cheatmenu[''time'']">Celsius</a> scale'
+	'Switch to the <a href="exec:TempUnit = '+iif(TempUnit = 0,'1 & gs ''outdoors'',''weather'' & dynamic $cheatmenu[''time'']">Fahrenheit','0 & gs ''outdoors'',''weather'' & dynamic $cheatmenu[''time'']">Celsius')+'</a> scale'
 	*nl
 	'<a href="exec:dynamic $cheatmenu[''input_time'']">Direct input time</a>'
 	*nl
@@ -1915,6 +1915,7 @@ $cheatmenu['display'] = {
 $cheatmenu['status'] = {
 	*clr & cla
 	gs 'obj_din', 'settingtabs'
+	gs 'stat'
 	'<center><h1>Status Window Settings</h1></center>'
 	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
 	'<td cellspacing="0" cellpadding="20" valign="top">'
@@ -1932,6 +1933,8 @@ $cheatmenu['status'] = {
 		$OpenInnerThought+'Oh my god, what will the neighbours think of us?'+$CloseInnerThought
 	end
 	*nl
+	'Switch to the <a href="exec:TempUnit = '+iif(TempUnit = 0,'1 & gs ''outdoors'',''weather'' & dynamic $cheatmenu[''status'']">Fahrenheit','0 & gs ''outdoors'',''weather'' & dynamic $cheatmenu[''status'']">Celsius')+'</a> scale'
+	*nl
 	'Scale Weather Banner: <a href="exec:default_wbanner = 1 & set_weatherht=input(''Weather Banner Height (Default: 72 Min: 50 Max: 100)'') & dynamic $cheatmenu[''status''] & gs ''stat''"><<set_weatherht>></a>, Reset to default <a href="exec:default_wbanner = 0 & dynamic $cheatmenu[''status''] & gs ''stat''">(72)</a>'
 		if set_weatherht < 50:
 			set_weatherht = 50