lua.wetgenes.gamecake.fun.yarn.items.iterate_parents
for it in item:iterate_parents() do
...
end
Iterate over the parent chain going upwards. The first iteration is the parent of this object and so on.
for it in item:iterate_parents() do
...
end
Iterate over the parent chain going upwards. The first iteration is the parent of this object and so on.