Quality of Life

7 days to die quality of life, 7 days to die loot, 7 days to die zombies, 7 days to die books, 7 days to die icons, 7 days to die stack size, 7 days to die ammo, 7 days to die vehicles

A collection of small modifications that should make your in-game life more convenient.

These are intended to be modifications that are uncontroversial, and do not require any custom assets.

Features

  • The “already read book” icon is now a semi-translucent green check mark. Inspired by this post on the forums.
  • The time it takes to scrap or smelt brass is reduced by half.
  • If you have the required knowledge to craft ammo bundles, you can craft them from loose ammo (not just from raw materials).
  • Dropped loot bags stick around for 60 (real-time) minutes before despawning. (New for A21.)
  • Anvils can be scrapped for iron, or smelted in the forge. (New for A21.)

This version does not contain Khaine’s Lockable Inventory Slots, but it can be enabled in XML. See below for details.

Technical Details

This mod uses XPath to modify XML files, and does not require SDX or DMT. It should be compatible with EAC. It does not contain any new assets (such as images or models). Servers should automatically push the XML modifications to their clients, so separate client installation should not be necessary.

Starting a new game should not be necessary, but is always recommended just in case.

Ammo Bundles

There are new recipes for all ammo bundles, where the ammo itself is the required ingredients, not the raw materials.

These should take exactly as much ammo to craft as they give back. If players want the raw material bonuses, they have to use the raw materials.

However, the bundles made from ammo also take 2/3 the time to craft. This seem more “realistic,” and takes into consideration the time the player may have spent crafting the loose ammo.

Modifying the Icons for Read/Unread Books

It is possible to also change the icons for both unread and already read books. If you want to change them, uncomment the relevant code in this mod’s items.xml file.

The icons in that code are the “add” image (a plus sign) for unread books, and a check mark for already-read books. But you can add any icon(s) you like.

Open controls.xml, and look at this entry in the item_stack node:

<sprite depth="8" name="itemtypeicon" width="24" height="24" sprite="ui_game_symbol_{itemtypeicon}" pos="2,-2" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />

Now, match up the variables (in {}) with these properties in the “schematicMaster” item in items.xml:

<property name="ItemTypeIcon" value="book"/>
<property name="AltItemTypeIcon" value="book_read"/>

Putting it all together, Khzmusik found the ui_game_symbol_check.tga filename, stripped out the “ui_game_symbol_” prefix, and used it as the value of the “AltItemTypeIcon” property.

He did the same for the “ItemTypeIcon” property, except that he chose the ui_game_symbol_add.tga file.

There’s a list of ui_game_symbol_{x} TGA files in the XML.txt file.

There is also a list of available icons here. That website is not associated with 7D2D or The Fun Pimps, so the link might be stale in the future.

Lockable Inventory Slots

This mod used to include a modified version of Khaine’s Lockable Inventory Slots.

However, for this release, Khzmusik decided not to include it. Most people who want it already know about Khaine’s mod, and if both this mod and his are installed, they would conflict.

The XML for this feature is included in Config/XUi/windows.xml, but it is commented out. Go to that file and un-comment the XML if you prefer to use this mod only.

Khzmusik also included commented-out XML which adds the lockable inventory slots to lootable containers. This is done in order to add them to the junk drone’s inventory, which does not use the same window as vehicle storage.

However, this adds them to any lootable container, such as a cabinet or cardboard box. If this is not desired, leave this code commented out in Config/XUi/windows.xml:

<!-- <append xpath="/windows/window[@name='windowLooting']/panel[@name='header']/rect[@controller='ContainerStandardControls']">
    <combobox depth="3" name="cbxLockedSlots" pos="70,-7" width="100" height="30" tooltip_key="xuiStashLockedSlots" type="ComboBoxInt" value_min="0" value_max="{container_slots}" value_wrap="true" value_increment="1" />
</append> -->

Changelog

Updated for A21.

DOWNLOAD for A21 (7 KB)
DOWNLOAD for A20 (6 KB)

The forum topic of the mod is here.

Credits: Khzmusik

Share this with your friends:

4 thoughts on “Quality of Life

  1. I love this mod but I have a question about it. Is there anyway to make it lock the slots on the bottom right hand side back. Kinda in reverse order. I like to keep all my stuff on the bottom of my bag that I keep in my inventory. Thanks for any help.

    1. I just realized I posted this on the wrong mod page….ugh, the issues with to many tabs open and not paying attention…….LOL!

    1. inside 7DaysToDie directory where the exe is located > create a folder named “Mods” > then extract the Zip file inside “mods” folder.

Leave a Reply

Your email address will not be published. Required fields are marked *