Bläddra i källkod

[Fixed] Missing `$`

Awesome 2 månader sedan
förälder
incheckning
4bc227d234
1 ändrade filer med 26 tillägg och 26 borttagningar
  1. 26 26
      locations/npcgeneratec.qsrc

+ 26 - 26
locations/npcgeneratec.qsrc

@@ -552,11 +552,11 @@ if $ARGS[0] = 'set_lifestyle':
 		end
 
 		npc_apt_number[$ARGS[1]] = rand(1,2)
-		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
-		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
+		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/high_rise/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
 
 	elseif npc_apt_type[$ARGS[1]] = 4 or npc_apt_type[$ARGS[1]] = 5:
 		!! multi-bedroom
@@ -579,42 +579,42 @@ if $ARGS[0] = 'set_lifestyle':
 
 		npc_apt_number[$ARGS[1]] = rand(1,2)
 
-		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/kitchen.jpg"></center>'
-		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
-		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
-		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
-		$npc_apt_spare[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/<<$npc_apt_sparetype[$ARGS[1]]>>.jpg"></center>'
+		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/kitchen.jpg"></center>'
+		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
+		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
+		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
+		$npc_apt_spare[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/multibedroom/<<npc_apt_number[$ARGS[1]]>>/<<$npc_apt_sparetype[$ARGS[1]]>>.jpg"></center>'
 
 	elseif npc_apt_type[$ARGS[1]] = 3:
 		!! one bedroom
 		npc_apt_number[$ARGS[1]] = rand(1, 3)
 
-		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/kitchen.jpg"></center>'
-		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
-		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
-		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
+		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/kitchen.jpg"></center>'
+		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
+		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
+		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
 
 	elseif npc_apt_type[$ARGS[1]] = 2:
 		!! studio apartment
 		npc_apt_number[$ARGS[1]] = rand(1, 2)
 
-		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
-		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
+		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
 
 	elseif npc_apt_type[$ARGS[1]] = 1:
 		!! student dorm
 		npc_apt_number[$ARGS[1]] = rand(1, 3)
 
-		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
-		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/kitchen.jpg"></center>'
-		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
-		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
-		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
+		$npc_apt_bedroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bedroom.jpg"></center>'
+		$npc_apt_kitchen[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/kitchen.jpg"></center>'
+		$npc_apt_livingroom[$ARGS[1]]	= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
+		$npc_apt_bathroom[$ARGS[1]]		= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/1bedroom/<<npc_apt_number[$ARGS[1]]>>/bath.jpg"></center>'
+		$npc_apt_hall[$ARGS[1]]			= '<center><img <<$set_imgh>> src="<<$npcgeneratecVars[''home_path'']>>/studio/<<npc_apt_number[$ARGS[1]]>>/living.jpg"></center>'
 	end