Coder Social home page Coder Social logo

[BUG] - Saving settings for an item pile (icons for closed/open etc) doesn't transfer to a new pile? about foundryvtt-itempiles HOT 12 CLOSED

fantasycalendar avatar fantasycalendar commented on August 29, 2024
[BUG] - Saving settings for an item pile (icons for closed/open etc) doesn't transfer to a new pile?

from foundryvtt-itempiles.

Comments (12)

Haxxer avatar Haxxer commented on August 29, 2024

Any errors in the console?

from foundryvtt-itempiles.

nirurin avatar nirurin commented on August 29, 2024

Nothing I can see.

The only solution I just found, was to place the pile onto the map, set up the settings for it, and then ctrl-C / ctrl-v to copy it. This gives me multiple chests which all have the proper image setups.

I haven't experimented with changing the 'default item pile' settings, cos the wiki specifically says not to change those, and to instead create duplicates. So I wonder if the issue is something to do with me making and renaming a duplicate? The duplicate pile drops as an item pile, but uses the default settings instead of the settings on the duplicate.

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

It should work, I'll attempt on my end and get back to you

from foundryvtt-itempiles.

nirurin avatar nirurin commented on August 29, 2024

As another thing (which again, not sure if it's a bug or just me), but the chest icons are a bit small at 0.8 scale (which seems to be the default for a container, even though its only a setting in the 'single item' menu), so I manually change them to 1.2 scale... except that every time I edit the contents (eg. add another item) the chest reverts back to 0.8 scale (this is in the 'token' settings, not in the item pile settings).

Hate to sound like I'm complaining, cos I love this module already, just a couple of niggles. Still planning to use it!

Edit: If I untick the 'scale' option under the single item menu, it stops rescaling, so it seems to be looking at that scale option even when the pile is a container?

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

Have you turned off "display one"? It forces a scale when the pile only has one item.

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

A pile may still be a container (locked, opened), if it chooses to display one image and a scale

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

If you have any queries about the usage of the module, please write on the foundry discord server, rather than in a bug ticket

from foundryvtt-itempiles.

nirurin avatar nirurin commented on August 29, 2024

Haha just edited to say that the scale in 'single item' seemed to be the problem (disabling it stops the rescaling), though the item pile is set to be a container and isn't showing a single item image, so it still seems a little off. The image being displayed is the chest icons, but yeh its scaling the chest using the single-item rules.

Though actually it did have 'two items' , in that there were caltrops and some gold. So I guess Gold doesn't count as an item.

At the time it seemed like a bug, but as Gold isn't being treated as an 'item' I guess it makes sense. Easy enough to work around.

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

Okay, initial investigations:

  • You are correct, the prototype token is never updated, which means that dragging out new tokens will behave as fresh ones
  • I can see where the logic breaks down where having it as a container always overwrites the image but only sometimes the scale. I will make it so that Is Container always wins out in these instances
  • I will include gold and such things in the Display one mode

Thank you for your feedback!

from foundryvtt-itempiles.

nirurin avatar nirurin commented on August 29, 2024

"You are correct, the prototype token is never updated, which means that dragging out new tokens will behave as fresh ones"

Sorry just to clarify - Is this how it's -meant- to be working? Or are you planning to tweak it so that the prototype settings will actually carry over to placed tokens?

I'm only asking so that I know whether to carry on using my workaround, or just hang on for an update, I'm happy either way!

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

It is meant to be working, yes.

from foundryvtt-itempiles.

Haxxer avatar Haxxer commented on August 29, 2024

Fixed in 1.1.3

from foundryvtt-itempiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.