This commit is contained in:
sladecraven 2022-09-27 13:29:11 +02:00
parent 7d2cd5df62
commit 2b0320be5f

View File

@ -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 !`} )
}
}
}