Bläddra i källkod

Reindented options file, organized into tables, made Vargh's new cheat option a bit more compact

oldentree 5 år sedan
förälder
incheckning
cd131403ba
1 ändrade filer med 22 tillägg och 20 borttagningar
  1. 22 20
      locations/mod_bestmod_options.qsrc

+ 22 - 20
locations/mod_bestmod_options.qsrc

@@ -2,26 +2,28 @@
 
 *clr & cla
 usehtml = 1
-'<center><h1>Bestmod Settings</h1></center>'
-'<center><table cellspacing="0" cellpadding="20" valign="top">'
-'<tr><td cellspacing="0" cellpadding="20" valign="top">'
-'Player can be impregnated by beasts (Currently <<iif(bm_enable_preg = 0, "OFF", "ON")>>):'
-'</td>'
-'<td cellspacing="0" cellpadding="20" valign="top">'
-'<span style="color: red;">Warning: this doesn''t do anything yet!</span>'
-'<a href="exec: bm_enable_preg = (bm_enable_preg = 0) & gt ''mod_bestmod_options''">Toggle</a>'
-'</td></tr>'
-'<tr><td cellspacing="0" cellpadding="20" valign="top">'
-if bm_cheatBandit = 1:
-	'Bandit is always horny (Currently ON):'
-	'<td cellspacing="0" cellpadding="20" valign="top"><a href="exec:bm_cheatBandit = 0 & gt ''mod_bestmod_options''">Turn OFF</a>'
-else
-	'Bandit is always horny (Currently OFF):'
-	'<td cellspacing="0" cellpadding="20" valign="top"><a href="exec:bm_cheatBandit = 1 & gt ''mod_bestmod_options''">Turn ON</a>'
-end
-'</td></tr>'
-'</table></center>'
-!usehtml = 0
+'<center><h1>Bestmod Settings</h1>'
+	'<table cellspacing="0" cellpadding="10" valign="top">'
+		'<tr><th colspan="2"><big>Gameplay</big></th></tr>'
+		'<tr><td>'
+			'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>'
+			'<a href="exec: bm_enable_preg = (bm_enable_preg = 0) & gt ''mod_bestmod_options''">Toggle</a>'
+		'</td></tr>'
+	'</table>'
+	'<table border="0" cellspacing="0" cellpadding="10" valign="top">'
+		'<tr><th colspan="2"><big>Cheats</big></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>'
+
 act 'Return': gt 'mod_setting'
 
 --- mod_bestmod_options ---------------------------------