Remove Transportation as an item subtype
This commit is contained in:
parent
47183da268
commit
d131e2faaa
3 changed files with 1 additions and 30 deletions
|
|
@ -54,6 +54,7 @@ export const localizerConfig = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const itemFilters = [
|
export const itemFilters = [
|
||||||
|
`materials`,
|
||||||
`untyped`,
|
`untyped`,
|
||||||
`aspect`,
|
`aspect`,
|
||||||
`weapon`,
|
`weapon`,
|
||||||
|
|
@ -61,7 +62,6 @@ export const itemFilters = [
|
||||||
`equipment`,
|
`equipment`,
|
||||||
`foil`,
|
`foil`,
|
||||||
`pet`,
|
`pet`,
|
||||||
`transportation`,
|
|
||||||
`structure`,
|
`structure`,
|
||||||
`service`,
|
`service`,
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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,
|
|
||||||
})
|
|
||||||
});
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
@ -15,7 +15,6 @@
|
||||||
"equipment",
|
"equipment",
|
||||||
"foil",
|
"foil",
|
||||||
"pet",
|
"pet",
|
||||||
"transportation",
|
|
||||||
"structure",
|
"structure",
|
||||||
"service",
|
"service",
|
||||||
"legendaryItem",
|
"legendaryItem",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue