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
|
@ -20,7 +20,8 @@
|
|||
"DS4.ItemAvailabilityCity": "City",
|
||||
"DS4.ItemAvailabilityElves": "Elves",
|
||||
"DS4.ItemAvailabilityDwarves": "Dwarves",
|
||||
"DS4.ItemAvailabilityNone": "None",
|
||||
"DS4.ItemAvailabilityUnset": "Unset",
|
||||
"DS4.ItemAvailabilityNoWhere": "NoWhere",
|
||||
"DS4.ItemTypeWeapon": "Weapon",
|
||||
"DS4.ItemTypeArmor": "Armor",
|
||||
"DS4.ItemTypeShield": "Shield",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"physical": {
|
||||
"quantity": 1,
|
||||
"price": 0,
|
||||
"availability": "-",
|
||||
"availability": "unset",
|
||||
"storageLocation": "-"
|
||||
},
|
||||
"equipable": {
|
||||
|
|
Loading…
Reference in a new issue