Add header control for adding an embedded item into an actor.

This commit is contained in:
Oliver 2026-04-08 01:08:52 -06:00
parent 380ed3fe15
commit fc24caf08a
3 changed files with 51 additions and 14 deletions

View file

@ -35,7 +35,7 @@ export class GenericItemData extends foundry.abstract.TypeDataModel {
* rounds the number to the nearest 2 decimal places.
*/
get quantifiedWeight() {
const value = this.weight * this.quantity
const value = this.weight * this.quantity;
return toPrecision(Math.max(value, 0), 2);
};
};