7 SetAnimationPhase(
"ShowDamage",0);
8 SetAnimationPhase(
"HideDamage",1);
16 override int GetSeatAnimationType(
int posIdx)
33 override bool CanReleaseAttachment(
EntityAI attachment)
35 if (!super.CanReleaseAttachment(attachment))
38 string attType = attachment.GetType();
40 if (EngineIsOn() && attType ==
"SparkPlug")
46 override bool CanDisplayAttachmentCategory(
string category_name)
48 if ( !super.CanDisplayAttachmentCategory(category_name))
58 if (!super.CanDisplayCargo())
64 override bool CanReachSeatFromSeat(
int currentSeat,
int nextSeat)
69 override void OnDamageDestroyed(
int oldLevel)
71 SetAnimationPhase(
"HideAntiwater",1);
76 float amount = GetFluidCapacity(
BoatFluid.FUEL);
80 GetInventory().CreateInInventory(
"Sparkplug");