a
This commit is contained in:
parent
d163ceb291
commit
f6d7412744
94 changed files with 3836 additions and 1226 deletions
|
|
@ -109,6 +109,7 @@
|
|||
if (!worldRef || !tarinai || tarinai.dead || !hasConsumableAmount(item)) return null;
|
||||
if (typeof global.consumeBehaviorTarget !== "function") return null;
|
||||
const type = itemType(item);
|
||||
if (tarinai.isZunchiSlave && type === "sweet") return null;
|
||||
const label = typeof global.toolLabel === "function" ? global.toolLabel(type) : type;
|
||||
const healthNeedBefore = Number(tarinai.needs?.health);
|
||||
const consumed = global.consumeBehaviorTarget(tarinai, worldRef, item, roleFor(item), 0.18);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue