FG-Unofficial-Developers-Guild / FG-Unofficial-Developers-Guild/FG-CoreRPG-Extraplanar-Containers

Collapsing container issues

Đang mở
#22 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Lua
Star
7
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

https://www.fantasygrounds.com/forums/showthread.php?67126-PFRPG-Extraplanar-Containers&p=727120&viewfull=1#post727120

> Tested with many extensions, and with only this one alone. The same behavior is observed. (v. 1.21 from GitHub)
>
> With this extension loaded...
> 1. Create a [I]Container[/I] entry in the PC inventory
> 2. Add an [I]Item[/I] to the PC inventory and add the [I]ContainerName[/I] to the [I]Location[/I] field
> 3. Double click the [I]Container[/I] to collapse it
> - This does collapse it, and adds a [B][+][/B] to the Container's name.
> - Double-click again to expand the container, and the [+] is removed
> - This moves the location (makes sense, it always did...resorting alphabetically with the [+] and without.
>
> Only, here's the issue I'm seeing:
> - For this example, I am using [I]0. ACTION ONLY (bag)[/I] (where I store an [I]Improvised Weapon[/I], [I]Unarmed Attack[/I], and [I]Shield Bash[/I] item - so they appear in the Weapon List for the character. Though the same happens in more traditional containers too.
>
> 1. I assign [I]0. ACTION ONLY (bag)[/I] as the location for the [I]Shield Bash[/I] item
> - The inventory UX successfully shifts the item from its purely alphabetical location, it appears under the [I]0. ACTION ONLY (bag)[/I] entry as desired.
> 2. I double-click the container to collapse it
> - As note above, it amends the ContainerName with the [B][+][/B] as if it were collapsed, but does not also amend the name for that entry in the Location column for assigned items.
> - As such, the associated item is still looking (it appears) for the name without the [+] and does not "collapse into" the container. If memory serves, the [+] didn't get amended to the individual item entry locations in the past...my suspicion is that the sorting previously ignored the [+].
> - If I manually add [+] to LocationName in the Location field for the item it will accurately [I]sort [/I]it to be under and indented as "belonging" to the container...but it's still [I]visible [/I]in the inventory list. It doesn't actually collapse or hide inventory.
>
> I hope this helps. :(

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.