Релиз 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
+117
View File
@@ -0,0 +1,117 @@
{
"name": "Побег омелы / Sprig of Mistletoe",
"type": "weapon",
"img": "icons/consumables/plants/fern-lady-green.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 5 + 1d5"
}
},
"system": {
"description": {
"value": "<p>Живая веточка омелы, остролиста или какого-нибудь другого священного листа, сорванная с дерева, корни которого глубоко погружены в линию сил. Те, кто прислушивается к зову природы, способны использовать эту связь, чтобы вызвать невероятную силу природы.</p>\n<p><strong>Фокусирующий предмет друида</strong>. Это особый предмет, предназначенный для направления энергии заклинаний из списка заклинаний друида. Друид может использовать этот предмет вместо любых реагентов для заклинаний, кроме тех, для которых указана стоимость.</p>",
"chat": ""
},
"source": {
"custom": "PHB pg. 151"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 1,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "common",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"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": "",
"amount": null,
"scale": false
},
"ability": "",
"actionType": "util",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": 10
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"properties": [
"foc",
"mgc"
],
"proficient": 0,
"unidentified": {
"description": ""
},
"type": {
"value": "natural",
"baseItem": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
},
"folder": null
}
+105
View File
@@ -0,0 +1,105 @@
{
"name": "Разные цветы",
"type": "consumable",
"img": "modules/test_tube_merchant/assets/icon/items/any_flowers.png",
"system": {
"description": {
"value": "<p>Некачественный букет из дикорастущих цветов</p>",
"chat": ""
},
"source": {
"custom": ""
},
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"quantity": 1,
"weight": {
"value": 0.2,
"units": "lb"
},
"price": {
"value": 1,
"denomination": "cp"
},
"rarity": "",
"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,
"autoDestroy": false
},
"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,
"type": {
"value": "trinket",
"subtype": ""
},
"magicalBonus": null,
"properties": []
},
"effects": [],
"folder": null,
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 5 + 1d5"
}
}
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Семена — Полевые цветы",
"type": "loot",
"system": {
"description": {
"value": "<p>Вырастет до 60 полевых цветов. Вырастают за 100 дней.</p>",
"chat": ""
},
"source": {
"custom": ""
},
"quantity": 1,
"weight": {
"value": 1,
"units": "lb"
},
"price": {
"value": 4,
"denomination": "cp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"img": "modules/test_tube_merchant/assets/icon/items/wild_flowers.png",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 10 + 1d10"
}
},
"folder": null
}
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Семена — Пшеница",
"type": "loot",
"system": {
"description": {
"value": "<p>Семена пшеницы — это маленькие коричневые семена, которые получают из колоса пшеницы. Они используются для выращивания пшеницы — зерна, которое после помола используется для приготовления хлеба, пасты и других хлебобулочных изделий. Это один из самых продаваемых товаров, наряду с семенами кукурузы.</p>",
"chat": ""
},
"source": {
"custom": ""
},
"quantity": 1,
"weight": {
"value": 1,
"units": "lb"
},
"price": {
"value": 2,
"denomination": "cp"
},
"rarity": "common",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"img": "icons/consumables/grains/wheat-yellow.webp",
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "1d3 * 20 + 1d20"
}
},
"folder": null
}