Project Zomboid

Project Zomboid

31 ratings
Simple Add Inventory Pages (for Build 41)(dev)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
36.638 KB
22 Jan, 2022 @ 1:01pm
22 Jan, 2022 @ 1:33pm
2 Change Notes ( view )

Subscribe to download
Simple Add Inventory Pages (for Build 41)(dev)

Description
これはSimple Add Inventory Pages (for Build 41)の開発版です。
問題なければリリース版を置き換えますが、普段使いには適していません。
基本的な説明はリリース版のページを見てください。

変更内容:
  • 周囲にあるアクセス可能な入れ物の中にある入れ物のページの追加にも対応しました。
    これには車の座席なども含まれます。
    この機能はリリース時には既定では無効になります。

    Modのフォルダーに下記の内容のファイル「SimpleAddInventoryPages.Settings.lua」を作成すれば入れ子をどこまで取り出すか調整可能です。
    ※実際には*.luaになっていればファイル名は何でもよいです。
    require "SimpleAddInventoryPages" SimpleAddInventoryPages["nestLimit"] = 1
    私が言っていることが理解できない場合は触らないでください。

    背負ったバッグの中のバッグや車の後部座席のバッグの中のバッグやに簡単にアクセスできる不自然さがありますが、制御が大変なのでそのままにしています。
  • それに伴い、ソースコードが複雑になったのでメンテナンス性や互換性が低下しました。
    上手く動かない場合はこの開発版を取り下げる可能性もあります。


This is the development version of Simple Add Inventory Pages (for Build 41).
If there are no problems, it will replace the release version, but it is not suitable for everyday use.
See the release version page for basic descriptions.

Changes:
  • Added support for adding pages for containers that are nested in surrounding accessible containers.
    This includes things like car seats.
    This feature will be disabled by default upon release.

    You can adjust how far the nesting is followed by creating a file "SimpleAddInventoryPages.Settings.lua" with the following contents in the mod folder.
    *In fact, the file name can be anything you want, as long as it is *.lua.
    require "SimpleAddInventoryPages" SimpleAddInventoryPages["nestLimit"] = 1
    If you do not understand what I am saying, please do not touch it.

    There is something unnatural about being able to easily access the bags in the bag on my back or in the bag in the back seat of my car, but it is hard to control, so I leave it as it is.
  • As a result, the source code has become more complex, which reduces maintainability and compatibility.
    If it does not work well, this development version may be withdrawn.


Workshop ID: 2728354075
Mod ID: SimpleAddInventoryPages20220123
3 Comments
stk2008 29 Feb, 2024 @ 9:16am 
On dedicated server if for example I have tin on a shelf and take some thing from the tin.
and leave server and then safely shut the dedicated server down...upon starting it back up again and joining I see the item I took from the tin in my inventory as expetced but also see a DUPED coppy of it back in the tin :(

Thanks in advance :)
CarmenChimera 25 Mar, 2022 @ 10:56am 
Would love to see if this can be updated to the release version and work past B41
Fuyuno 27 Jan, 2022 @ 1:07pm 
should i use this with the main mod, or JUST this? (i really want that nested inventory feature, especially the car ones)