Update characters_base implementation, assets and documentation

This commit is contained in:
cthangover committed 2026-10-31 15:28:49 +03:00
1 parent 7ad73c00fc
commit f476eac551
4 files changed
+48

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
characters/schema/field/loot = Loot
characters/schema/field/loot_desc = What drops from the character when it is defeated as an enemy: an item, a count and a chance.
characters/schema/field/loot_item = Item
characters/schema/field/loot_min = At least
characters/schema/field/loot_max = At most
characters/schema/field/loot_probability = Chance, %
characters/schema/field/loot_probability_desc = From 0 to 100: how likely the item drops.
+7
View File
@@ -0,0 +1,7 @@
characters/schema/field/loot = Добыча
characters/schema/field/loot_desc = Что выпадает из персонажа, когда его побеждают как врага: предмет, число и шанс.
characters/schema/field/loot_item = Предмет
characters/schema/field/loot_min = Не меньше
characters/schema/field/loot_max = Не больше
characters/schema/field/loot_probability = Шанс, %
characters/schema/field/loot_probability_desc = От 0 до 100: с каким шансом предмет выпадет.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 225 KiB

+34
View File
@@ -91,6 +91,40 @@
"Type": "ref_list",
"Kind": "action",
"Name": "characters/schema/field/actions"
},
{
"Key": "Loot",
"Type": "list",
"Name": "characters/schema/field/loot",
"Description": "characters/schema/field/loot_desc",
"Of": [
{
"Key": "ItemId",
"Type": "ref",
"Kind": "item",
"Required": true,
"Name": "characters/schema/field/loot_item"
},
{
"Key": "MinCount",
"Type": "int",
"Default": "1",
"Name": "characters/schema/field/loot_min"
},
{
"Key": "MaxCount",
"Type": "int",
"Default": "1",
"Name": "characters/schema/field/loot_max"
},
{
"Key": "Probability",
"Type": "int",
"Default": "100",
"Name": "characters/schema/field/loot_probability",
"Description": "characters/schema/field/loot_probability_desc"
}
]
}
]
},