BzoukPzHotBarNew
Hi everybody,
This is new version of my old mod The functionality is essentially the same.
New stuff:
– Code is in Typescript and then it’s transcribed into Lua. Thank to PipeWrench[github.com]
– Same info panel about the item as in the inventory when hover over slot.
– Hide delete button option
– The mod imports settings from the old mod. (Old file name:bzhotbar.ini, new file name: pzhotbar.ini)
– no HYPHEN in mod ID
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".
PZ: build 41 – 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 )
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:
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…)
…
PZ: build 41 beta only
Required mods:
blindcoders Modding Utility (saving data to ini)
Optional mods:
Mod Options
Tab key for show/hide bar
– english
– czech
– french – @Bobitec + google
– spanish – @WhiteLotus + google
– chinese
– russian
– 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)
Tags:B41,Interface
Workshop ID: 3133189049
Mod ID: pzhotbar
Required items:
Click the title to search on this site.
blindcoders Modding Utility — Steam Workshop
Mod Options (Build 41) — Steam Workshop