Project Zomboid

Project Zomboid

1,347 ratings
Bzouk Hotbar Mod B41
3
9
4
6
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
610.285 KB
24 Mar, 2021 @ 9:30am
16 Feb, 2023 @ 8:47am
17 Change Notes ( view )

Subscribe to download
Bzouk Hotbar Mod B41

Description
Hot bar mod

New version here
https://steamproxy.net/sharedfiles/filedetails/?id=3133189049

Hi everybody,

this mod adds quick access bar for items from player inventory. The main reason I made this mod is because I'm lazy to go through the inventory and look for one item that I just need. Mod idea is based another mod Hotbar for 5-20 often-used and also other games (Wow EFT etc.). Mod is also using library "Blindcoders Modding Utility". This is my first mod for project zomboid so please test mod first.

PZ: build 41 - tested with local hosted MP and singleplayer

The basic version of mod have one bar with 1 row and 8 columns. You can drag bar around. Bar is using same windows like inventory page (X for hide and pin for collapsable window).
Also you can use Mod Options to add more quick access bars. With modoptions mod you can set number of bars from 1 to 5. How many rows and columns for each bar will have. Also default key for toggle bars can be changed with modoptions ( default: tab )


Usage
Pres "tab" for show/hide bars. Drag and drop item into slot. You dont need to have item in inventory to add it to slot. Slot counts non broken items in inventory ( number in slot example: (24) items in inventory and in all containers that you have on you ( even in containers in containers like bandage in medkit in backpack))

Broken items are iqnored, you have to go into inventory to work with them.

Right click: Same like in inventory window.

Left click have smart functions based on item in slot. Functions are using code already in project zomboid. Many function return used item into original container.


Example:
1) Click slot with Disinfectant ( item is inside medkit in backpack) 2) Disinfectant is moved to main inventory if needed 3) Disinfectant is used on damaged parts 4) Disinfectant is moved inside medkit in backpack if still exist.
Note: If you cancel action, item will remain in main invetory (start running etc.).

- Food
This works like double click in inventory (Cola, Chips, Cigarettes)
If food is non posion eat half or use whole if cigarettes ( need lighter :-) ) etc.
After use item returns to original container.

- Water
If item contain water, player is thirsty and water is not tainted then drink.
After use item returns to original container.

- Pills (BetaBlock, AntiDeb, SleepingTablets and Vitamins)
Take pill. Same like right click but item is put in original container after use.

- Disinfectant and AlcoholWipes
Apply alcohol on every damaged body part without alcohol.
After use item returns to original container.

- DishCloth BathTowel
Like right click option - dry yourself with a towel

- Thread
If you have needle in inventory it will stitch all deep wounded body parts.
After use item returns to original container. (needle and thread)

- Hand weapon
If two handed then equip two handed else one hand. New feature: swap weapon and item in hand to weapon container
Idea: spear -> broke -> click on slot with spears -> re equip new -> broke -> click on slot with spears -> re equip new

- Bandage (should work on any item that can bandage)
Clean burns if bandage is strong or apply bandage on damaged part

- Clothing
Equip right click - change to right etc.).

- Literature
Start reading.

- Suture Needle Holder or Tweezers
Remove all glass and bullets from damaged parts.
After use item returns to original container.

- Suture needle
Stitch one deep wounded body part.
After use item returns to original container.

- Comfrey Cataplasm
Apply to fractured body part without any comfrey.

- Wild Garlic Cataplasm
Apply to one infected wound without any comfrey.

- Plantain Cataplasm
Apply to one scratched, deep wounded or cut body part without any comfrey.

- Splint
Apply to fractured body part without any splint.

- Other items
Do nothing -> use right click

- Radio
Equip/unequip radio

Tips and ideas for items :
- ammo -> counter how many bullets|shells
- ammo box - right click -> open box
- watches - Equip -> add to slot -> right click to set alarm etc.
- items for quick crafting
- do not forget items
- spears -> broke -> left click -> re equip -> broke -> left click -> re equip (need to throw away broken ones)
- any item with info after right click (compass, radios gps...)
...


Summary

PZ: build 41 beta only
Required mods:
blindcoders Modding Utility (saving data to ini)

Optional mods:
Mod Options

Tab key for show/hide bar

Languages
- english
- czech
- french - @Bobitec + google
- spanish - @WhiteLotus + google

Known issues
- sometimes items are drop to ground when dragging
- some items in inventory have same name (group under same name), but they are different items
- right click crafting need items to be in main inventory or backpack (game mechanic)

For multiplayer:
"@Chubby Pillbug
For people saying that this doesn't work on dedicated server: If you are using a web tool to get a list of mod names and workshop item tags-- copy and paste the actual name of this mod manually, the web tools are not copying the full name of the mod because IT HAS A HYPHEN IN IT. None of the web tools correctly grab the names of mods with hyphens in them"

Tags:B41,Interface

Workshop ID: 2434425002
Mod ID: pz-bzoukhotbar
Popular Discussions View All (6)
8
16 Dec @ 7:35pm
PINNED: Translation Help - Post Translations Here
bzoukLop
4
25 Apr, 2021 @ 12:52pm
Crashing (Not sure if your mod)
Kable
2
8 Nov @ 1:22pm
script error on screen size change
Dwarden
222 Comments
이기훈 20 Nov @ 12:30pm 
bless you GOAT
reanrayflores 18 Sep @ 6:14pm 
can i add this mid game?
Tnaz.v 13 Mar @ 2:48pm 
Funciona para MP? Que diferencia hay con el mod nuevo y el viejo?
너구리봉봉 2 Mar @ 9:20am 
I have downloaded every mod I need to use this, but I still can't use it.. the tab key doesn't work, and any other keys don't.. what should i do about it?
bzoukLop  [author] 7 Jan @ 12:31am 
Tim 3 Jan @ 12:07pm 
Thank you, cant imagine the game without it anymore.
bzoukLop  [author] 3 Jan @ 2:34am 
@Tim Great, I'm glad it's working.

I've finished rewriting the mode. I'm still going to test it for a while, but everything seems to be working as it should. It's going to be a new mod. There will be no need to switch to it if everything works for you.
Tim 29 Dec, 2023 @ 10:10am 
I found the glitch. For some reason the UI settings glitched it out. After adjusting the UI settings size etc. It popped back into existence. Im now back to playing Zomboid. Thank you for this indispensable mod :)
bzoukLop  [author] 29 Dec, 2023 @ 6:31am 
@Tim I'd try looking in C:\Users\<user>\Zomboid\Lua\bzhotbar.ini to see if there's anything wrong. Make a backup of that file and delete it and maybe that will help.
Tim 19 Dec, 2023 @ 1:11pm 
For some reason all the hot bars disappeared, I added another and now its the only one that works. So from 1-4 bars dont show up but number 5 does. I checked the settings in game options and it looks fine. Dont know what happened.