Преглед на файлове

Tried to make tables in settings menu look better. Still not happy. Giving up for now.

oldentree преди 5 години
родител
ревизия
93c7d1e933
променени са 1 файла, в които са добавени 13 реда и са изтрити 7 реда
  1. 13 7
      locations/mod_bestmod_options.qsrc

+ 13 - 7
locations/mod_bestmod_options.qsrc

@@ -1,20 +1,26 @@
 # mod_bestmod_options
 
 *clr & cla
-usehtml = 1
-'<center><h1>Bestmod Settings</h1>'
-	'<table cellspacing="0" cellpadding="10" valign="top">'
-		'<tr><th colspan="2"><big>Gameplay</big></th></tr>'
+!!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>'
-	'</table>'
-	'<table border="0" cellspacing="0" cellpadding="10" valign="top">'
-		'<tr><th colspan="2"><big>Cheats</big></th></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>'