-
April 16th, 2014, 16:35 #1
- Join Date
- Jul 2007
- Location
- Upstate New York
- Posts
- 183
Inventory Item Applied Weight Checkbox
I've always liked how the inventory arranged your gear by item location so that you could see everything in your backpack indented below it.
I also liked that when you unchecked the backpack from applied weight, everything in the backpack was also unchecked. You dropped your backpack and everything in it. Great.
It looks as though this part of the feature has recently changed. I uncheck the backpack and the contents are still checked and added to my applied weight.
Is this an intended feature change?
Seen while running v3.03 with the core 3.5 and Pathfinder rulesets.
-
April 16th, 2014, 20:39 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
As far as I know, the apply weight checkbox was never linked to items contained, at least for the last couple years that I can remember and have code for.
That said, the inventory has not had a great "container" system. It's mainly just the indenting and sorting based on the Location field.
JPG
-
April 19th, 2014, 00:36 #3
- Join Date
- Nov 2008
- Location
- Surrey, England
- Posts
- 273
I agree with d1wright. This used to be a great time-saving feature of the inventory (whether by accident or design) with versions prior to 3.0. It would be great to get it back.
-
April 19th, 2014, 01:25 #4
This did used to work asd1wright and Myrddin describe above, I've just tested this with the 3.5e 2.9.3 ruleset and it works as follows:
Initial example with a couple of items in the backpack - all weight icons are ticked:
Then, to"drop" the backpack, just remove the tick/check for the backpack and the ticks are automatically removed for all of the items located in the backpack and so the weight of all items in the backpack is removed as well:
The difference in the 3.0 ruleset is that none of the extra ticks are removed, so the weight is not adjusted accordingly.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 19th, 2014, 01:57 #5
Follow up:
There is code in 3.5e v2.9.3 the button_checkbox control that does this which is not in CoreRPG:
Code:<button_checkbox name="carried"> <bounds>-58,4,12,12</bounds> <checked /> <script> function onValueChanged() if window.name.getValue() ~= "" then for _,v in ipairs(window.windowlist.getWindows()) do if v.location.getValue() == window.name.getValue() then v.carried.setState(getState()); end end end local nodeWin = window.getDatabaseNode(); if nodeWin then CharManager.updateEncumbrance(nodeWin.getChild("...")); end end </script> </button_checkbox>
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 19th, 2014, 04:13 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
Thanks for the legwork, Trenloe. I didn't even notice that happened before. Seems simple enough to add back in, hopefully; so I'll look into 3.0.4 inclusion.
JPG
-
April 21st, 2014, 21:12 #7
- Join Date
- Nov 2008
- Location
- Surrey, England
- Posts
- 273
Thanks Trenloe and Moon both. The return of this functionality will be much appreciated by my players.
-
June 17th, 2014, 04:48 #8
This didn't make it into 3.0.4, right?
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
June 17th, 2014, 23:48 #9
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
Yes, it should be there. See CoreRPG ruleset under campaign/scripts/char_invlist.lua
Cheers,
JPG
-
June 18th, 2014, 00:03 #10
Thanks M_W, but I don't see anything in in that code or the linked CharManager.updateEncumbrance that removes all of the weight (carried checkbox) for all items in a specific "location" when the location is removed. i.e. If a backpack has a number of inventory items whose location is "backpack", unchecking "carried" for the backpack should also uncheck all of the items with a location of backpack, which is what the code in post #5 above was doing in 2.9.3.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks