diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index b02d2cd..bb9b115 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -2005,6 +2005,10 @@ export class PegasusActor extends Actor { ui.notifications.warn("Warning! No more space available in cargo !!") } + // Destroyed + if ( this.system.statistics.hr.currentlevel == 0) { + ChatMessage.create({ content: `The vehicle ${this.name} has been destroyed !`} ) + } } }