PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[店舗]チェーン薬局";
	PluginAuthor = "n";
}

StructInfo{}

DefineSwitch "店"{
	Entry = "ショパン";
	Entry = "ヨンドラッグ";
	Entry = "ウィレシア";
	Entry = "居抜き";
}

DefineSwitch "建物"{
	Entry = "店舗";
	Entry = "看板(ショパンのみ)";
}

DefineSwitch "営業時間"{
	Entry = "自動 (08:00〜22:00)";
	Entry = "24時間営業";
	Entry = "消灯";
}

PrimaryAssembly{
	　　　　Object3D "model"{
		ModelFileName = "mise.x";
		ModelScale = 1.0;
		ChangeAlpha = 1, 0.0;
		ChangeAlpha = 3, 0.0;
		ApplySwitch "店"{
		Case 0:
		ApplySwitch "建物"{
		Case 1:ChangeModel = "kanban.x", 1.0;
}
		Case 1:ChangeModel = "mise_1.x", 1.0;
		Case 2:ChangeModel = "mise_2.x", 1.0;ChangeAlpha = 7, 1.0;
		Case 3:ChangeModel = "mise_99.x", 1.0;
}
		If "営業時間"==0&&"_HOUR"<22&&"_HOUR">=8{
			ChangeAlpha = 1, 1.0;
			ChangeAlpha = 3, 1.0;
		}
		If "営業時間"==1{
			ChangeAlpha = 1, 1.0;
			ChangeAlpha = 3, 1.0;
		}
		If "営業時間"==2{
			ChangeAlpha = 1, 0.0;
			ChangeAlpha = 3, 0.0;
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}