#Item Piles is going system-agnostic
1 messages ยท Page 1 of 1 (latest)
Going to the itempilednd5e link takes me to the foundry system and modules page and not to the itempilednd5e module
Hi there!
I just downloaded Item Piles D&D 5e module, but I cannot enable it due to issues in dependencies. What else do I need to install for it to work?
Or it won't work with the 4.4.1 system?
Nice! And that's all we need to do right? Just enable and configure as normal?
Yep.
Hi, in v12 I was able to have a custom column for merchants. It was specified in the Twodsix system using the item-piles-ready Hook. It looks like
"PILE_DEFAULTS": {
"merchantColumns": [{
"label": "TWODSIX.Actor.Items.TL",
"path": "system.techLevel",
"formatting": "{#}",
"mapping": {}
}]
},
In the v13 update, these custom colums no longer appear for the merchant. Is there something new in the API I'm missing? Thanks.
Have you tried to create a new merchant?
Yes, I did create a new store. The full integration is here if that helps https://github.com/xdy/twodsix-foundryvtt/blob/master/src/module/hooks/itemPilesIntegration.ts
are there any plans for a pf2e compatibility module? or is this a project someone else needs to take up
I ask cause my pf2e module uses Item Piles as a soft dependency for merchant shop interfaces, and I'm looking into v13
I second the question about PF2e ๐
I am not planning to create a pf2e module
If someone wants to create one: https://github.com/fantasycalendar/FoundryVTT-ItemPiles/blob/master/systems/pf2e.js
thanks for the info ๐๐ผ
I have fixed it in 3.2.8
Thank you - works great.
i'm trying to get this set up for SWADE, if anyone would like to give me a hand, its just not clicking for me
Have you read the message that Item Piles posts when you logged in on v13, and have you read this?
https://fantasycomputer.works/FoundryVTT-ItemPiles/#/contributing-to-item-piles?id=adding-system-support
Actually, it seems that SWADE baked it into their system 5.0.2 for v13.... all i needed was your Item Piles core
This is a template repository that you can use to create a new system specific Item Piles companion module: https://github.com/fantasycalendar/FoundryVTT-ItemPiles-System-Template
well i've put together a pf2e compatibility module using your system template https://github.com/mechamaya/itempiles-pf2e awaiting foundry approval
PREVIEW_ITEM_TRANSFORMER won't work - you'll need to create your own dialog
You've used TJSDialog: https://github.com/mechamaya/itempiles-pf2e/blob/main/module.js#L51
That's not a foundry thing, that was an item piles thing
as of right now i just copied what was in the old config for pf2e
Copying directly from the item piles repo isn't going to work 1-to-1 since item piles uses a lot of custom stuff that you won't have access to
Essentially that bit was to be able to spawn a preview window of items for users who doesn't have permission to view them
Gotcha, would it be possible to leave that out for now until a new solution can be added? Or is it essential to function
I'd say comment out the comments of the method and return false
Where does this preview window pop up? So I can try to test for errors? I've been trying to test the functionality of item piles with this config and so far all appears to be working but I need to test some more
on users that dont have permission who are viewing a pile?
Alright sorted. Luckily I don't think that preview window is hugely useful in pf2e as all it tells you is the unidentified item text. So for now it'll just open no preview if item is unidentified and the player is not GM, else just show the usual item window.
So, sorry, for PF2E, is all I have to do install the pf2e companion and activate it?
Then it'll just work?
yep that's the idea
Hell yeah, thank you!
you install it alongside item piles
Dumb question, but when you say install it "along side" - can you elaborate? I unzipped it in the same general folder as the rest of my mods, but that doesn't seem to do the trick
uhh
like just install it
the same way you install any other module
by alongside i just mean you need both Item Piles and Item Piles PF2e installed simultaneously
hmm. I must be rusty. Usually I take the manifest URL and pop it into the install module field. That Manifest url is usually pretty obvious for me but this one eludes me
if you install Item Piles PF2e through foundry it will try to automatically install Item Piles for you, as a dependency
That makes sense to me. I suppose a more direct way to ask this is - Where can I find the manifest link on your github?
it has been approved so it should be on the foundry package list
i can give you the direct link to the manifest if you need it but yeah that is way easier lol
And there it is.
Thank you so much Maya.
Appreciate the hard work.
now, back to the crimson throne!
enjoy ๐๐ผ
Hey everyone, so I have a question about item piles. So I saw that I now need to create my own separate module to work. I looked how it was for DND5e and managed to bring back all the stuff, but I have one issue, I can toggle on any sheet to be treated as an item piles (chest, merchant), but each times I close the sheet, it goes back to a normal character sheet, is there any fix? It's on a custom system and I'm still using V1 app, don't know if that's related
Custom systems will require a custom solution - is your system available to download anywhere?
hey! Sorry I took some time off, I needed to do some important stuff. My system is not available, I'm still working on it when I have some spare time
I also noticed that if I drop any of the merchants or the chests on the canvas, when I open their sheets, they do appears as intended, it's just when I want to open them directly from the character tab that they are not rendered correctly
Ok so I also tried with DND5e just to check and it seems like there is the same issue, if you open any item piles sheet, not with the token on the canvas, but on the right side in the actor tab, the default actor sheet is always opened as well
Both the default actor sheet and the merchant sheet are opened, in my custom system, only the default actor sheet does appear
Oh I see, with the specific item piles modules for dnd, I only see the merchant sheet now
If I can get any help with that, I still haven't really managed to fix the issue
Quick follow-up โ still trying to fix an issue in my custom system: Item Piles sheets open fine from tokens on the canvas, but not from the actor tab (only the default sheet opens).
It seems to work in DND5E thanks to its dedicated integration, so I guess I need something similar, but Iโm not sure what exactly.
Any tips or code pointers would be much appreciated
It could be as simple as something like this:
https://github.com/vttred/ose/blob/main/src/module/fvttModuleAPIs.js#L7-L62
This is support for Item Piles baked directly into a system.
Without seeing your system code directly, I can't really support you past this point.
Yes! I created a system support for my system, I did something like this :
As I said, the issue is from the fact that, if I open the sheet on a merchant or a chest from the right tab, the default actor sheet is opened, and not the item piles sheet, so I wonder where the issue could come from, because if I open the sheet by the token on the canvas, the item piles sheet is displayed as intended
That's some very flat code ;P
What actor sheet base class are you using for your system?
You may need to do something like this:
Thank you so much! I was really lost, and sorry for the flat code lol, but yeah it's fully working now, many thanks
If you have full control over the system code, why not just integrate item piles into your system?
And override the render() function if it's an item pile?
oh damn, some reason i never got notified about that PR, i will look at it ๐