/* 
	PScript by Peter Pon
	
	scene02
*/
#include "..\PScriptLib\Def.h"

#include "..\PScriptLib\box.pst"
#include "..\PScriptLib\desk.pst"
#include "..\PScriptLib\chair.pst"
#include "..\PScriptLib\jug.pst"

Scene_OnInit()
{
	InitBoxes(g_iNumBoxes);
	InitBBoxes(g_iNumBBoxes);
	InitChairs(g_iNumChairs);
	InitDeskes(g_iNumDeskes);
	InitJugs(g_iNumJugs);

	SetSceneItem("D_RFish","name", "machine");

	SetSceneItem("D_hehua","name", "machine");
	SetSceneItem("D_hehua", "attribute", "collision", 1);

	SetSceneItem("D_hehua01","name", "machine");
	SetSceneItem("D_hehua01", "attribute", "collision", 1);

	SetSceneItem("D_hehua02","name", "machine");
	SetSceneItem("D_hehua02", "attribute", "collision", 1);

	SetSceneItem("D_hehua03","name", "machine");
	SetSceneItem("D_hehua03", "attribute", "collision", 1);

	SetSceneItem("D_shuideng","name", "machine");
	SetSceneItem("D_shuideng", "attribute", "collision", 1);

	SetSceneItem("D_shuideng01","name", "machine");
	SetSceneItem("D_shuideng01", "attribute", "collision", 1);

	SetSceneItem("D_RFish", "pose", 1, 1);
	SetSceneItem("D_hehua", "pose", 1, 1);
	SetSceneItem("D_hehua01", "pose", 1, 1);
	SetSceneItem("D_hehua02", "pose", 1, 1);
	SetSceneItem("D_hehua03", "pose", 1, 1);
	SetSceneItem("D_shuideng", "pose", 1, 1);
	SetSceneItem("D_shuideng01", "pose", 1, 1);
}