Files
necromants-tome-7d2d-3-2/Config/loot.xml
T
Alex CubeandClaude Opus 5 e8f064f5ec Книга некроманта 1.0 — первая публичная версия
Мод для 7 Days to Die 3.2: навык «Некромантия», растущий от счётчика убитых
зомби, тёмное оружие с шестью собственными модами, призывная нежить, пирамида
духов и сюжетный финал через Чёрный портал. Локализация на 13 языках.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MaNro5hAGTzcQ7rJNN2tCX
2026-09-09 21:13:03 +03:00

44 lines
2.8 KiB
XML

<config>
<!-- "Жертва" (Victim) green loot bag - BACKLOG.md item 5, Necromancer's Knife. Guaranteed
drop off a zombie killed while carrying buffNecroVictim (see HarmonySrc/VictimPatch.cs,
which force-spawns EntityLootContainerVictim from entityclasses.xml on death, bypassing
the normal LootDropProb roll entirely).
Contents per user: random hides (usually one or none), rotten flesh, bones, and a chance
at "Кожа жертвы" (resourceVictimSkin, items.xml) - a crafting resource for summon books.
Exact counts/chance are a guess where the user didn't give numbers - count="0,1" for the
hide reads as "как правило одна или ноль" directly; flesh/bone ranges and the 15% skin
chance are otherwise reasonable defaults, not specified. Say if any of these should change.
UPDATED 2026-08-29 (BACKLOG.md item 8, dictated same day): foodRottingFlesh/resourceBone
removed per direct instruction - the mesh no longer drops the two generic zombie-corpse
staples. Replaced with a random chance at resourceZombieAsh ("Прах зомби") instead, a new
crafting resource fed into the other necromancy recipes (see recipes.xml - deliberately
NOT the Knife's own recipe, to avoid a craft-the-knife-to-get-ash-to-craft-the-knife loop).
Chance/count not specified by the user - guessed at the same shape as resourceVictimSkin's
own 15% (bumped the count up a little since ash is meant to actually get used as a
multi-unit crafting ingredient, unlike the skin). Say if this should change.
BUG FIXED 2026-08-28 (whole file failed to load, so NONE of this was active in-game -
"Loading and parsing 'loot.xml' failed" / "lootgroup 'groupZpackVictim' does not exist or
has not been defined before being referenced"): the lootgroup a lootcontainer's <item
group="..."/> points at must be defined EARLIER in load order, same file or not - vanilla
loot.xml itself always defines groupZpackReg etc. (~line 6589) well before the
lootcontainer that references it (~line 9971). Originally had the container's <append>
block first and the group's second; swapped so the group append comes first. Keep this
append-order intact when editing below - it's what makes the file load at all. -->
<append xpath="/lootcontainers">
<lootgroup name="groupZpackVictim" count="all">
<item name="resourceLeather" count="0,1"/>
<item name="resourceZombieAsh" count="1,4" prob="0.4"/>
<item name="resourceVictimSkin" count="1" prob="0.15"/>
</lootgroup>
</append>
<append xpath="/lootcontainers">
<lootcontainer name="zPackVictim" count="1" size="6,3" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1" loot_quality_template="qualBaseTemplate">
<item group="groupZpackVictim"/>
</lootcontainer>
</append>
</config>