Релиз v1.2.9
Build release archive / release (push) Failing after 28s

Изменено:
 - Поддержка новых типов товаров: "Механические приспособления" и "Религиозные товары".
 - Добавлена возможность случайной генерации уровня торговца.
 - Улучшена производительность при загрузке предметов из компендиумов.
 - Обновлены тексты описаний для категорий товаров.
 - Исправлена ошибка при добавлении предметов к торговцу (см. `module/data.mjs`, строки 2436-2446).
 - Исправлена проблема с отображением характеристик торговца в интерфейсе.
This commit is contained in:
2026-07-15 19:42:45 +03:00
parent 34782dc3b0
commit e21d8c5198
5611 changed files with 163869 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Агат бастионный",
"type": "loot",
"img": "icons/commodities/gems/gem-faceted-cushion-teal.webp",
"system": {
"description": {
"value": "<p>Самоцвет полупрозрачный, синие, белые, красные или бурые полосы.</p>",
"chat": ""
},
"source": {
"custom": "DMG"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Агат глазковый",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-trapeze-yellow-green.webp",
"system": {
"description": {
"value": "<p>Самоцвет полупрозрачный, в кружках серого, белого, бурого, синего или зелёного цвета.</p>",
"chat": ""
},
"source": {
"custom": "DMG"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Азурит",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-cushion-blue.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Азурит — очень распространенный минерал лазурно-голубого цвета, из которого обычно вырезают бусины или украшения. Благодаря своей огнеупорности он чаще всего используется кузнецами в качестве талисмана, чтобы избежать травм во время работы.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Бирюза",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-rectangular-teal.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Бирюза, обработанная резьбой или использованная в качестве украшения, на протяжении всей истории считалась драгоценным камнем. Ее находили в старых гробницах в виде небольших статуэток животных или в качестве украшений на дверях королевских домов. Это распространенный талисман удачи, который используют гонцы и торговцы во время путешествий, чтобы уберечься от засад или неудач в своих будущих поездках.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Гематит",
"type": "loot",
"img": "icons/commodities/stone/ore-pile-red.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Обычно он встречается вместе с железными жилами. В зависимости от его цвета при добыче, он в основном используется для изготовления красных или бурых пигментов. В редких случаях его используют в магических целях, поскольку существует предположение, что этот самоцвет связан с кровью и жизненной силой. Применяется в целительском искусстве и некромантии.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+46
View File
@@ -0,0 +1,46 @@
{
"name": "Кирка шахтёрская / Miner Pick",
"type": "loot",
"img": "icons/tools/hand/pickaxe-steel-white.webp",
"system": {
"description": {
"value": "<p>Это ручной инструмент с твердой головкой, прикрепленной перпендикулярно к рукоятке.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 10,
"units": "lb"
},
"price": {
"value": 4,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Miner's Pick"
},
"test_tube_merchant": {
"quantity": "1d4"
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Кольцо, простое",
"type": "loot",
"img": "icons/equipment/finger/ring-band-notched-gold.webp",
"system": {
"description": {
"value": "Небольшое кольцо из полудрагоценного металла.",
"chat": ""
},
"source": {
"custom": ""
},
"quantity": 1,
"weight": {
"value": 0.06,
"units": "lb"
},
"price": {
"value": 5,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Кварц",
"type": "loot",
"img": "icons/commodities/gems/gem-cluster-teal.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Светло-голубой или прозрачный кварц не имеет большого применения и используется в основном для украшений. Когда для заклинаний требуются драгоценные камни, которые не имеют требований по ценности, кварц — лучший вариант камень для заклинателей, поскольку стоит он недорого.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
}
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Лазурит",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-navette-blue.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Голубой непрозрачный драгоценный камень обычно используется в качестве украшения колец, браслетов, подвесок или талисманов. Из-за специфического цвета иногда его обрабатывают в форме грифонов, скарабеев или даже единорогов.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Малахит",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-navette-green.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Популярный минерал, используемый в основном для получения красителей или для окрашивания металлов в зеленый оттенок при создании железных слитков. Кузнецы и ювелиры обычно заказывают большое количество малахита для своего ремесла. Ходят слухи, что в давние времена малахит использовался для защиты от падений, однако магические искусства, необходимые для этого заклинания, были утеряны со временем.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Медальон, латунь",
"type": "loot",
"img": "icons/equipment/neck/amulet-round-engraved-gold.webp",
"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": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 3 + 1d3"
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Медь",
"type": "loot",
"img": "modules/test_tube_merchant/assets/icon/items/Copper.png",
"system": {
"description": {
"value": "Медный слиток, используется в различных ремеслах.",
"chat": ""
},
"source": {
"custom": "КИ 157"
},
"quantity": 1,
"weight": {
"value": 1,
"units": "lb"
},
"price": {
"value": 5,
"denomination": "sp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 2 + 1d2"
}
},
"folder": "9Mz3DVR7MAMZVQJV"
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Моховой агат",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-heart-pink.webp",
"system": {
"description": {
"value": "<p>Полупрозрачный розовый или жёлто-белый с серыми или зелёными отметинами самоцвет.</p>",
"chat": ""
},
"source": {
"custom": "DMG"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Обсидиан",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-tapered-purple.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Лава при остывании оставляет после себя огромные куски обсидиана. Этот драгоценный камень используется для изготовления короткоклинкового оружия, инструментов, украшений, кухонной утвари и зеркал. Некоторые сомнительные группировки используют кольца с зазубренными краями, созданные из обсидиана, для нанесения небольших глубоких порезов своим жертвам.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Родохрозит",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-square-red.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Родохрозит, или, как его еще называют, Розовый камень, очень популярен среди аристократов благодаря своему розовому цвету. Известно, что они обычно из кожи вон лезут, чтобы приобрести этот вид драгоценного камня. Используется для украшения серег, колец, ожерелий или браслетов. Считается, что несколько кусочков Родохрозита, если их правильно измельчить и смешать с дополнительными травами, нейтрализуют большинство ядов и болезней.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Серьги, простые",
"type": "loot",
"img": "modules/test_tube_merchant/assets/icon/items/earsring.png",
"system": {
"description": {
"value": "Маленький гвоздик или колечко из благородного металла.",
"chat": ""
},
"source": {
"custom": ""
},
"quantity": 1,
"weight": {
"value": 0.2,
"units": "lb"
},
"price": {
"value": 5,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 5 + 1d5"
}
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Тигровый глаз",
"type": "loot",
"img": "icons/commodities/gems/gem-rough-square-orange-red.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 4 + 1d4"
}
},
"system": {
"description": {
"value": "<p>Один из самых распространенных драгоценных камней, используемый в качестве статусного аксессуара среди простолюдинов, так как он имеет золотисто-черный цвет. Из-за высокого спроса, в зависимости от региона, он может быть довольно редким. В большинстве суеверных групп считается, что этот камень отпугивает нежить и беспокойных духов.</p>",
"chat": ""
},
"source": {
"custom": "KCoTG"
},
"quantity": 1,
"weight": {
"value": 0.01,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
}
}
@@ -0,0 +1,45 @@
{
"name": "Увеличительное стекло / Magnifying Glass",
"type": "loot",
"img": "icons/tools/scribal/magnifying-glass.webp",
"system": {
"description": {
"value": "<p>Позволяет разглядеть мелкие предметы. Может также служить заменой кремню и кресалу для разжигания костра. Чтобы разжечь костёр с помощью увеличительного стекла, требуется яркий свет (как солнечный), который можно сфокусировать, трут для поджигания и примерно 5 минут, прежде чем пламя разгорится. Увеличительное стекло даёт преимущество ко всем проверкам характеристик, требуемым для оценки и изучения маленьких или детальных предметов.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 100,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Magnifying Glass"
},
"test_tube_merchant": {
"quantity": "1d3 * 2 + 1d2"
}
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"name": "Железо",
"type": "loot",
"img": "modules/test_tube_merchant/assets/icon/items/Iron.png",
"system": {
"description": {
"value": "Железный слиток, используется в различных ремеслах.",
"chat": ""
},
"source": {
"custom": "КИ 157"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 1,
"denomination": "sp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 5 + 1d5"
}
}
}