Remove Transportation as an item subtype

This commit is contained in:
Oliver-Akins 2024-03-17 19:45:47 -06:00
parent 47183da268
commit d131e2faaa
3 changed files with 1 additions and 30 deletions

View file

@ -54,6 +54,7 @@ export const localizerConfig = {
};
export const itemFilters = [
`materials`,
`untyped`,
`aspect`,
`weapon`,
@ -61,7 +62,6 @@ export const itemFilters = [
`equipment`,
`foil`,
`pet`,
`transportation`,
`structure`,
`service`,
];

View file

@ -1,28 +0,0 @@
import { DescribedItemData } from "./DescribedItemData.mjs";
export class TransportationItemData extends DescribedItemData {
static defineSchema() {
const fields = foundry.data.fields;
return mergeObject(super.defineSchema(), {
single_trip: new fields.NumberField({
initial: null,
nullable: true,
}),
upkeep: new fields.NumberField({
initial: null,
nullable: true,
}),
can_be_in_inventory: new fields.BooleanField({
initial: false,
}),
inventory_slots: new fields.NumberField({
initial: 0,
min: 0,
}),
logon_bonus: new fields.NumberField({
initial: null,
nullable: true,
})
});
};
};