Изменено: - Поддержка новых типов товаров: "Механические приспособления" и "Религиозные товары". - Добавлена возможность случайной генерации уровня торговца. - Улучшена производительность при загрузке предметов из компендиумов. - Обновлены тексты описаний для категорий товаров. - Исправлена ошибка при добавлении предметов к торговцу (см. `module/data.mjs`, строки 2436-2446). - Исправлена проблема с отображением характеристик торговца в интерфейсе.
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"name": "Эльфийский плащ / Cloak of Elvenkind",
|
||||
"type": "equipment",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Cloak%20of%20Elvenkind.webp",
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"srd5e": {
|
||||
"page": "",
|
||||
"source": "DMG",
|
||||
"hash": "cloak%20of%20elvenkind_dmg"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1"
|
||||
},
|
||||
"babele": {
|
||||
"hasTranslation": true,
|
||||
"originalName": "Cloak of Elvenkind",
|
||||
"translated": true
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<div><p><em>Чудесный предмет, (требуется настроенность)</em></p><p>Пока вы носите этот плащ, надвинув капюшон, проверки Мудрости (Внимание) при попытке увидеть вас получают помеху, а у вас преимущество к проверкам Ловкости (Скрытность), чтобы спрятаться, поскольку плащ меняет цвет, маскируя вас. Чтобы надвинуть или снять капюшон, требуется действие.</p></div>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "DMG"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 0,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 500,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "required",
|
||||
"equipped": true,
|
||||
"rarity": "uncommon",
|
||||
"identified": true,
|
||||
"activation": {
|
||||
"type": "action",
|
||||
"cost": 1,
|
||||
"condition": "Hood must be up."
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": 5,
|
||||
"long": 0,
|
||||
"units": "ft"
|
||||
},
|
||||
"uses": {
|
||||
"value": null,
|
||||
"max": "",
|
||||
"per": null,
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": "",
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": "",
|
||||
"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": 0,
|
||||
"proficient": 1,
|
||||
"crewed": false,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "clothing",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "5",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"name": "Перчатки воровства / Gloves of Thievery",
|
||||
"type": "equipment",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Gloves%20of%20Thievery.webp",
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"srd5e": {
|
||||
"page": "",
|
||||
"source": "DMG",
|
||||
"hash": "gloves%20of%20thievery_dmg"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1"
|
||||
},
|
||||
"babele": {
|
||||
"hasTranslation": true,
|
||||
"originalName": "Gloves of Thievery",
|
||||
"translated": true
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Эти перчатки &reference[invisible]{невидимы}, когда надеты. Пока вы носите их, вы получаете бонус <strong>+5</strong> к проверкам <strong>Ловкости </strong>(Ловкость рук) и проверкам <strong>Ловкости </strong>для взлома замков.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "DMG"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 0,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 500,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": true,
|
||||
"rarity": "uncommon",
|
||||
"identified": true,
|
||||
"activation": {
|
||||
"type": "",
|
||||
"cost": 0,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"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": "",
|
||||
"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": 1,
|
||||
"crewed": false,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "trinket",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
}
|
||||
}
|
||||
+184
@@ -0,0 +1,184 @@
|
||||
{
|
||||
"name": "Яд виверны / Wyvern Poison",
|
||||
"type": "consumable",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Wyvern%20Poison.webp",
|
||||
"effects": [
|
||||
{
|
||||
"name": "Яд виверны / Wyvern Poison",
|
||||
"flags": {
|
||||
"dnd5e": {
|
||||
"type": "enchantment",
|
||||
"enchantment": {
|
||||
"level": {
|
||||
"min": null,
|
||||
"max": null
|
||||
},
|
||||
"riders": {
|
||||
"effect": [],
|
||||
"item": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"dae": {
|
||||
"stackable": "noneName",
|
||||
"showIcon": false,
|
||||
"durationExpression": "",
|
||||
"specialDuration": []
|
||||
}
|
||||
},
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Wyvern%20Poison.webp",
|
||||
"_id": "9jPrWmDSuh0UH8Hy",
|
||||
"type": "base",
|
||||
"system": {},
|
||||
"changes": [
|
||||
{
|
||||
"key": "system.damage.parts",
|
||||
"mode": 2,
|
||||
"value": "[[\"7d6\",\"poison\"]]",
|
||||
"priority": 20
|
||||
}
|
||||
],
|
||||
"disabled": false,
|
||||
"duration": {
|
||||
"startTime": null,
|
||||
"seconds": null,
|
||||
"combat": null,
|
||||
"rounds": null,
|
||||
"turns": null,
|
||||
"startRound": null,
|
||||
"startTurn": null
|
||||
},
|
||||
"description": "",
|
||||
"origin": null,
|
||||
"tint": "#ffffff",
|
||||
"transfer": false,
|
||||
"statuses": [],
|
||||
"sort": 0,
|
||||
"_stats": {
|
||||
"compendiumSource": null,
|
||||
"duplicateSource": null,
|
||||
"coreVersion": "12.327",
|
||||
"systemId": "dnd5e",
|
||||
"systemVersion": "3.3.1",
|
||||
"createdTime": 1724697044002,
|
||||
"modifiedTime": 1724697077463,
|
||||
"lastModifiedBy": "uygtCpIWAtXlcaXr"
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags": {
|
||||
"srd5e": {
|
||||
"page": "",
|
||||
"source": "DMG",
|
||||
"hash": "wyvern%20poison_dmg"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "(1d2 - 1) * 1d2"
|
||||
},
|
||||
"babele": {
|
||||
"hasTranslation": true,
|
||||
"originalName": "Wyvern Poison",
|
||||
"translated": true
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<div>\n<p>Этот яд собирают с мёртвой или &reference[incapacitated]{выведенной из строя} @Compendium[laaru-dnd5-hw.monsters.SPb8S9ZEOVkYXh16]{виверны}. Цель должна пройти испытание Выносливости со СЛ <strong>15</strong>, иначе получит 24 [[/r 7d6]] урона ядом при провале или половину этого урона при успехе.</p>\n</div>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "DMG"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 0,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 1200,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": false,
|
||||
"rarity": "",
|
||||
"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": "",
|
||||
"autoDestroy": false,
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": "",
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": "",
|
||||
"actionType": "ench",
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "poison",
|
||||
"subtype": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": {
|
||||
"classIdentifier": "",
|
||||
"restrictions": {
|
||||
"allowMagical": true,
|
||||
"type": "weapon"
|
||||
},
|
||||
"items": {}
|
||||
},
|
||||
"summons": null,
|
||||
"magicalBonus": null,
|
||||
"properties": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"name": "Ядовитый кинжал / Dagger of Venom",
|
||||
"type": "weapon",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Dagger%20of%20Venom.webp",
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"srd5e": {
|
||||
"page": "",
|
||||
"source": "DMG",
|
||||
"hash": "dagger%20of%20venom_dmg"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1"
|
||||
},
|
||||
"babele": {
|
||||
"hasTranslation": true,
|
||||
"originalName": "Dagger of Venom",
|
||||
"translated": true
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Вы получаете бонус +1 к броскам атаки и урона этим магическим оружием.</p><p>Вы можете использовать действие, чтобы лезвие покрылось густым чёрным ядом. Яд существует 1 минуту или пока атака этим оружием не попадёт в существо. Это существо должно пройти испытание Выносливости со СЛ <strong>15</strong>, при провале оно получит [[/r 2d10]] урона ядом и &reference[poisoned]{отравлено} на 1 минуту. Кинжал нельзя использовать так снова до следующего рассвета.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "DMG"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 1,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 5000,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": true,
|
||||
"rarity": "rare",
|
||||
"identified": true,
|
||||
"activation": {
|
||||
"type": "action",
|
||||
"cost": 1,
|
||||
"condition": ""
|
||||
},
|
||||
"duration": {
|
||||
"value": "",
|
||||
"units": ""
|
||||
},
|
||||
"cover": null,
|
||||
"target": {
|
||||
"value": "",
|
||||
"width": null,
|
||||
"units": "",
|
||||
"type": "",
|
||||
"prompt": true
|
||||
},
|
||||
"range": {
|
||||
"value": 20,
|
||||
"long": 60,
|
||||
"units": "ft"
|
||||
},
|
||||
"uses": {
|
||||
"value": 1,
|
||||
"max": "1",
|
||||
"per": "day",
|
||||
"recovery": "",
|
||||
"prompt": true
|
||||
},
|
||||
"consume": {
|
||||
"type": "",
|
||||
"target": "",
|
||||
"amount": null,
|
||||
"scale": false
|
||||
},
|
||||
"ability": "",
|
||||
"actionType": "mwak",
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [
|
||||
[
|
||||
"1d4 + @mod +1",
|
||||
"piercing"
|
||||
]
|
||||
],
|
||||
"versatile": ""
|
||||
},
|
||||
"formula": "2d10",
|
||||
"save": {
|
||||
"ability": "con",
|
||||
"dc": 15,
|
||||
"scaling": "flat"
|
||||
},
|
||||
"armor": {
|
||||
"value": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"properties": [
|
||||
"lgt",
|
||||
"mgc",
|
||||
"thr",
|
||||
"fin"
|
||||
],
|
||||
"proficient": 1,
|
||||
"crewed": false,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "simpleM",
|
||||
"baseItem": "dagger"
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "1",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"magicalBonus": null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user