OhhLoz / Harvester

A QoL FoundryVTT module to improve the harvesting and looting experience.
GNU General Public License v3.0
2 stars 2 forks source link

Update settings.js and module.js to integrate Item Piles #29

Closed ctbritt closed 7 months ago

ctbritt commented 8 months ago

This gives rudimentary Item Piles integration. The token must be an item pile already before being harvested. Once the skill check is made, any items generated will be added to the item pile. Loot is not handled.

This adds a new setting Automatically Assign Items to Item Piles

CleanShot 2024-01-05 at 16 18 16@2x

You'll want both auto assigns to be checked to use this functionality.

This is how I play. It is not how others play, so this is fairly specialized. I use Monk's Token Bar to convert all my dead tokens to item piles automatically at the end of combat. Not everyone does this. With some finesses and attention, I'm sure this could be improved and made more universal.

p4535992 commented 7 months ago

Hey @ctbritt sorry for the delay is this ready to merge ?

ctbritt commented 7 months ago

I just updated the changes I made for the latest version (I think). It should be good to go with the usual caveats that this is a specific playstyle.

p4535992 commented 7 months ago

K I integrated your code, forgive me, but I couldn't solve the git conflicts in a "smart" way, so I just included your code manually