2023-01-18 01:37:22 +01:00
|
|
|
import { RdDItemSheet } from "../item-sheet.js";
|
2022-12-23 00:34:17 +01:00
|
|
|
|
|
|
|
export class RdDServiceItemSheet extends RdDItemSheet {
|
|
|
|
|
|
|
|
static get ITEM_TYPE() { return "service" };
|
|
|
|
|
|
|
|
async getData() {
|
|
|
|
const formData = await super.getData();
|
2023-01-28 16:34:09 +01:00
|
|
|
formData.disabled = formData.options.isGM || formData.options.isOwned ? '' : 'disabled';
|
2022-12-23 00:34:17 +01:00
|
|
|
return formData;
|
|
|
|
}
|
|
|
|
|
|
|
|
activateListeners(html) {
|
|
|
|
super.activateListeners(html);
|
|
|
|
}
|
|
|
|
}
|