PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[店舗]静岡風ファミレス";
	PluginAuthor = "n";
}

StructInfo{}

DefineSwitch "建物"{
	Entry = "店舗";
	Entry = "看板";
}

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

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