Изменено: - Поддержка новых типов товаров: "Механические приспособления" и "Религиозные товары". - Добавлена возможность случайной генерации уровня торговца. - Улучшена производительность при загрузке предметов из компендиумов. - Обновлены тексты описаний для категорий товаров. - Исправлена ошибка при добавлении предметов к торговцу (см. `module/data.mjs`, строки 2436-2446). - Исправлена проблема с отображением характеристик торговца в интерфейсе.
This commit is contained in:
Executable
+124
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"name": "Мантия / Robes",
|
||||
"type": "equipment",
|
||||
"img": "icons/equipment/back/cloak-collared-pink.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Простая или церемониальная одежда, часто используемая священниками и другими религиозными деятелями.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 4,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 1,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": false,
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": null,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"crewed": false,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": null,
|
||||
"long": null,
|
||||
"units": ""
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": null,
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": null,
|
||||
"actionType": "",
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"armor": {
|
||||
"value": null,
|
||||
"dex": null,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": 0,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "clothing",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Robes"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 2 + 1d2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"name": "Одежда путешественника / Traveler's Clothes",
|
||||
"type": "equipment",
|
||||
"img": "icons/equipment/chest/shirt-collared-brown.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Комплект одежды которую обычно носят путешественники.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 4,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 2,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": false,
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": null,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"crewed": false,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": null,
|
||||
"long": null,
|
||||
"units": ""
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": null,
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": null,
|
||||
"actionType": "",
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"armor": {
|
||||
"value": null,
|
||||
"dex": null,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": 0,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "clothing",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Traveler's Clothes"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 5 + 1d5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"name": "Повседневная одежда / Common Clothes",
|
||||
"type": "equipment",
|
||||
"img": "icons/equipment/chest/vest-leather-tattered-white.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Одежда, которую носит большинство простолюдинов.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 3,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 5,
|
||||
"denomination": "sp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": false,
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": null,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"crewed": false,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": null,
|
||||
"long": null,
|
||||
"units": ""
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": null,
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": null,
|
||||
"actionType": "",
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"armor": {
|
||||
"value": null,
|
||||
"dex": null,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": 0,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "clothing",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Common Clothes"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 5 + 1d5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+144
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"name": "Шапка, чепчик",
|
||||
"type": "equipment",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/cap.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "Головной убор домработницы.",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "–"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 0,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 5,
|
||||
"denomination": "sp"
|
||||
},
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"properties": [],
|
||||
"type": {
|
||||
"value": "",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attunement": "",
|
||||
"attuned": false,
|
||||
"equipped": false,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": null,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"crewed": false,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": null,
|
||||
"long": null,
|
||||
"units": ""
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": null,
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": null,
|
||||
"actionType": "",
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"enchantment": null,
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"summons": null,
|
||||
"armor": {
|
||||
"value": null,
|
||||
"magicalBonus": null,
|
||||
"dex": null
|
||||
},
|
||||
"hp": {
|
||||
"value": null,
|
||||
"max": null,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 2 + 1d2"
|
||||
},
|
||||
"scene-packer": {
|
||||
"hash": "f10771f8e6dbc38868f5b27986ebda1f063f4374",
|
||||
"sourceId": ""
|
||||
},
|
||||
"midiProperties": {
|
||||
"confirmTargets": "default",
|
||||
"autoFailFriendly": false,
|
||||
"autoSaveFriendly": false,
|
||||
"critOther": false,
|
||||
"offHandWeapon": false,
|
||||
"magicdam": false,
|
||||
"magiceffect": false,
|
||||
"noConcentrationCheck": false,
|
||||
"toggleEffect": false,
|
||||
"ignoreTotalCover": false,
|
||||
"idr": false,
|
||||
"idi": false,
|
||||
"idv": false,
|
||||
"ida": false
|
||||
},
|
||||
"midi-qol": {
|
||||
"rollAttackPerTarget": "default",
|
||||
"itemCondition": "",
|
||||
"effectCondition": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+144
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"name": "Шапка, чулок",
|
||||
"type": "equipment",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/cap_2.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "Длинная и заостренная шапка, предназначенная для зимних ночей.",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "–"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 0,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 4,
|
||||
"denomination": "sp"
|
||||
},
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"properties": [],
|
||||
"type": {
|
||||
"value": "",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attunement": "",
|
||||
"attuned": false,
|
||||
"equipped": false,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": null,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"crewed": false,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": null,
|
||||
"long": null,
|
||||
"units": ""
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": null,
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": null,
|
||||
"actionType": "",
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"enchantment": null,
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"summons": null,
|
||||
"armor": {
|
||||
"value": null,
|
||||
"magicalBonus": null,
|
||||
"dex": null
|
||||
},
|
||||
"hp": {
|
||||
"value": null,
|
||||
"max": null,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 2 + 1d2"
|
||||
},
|
||||
"scene-packer": {
|
||||
"hash": "bcd0dfc973e317b15f5b95b2903762c667815fe9",
|
||||
"sourceId": ""
|
||||
},
|
||||
"midiProperties": {
|
||||
"confirmTargets": "default",
|
||||
"autoFailFriendly": false,
|
||||
"autoSaveFriendly": false,
|
||||
"critOther": false,
|
||||
"offHandWeapon": false,
|
||||
"magicdam": false,
|
||||
"magiceffect": false,
|
||||
"noConcentrationCheck": false,
|
||||
"toggleEffect": false,
|
||||
"ignoreTotalCover": false,
|
||||
"idr": false,
|
||||
"idi": false,
|
||||
"idv": false,
|
||||
"ida": false
|
||||
},
|
||||
"midi-qol": {
|
||||
"rollAttackPerTarget": "default",
|
||||
"itemCondition": "",
|
||||
"effectCondition": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+141
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"name": "Шапка, кожаная",
|
||||
"type": "equipment",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/skin_helm.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "Уродливая кожаная шапка, но помогает держать голову сухой.",
|
||||
"chat": ""
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 0,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 5,
|
||||
"denomination": "sp"
|
||||
},
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"properties": [],
|
||||
"type": {
|
||||
"value": "",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attunement": "",
|
||||
"attuned": false,
|
||||
"equipped": false,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": null,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"crewed": false,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": null,
|
||||
"long": null,
|
||||
"units": ""
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": null,
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": null,
|
||||
"actionType": "",
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"enchantment": null,
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"summons": null,
|
||||
"armor": {
|
||||
"value": null,
|
||||
"magicalBonus": null,
|
||||
"dex": null
|
||||
},
|
||||
"hp": {
|
||||
"value": null,
|
||||
"max": null,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 2 + 1d2"
|
||||
},
|
||||
"scene-packer": {
|
||||
"hash": "12c6798099f11727df4ad76f5b24f6f8a0382401",
|
||||
"sourceId": ""
|
||||
},
|
||||
"midiProperties": {
|
||||
"confirmTargets": "default",
|
||||
"autoFailFriendly": false,
|
||||
"autoSaveFriendly": false,
|
||||
"critOther": false,
|
||||
"offHandWeapon": false,
|
||||
"magicdam": false,
|
||||
"magiceffect": false,
|
||||
"noConcentrationCheck": false,
|
||||
"toggleEffect": false,
|
||||
"ignoreTotalCover": false,
|
||||
"idr": false,
|
||||
"idi": false,
|
||||
"idv": false,
|
||||
"ida": false
|
||||
},
|
||||
"midi-qol": {
|
||||
"rollAttackPerTarget": "default",
|
||||
"itemCondition": "",
|
||||
"effectCondition": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user