changed availability options to include "unset"
Additions: - item availability "unset" (with localization) Changes: - item availability "none" -> "nowhere" Fixes: - fixed wrong default item availability in template.json
This commit is contained in:
parent
123c56a572
commit
e0d8e42812
4 changed files with 6 additions and 4 deletions
|
@ -23,12 +23,13 @@ export const DS4 = {
|
|||
* @type {Object}
|
||||
*/
|
||||
itemAvailabilities: {
|
||||
unset: "DS4.ItemAvailabilityUnset",
|
||||
hamlet: "DS4.ItemAvailabilityHamlet",
|
||||
village: "DS4.ItemAvailabilityVilage",
|
||||
city: "DS4.ItemAvailabilityCity",
|
||||
elves: "DS4.ItemAvailabilityElves",
|
||||
dwarves: "DS4.ItemAvailabilityDwarves",
|
||||
none: "DS4.ItemAvailabilityNone",
|
||||
nowhere: "DS4.ItemAvailabilityNoWhere",
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,7 +26,7 @@ interface DS4ItemBase {
|
|||
interface DS4ItemPhysical {
|
||||
quantity: number;
|
||||
price: number;
|
||||
availability: "hamlet" | "village" | "city" | "elves" | "dwarves" | "none";
|
||||
availability: "hamlet" | "village" | "city" | "elves" | "dwarves" | "nowhere" | "unset";
|
||||
storageLocation: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue