Quellcode durchsuchen

[Fixed] Missing `$`

Awesome vor 2 Monaten
Ursprung
Commit
4bc227d234
1 geänderte Dateien mit 26 neuen und 26 gelöschten Zeilen
  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