You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (item.type == "weapon") {
if (item.system.worn) {
// TODO limit 3
equippedWeapons.push(item);
} else {
inventory.push(item);
}
// weapons can be mementos
if (item.system.memento && this.actor.type == "character") {
if (!memento) {
memento = item;
} else {
// Memento slot busy. Clear flag and process as normal item
item.update({ ["system.memento"]: false });
}
}
continue;
}
As seen weapons is never on any condition added to the smallitems collection.
The text was updated successfully, but these errors were encountered:
I have noticed that tiny/small items don't work for weapons. I had a look in the code and it seems like it only works for "items".
eg. item below:
weapon below:
As seen weapons is never on any condition added to the smallitems collection.
The text was updated successfully, but these errors were encountered: