44 {
45
46 bool isBarrel;
47 bool isBarrelOpened;
48
49 if (parent.IsKindOf("Barrel_ColorBase"))
50 isBarrel = true;
51
52 if (isBarrel && parent.GetAnimationPhase("Lid") == 1)
53 isBarrelOpened = true;
54
55 if (isBarrelOpened || !isBarrel)
56 return true;
57
58 return false;
59 }