Nouvelles corrections sur la fiche
This commit is contained in:
@@ -3,4 +3,10 @@ export default class AwEItem extends Item {
|
||||
prepareData() {
|
||||
super.prepareData()
|
||||
}
|
||||
|
||||
/** Return "New Ability", "New Weapon", etc. based on item type. */
|
||||
static defaultName(context = {}) {
|
||||
const typeLabel = game.i18n.localize(CONFIG.Item.typeLabels[context.type] ?? "Item")
|
||||
return `New ${typeLabel}`
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user