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
|
@ -20,7 +20,8 @@
|
||||||
"DS4.ItemAvailabilityCity": "City",
|
"DS4.ItemAvailabilityCity": "City",
|
||||||
"DS4.ItemAvailabilityElves": "Elves",
|
"DS4.ItemAvailabilityElves": "Elves",
|
||||||
"DS4.ItemAvailabilityDwarves": "Dwarves",
|
"DS4.ItemAvailabilityDwarves": "Dwarves",
|
||||||
"DS4.ItemAvailabilityNone": "None",
|
"DS4.ItemAvailabilityUnset": "Unset",
|
||||||
|
"DS4.ItemAvailabilityNoWhere": "NoWhere",
|
||||||
"DS4.ItemTypeWeapon": "Weapon",
|
"DS4.ItemTypeWeapon": "Weapon",
|
||||||
"DS4.ItemTypeArmor": "Armor",
|
"DS4.ItemTypeArmor": "Armor",
|
||||||
"DS4.ItemTypeShield": "Shield",
|
"DS4.ItemTypeShield": "Shield",
|
||||||
|
|
|
@ -23,12 +23,13 @@ export const DS4 = {
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
*/
|
*/
|
||||||
itemAvailabilities: {
|
itemAvailabilities: {
|
||||||
|
unset: "DS4.ItemAvailabilityUnset",
|
||||||
hamlet: "DS4.ItemAvailabilityHamlet",
|
hamlet: "DS4.ItemAvailabilityHamlet",
|
||||||
village: "DS4.ItemAvailabilityVilage",
|
village: "DS4.ItemAvailabilityVilage",
|
||||||
city: "DS4.ItemAvailabilityCity",
|
city: "DS4.ItemAvailabilityCity",
|
||||||
elves: "DS4.ItemAvailabilityElves",
|
elves: "DS4.ItemAvailabilityElves",
|
||||||
dwarves: "DS4.ItemAvailabilityDwarves",
|
dwarves: "DS4.ItemAvailabilityDwarves",
|
||||||
none: "DS4.ItemAvailabilityNone",
|
nowhere: "DS4.ItemAvailabilityNoWhere",
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -26,7 +26,7 @@ interface DS4ItemBase {
|
||||||
interface DS4ItemPhysical {
|
interface DS4ItemPhysical {
|
||||||
quantity: number;
|
quantity: number;
|
||||||
price: number;
|
price: number;
|
||||||
availability: "hamlet" | "village" | "city" | "elves" | "dwarves" | "none";
|
availability: "hamlet" | "village" | "city" | "elves" | "dwarves" | "nowhere" | "unset";
|
||||||
storageLocation: string;
|
storageLocation: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
"physical": {
|
"physical": {
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"price": 0,
|
"price": 0,
|
||||||
"availability": "-",
|
"availability": "unset",
|
||||||
"storageLocation": "-"
|
"storageLocation": "-"
|
||||||
},
|
},
|
||||||
"equipable": {
|
"equipable": {
|
||||||
|
|
Loading…
Reference in a new issue