11 SetAnimationPhase(
"ShowDamage",0);
12 SetAnimationPhase(
"HideDamage",1);
15 override int GetAnimInstance()
20 override int GetSeatAnimationType(
int posIdx)
37 override bool CanReleaseAttachment(
EntityAI attachment)
39 if (!super.CanReleaseAttachment(attachment))
42 string attType = attachment.GetType();
44 if (EngineIsOn() && attType ==
"SparkPlug")
50 override bool CanDisplayAttachmentCategory(
string category_name)
52 if ( !super.CanDisplayAttachmentCategory(category_name))
60 override bool CanDisplayCargo()
62 if (!super.CanDisplayCargo())
68 override bool CanReachSeatFromSeat(
int currentSeat,
int nextSeat)
73 override void OnDamageDestroyed(
int oldLevel)
75 SetAnimationPhase(
"HideAntiwater",1);
78 override void OnDebugSpawn()
80 float amount = GetFluidCapacity(
BoatFluid.FUEL);
84 GetInventory().CreateInInventory(
"Sparkplug");