Browse Source

remove obsolete object check

rachels 2 năm trước cách đây
mục cha
commit
b24e2cf919
1 tập tin đã thay đổi với 1 bổ sung10 xóa
  1. 1 10
      locations/onobjsel.qsrc

+ 1 - 10
locations/onobjsel.qsrc

@@ -42,7 +42,7 @@ if INSTR($selobj,':') > 0:
 	$tmpVal = INPUT('Enter a value for <<$tmpVar>>')
 	if $tmpVal <> '':
 		if instr($tmpVar,'$') = 1:
-			dyneval('<<$tmpVar>> = ''<<$tmpVal>>''')
+			dyneval('<<$tmpVar>> = "<<$tmpVal>>"')
 		else
 			dyneval('<<$tmpVar>> = <<VAL($tmpVal)>>')
 		end 
@@ -58,15 +58,6 @@ if $selobj = '<center>+1 Hour</center>':gs 'obj_din', '+1 Hour'
 if $selobj = '<center><font color = red>Emergency</font></center>':gs 'obj_din', 'emergency'
 if $selobj = '<center>Remove debug info</center>': debug_warning_closed = 1 & gs 'stat'
 
-!The old menu: end
-
-if $selobj = 'Player':
-	clr
-	pl'Your name is Mikhail Kuznetsov. You <<age>> years. <<$vneshPRE>>'
-	pl'You have short black hair with flashes of gray starting, little brown eyes and willed jaw covered by blue bristle shave.'
-	pl'Growth <<pcs_hgt>> see, weight 100 kg.'
-end
-
 unselect
 
 --- onobjsel ---------------------------------