|
@@ -552,11 +552,11 @@ if $ARGS[0] = 'set_lifestyle':
|
|
end
|
|
end
|
|
|
|
|
|
npc_apt_number[$ARGS[1]] = rand(1,2)
|
|
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:
|
|
elseif npc_apt_type[$ARGS[1]] = 4 or npc_apt_type[$ARGS[1]] = 5:
|
|
!! multi-bedroom
|
|
!! multi-bedroom
|
|
@@ -579,42 +579,42 @@ if $ARGS[0] = 'set_lifestyle':
|
|
|
|
|
|
npc_apt_number[$ARGS[1]] = rand(1,2)
|
|
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:
|
|
elseif npc_apt_type[$ARGS[1]] = 3:
|
|
!! one bedroom
|
|
!! one bedroom
|
|
npc_apt_number[$ARGS[1]] = rand(1, 3)
|
|
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:
|
|
elseif npc_apt_type[$ARGS[1]] = 2:
|
|
!! studio apartment
|
|
!! studio apartment
|
|
npc_apt_number[$ARGS[1]] = rand(1, 2)
|
|
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:
|
|
elseif npc_apt_type[$ARGS[1]] = 1:
|
|
!! student dorm
|
|
!! student dorm
|
|
npc_apt_number[$ARGS[1]] = rand(1, 3)
|
|
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
|
|
end
|
|
|
|
|
|
|
|
|