Selaa lähdekoodia

Messed around with settings anyway, now give state on link to change settings

oldentree 5 vuotta sitten
vanhempi
sitoutus
b528a0a626
1 muutettua tiedostoa jossa 27 lisäystä ja 27 poistoa
  1. 27 27
      locations/mod_bestmod_options.qsrc

+ 27 - 27
locations/mod_bestmod_options.qsrc

@@ -2,33 +2,33 @@
 
 *clr & cla
 !!usehtml = 1
-'<center><h2>Bestmod Settings</h2>'
-	'Change some settings for bestmod. If you are a cheater (you''re not a cheater, are you?), you can toggle some cheats as well in the lower part of the page.'
-	'<table cellspacing="0" cellpadding="20" valign="top">'
-		'<tr><th colspan="2"><b>Gameplay</b></th></tr>'
-		'<tr><td>'
-			!! The return value of a conditional which evaluates to "true" is -1, so
-			!! to avoid issues when checking a variable assigned to with that value,
-			!! we'll check if the variable is equal to 0 or not
-			'Player can be impregnated by beasts (Currently <<iif(bm_enable_preg = 0, "OFF", "ON")>>):'
-		'</td>'
-		'<td>'
-			'<span style="color: red;">Warning: this doesn''t do anything yet!</span>'
-			!! See note above
-			'<a href="exec: bm_enable_preg = (bm_enable_preg = 0) & gt ''mod_bestmod_options''">Toggle</a>'
-		'</td></tr>'
-		!!'<tr><td colspan="2">&nbsp;</td></tr>'
-	!!'</table>'
-	!!'<table border="0" cellspacing="0" cellpadding="20" valign="top">'
-		'<tr><th colspan="2"><b>Cheats</b></th></tr>'
-		'<tr><td>'
-			'Bandit is always horny (Currently <<iif(bm_cheatBandit = 0, "OFF", "ON")>>):'
-		'</td>'
-		'<td>
-			<a href="exec:bm_cheatBandit = (bm_cheatBandit = 0) & gt ''mod_bestmod_options''">Toggle</a>'
-		'</td></tr>'
-	'</table>'
-'</center>'
+'<center><h2>Bestmod Settings</h2></center>'
+'Change some settings for bestmod. If you are a cheater (you''re not a cheater, are you?), you can toggle some cheats as well in the lower part of the page.'
+'<center><table cellspacing="0" cellpadding="20" valign="top">'
+	'<tr><th colspan="2"><b>Gameplay</b></th></tr>'
+	'<tr><td>'
+		!! The return value of a conditional which evaluates to "true" is -1, so
+		!! to avoid issues when checking a variable assigned to with that value,
+		!! we''ll check if the variable is equal to 0 or not
+		'Player can be impregnated by beasts:'
+	'</td>'
+	'<td>'
+		'<span style="color: red;">Warning: this doesn''t do anything yet!</span>'
+		!! See note above
+		'<a href="exec: bm_enable_preg = (bm_enable_preg = 0) & gt ''mod_bestmod_options''">Turn <<iif(bm_enable_preg = 0, "ON", "OFF")>></a>'
+	'</td></tr>'
+	!!'<tr><td colspan="2">&nbsp;</td></tr>'
+'</table></center>'
+
+'<center><table border="0" cellspacing="0" cellpadding="20" valign="top">'
+	'<tr><th colspan="2"><b>Cheats</b></th></tr>'
+	'<tr><td>'
+		'Bandit is always horny:'
+	'</td>'
+	'<td>'
+		'<a href="exec:bm_cheatBandit = (bm_cheatBandit = 0) & gt ''mod_bestmod_options''">Turn <<iif(bm_cheatBandit = 0, "ON", "OFF")>></a>'
+	'</td></tr>'
+'</table></center>'
 
 act 'Return': gt 'mod_setting'