Skip to content

Commit

Permalink
12.400.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jopeek committed Sep 16, 2024
1 parent 8ddde21 commit 591c78d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions lang/en.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"LOOTSHEET.SheetName": "MerchantLootSheet",
"LOOTSHEET.SheetName": "Loot Sheet NPC 5e",
"LOOTSHEET.Merchant":"Merchant",
"LOOTSHEET.Loot":"Loot",
"LOOTSHEET.Buy":"Buy item",
"LOOTSHEET.BuyStack":"Buy Stack",
"LOOTSHEET.LootStack":"Loot Stack",
"LOOTSHEET.Loot":"Loot Item",
"LOOTSHEET.LootItem":"Loot Item",
"LOOTSHEET.EditItem":"Edit Item",
"LOOTSHEET.DeleteItem":"Delete Item",
"LOOTSHEET.TypeOfSheetName":"Type",
Expand Down
3 changes: 2 additions & 1 deletion lang/ru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"LOOTSHEET:SheetName": "Лист торговца и сундука",
"LOOTSHEET.SheetName": "Лист торговца и сундука",
"LOOTSHEET.Merchant":"Торговец",
"LOOTSHEET.Loot":"добыча",
"LOOTSHEET.Buy":"Купить",
"LOOTSHEET.BuyStack":"Купить несколько",
"LOOTSHEET.Quantity":"Количество"
Expand Down
2 changes: 1 addition & 1 deletion lootsheet-simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ class LootSheet5eNPC extends dnd5e.applications.actor.ActorSheet5eNPC {

//Register the loot sheet
Actors.registerSheet("dnd5e", LootSheet5eNPC, {
label: "LOOTSHEET:SheetName",
label: "LOOTSHEET.SheetName",
types: ["npc"],
makeDefault: false,
});
Expand Down
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Loot Sheet NPC 5e (Simple Version)",
"description": "This module adds an additional NPC sheet which can be used for loot containers such as chests or shopkeepers.",
"version": "12.400.2",
"version": "12.400.3",
"esmodules": [
"/lootsheet-simple.js"
],
Expand All @@ -25,8 +25,8 @@
"type": "system",
"compatibility": {
"minimum": "2.2.2",
"verified": "3.3.1",
"maximum": "3.9.9"
"verified": "4.0.0",
"maximum": "4.9.9"
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions template/npc-sheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ <h3 class="gm-header"><i class="fas fa-id-card"></i> {{localize "LOOTSHEET.TypeO
<select class="sheet-type" name="system.flags.lootsheet-simple.lootsheettype">
{{#select system.flags.lootsheet-simple.lootsheettype}}
{{#ifeq lootsheettype "Merchant"}}
<option value="Loot" selected>{{localize "ITEM.TypeLoot"}}</option>
<option value="Loot" selected>{{localize "LOOTSHEET.Loot"}}</option>
{{else}}
<option value="Loot">{{localize "ITEM.TypeLoot"}}</option>
<option value="Loot">{{localize "LOOTSHEET.Loot"}}</option>
{{/ifeq}}
{{#ifeq lootsheettype "Merchant"}}
<option value="Merchant" selected>{{localize "LOOTSHEET.Merchant"}}</option>
Expand Down

0 comments on commit 591c78d

Please sign in to comment.