Project Zomboid

Project Zomboid

[b42]The Shortcut
Rocco  [developer] 26 Apr @ 3:11am
Things in progress
I read every comment, and all of your suggestions have been a great inspiration to me. However, due to limited time and ability, I can’t accomplish everything. Instead, I’ll make some changes based on both your feedback and my own experience using the mod


1. Add more double-click shortcut actions
Most basic items already have double-click actions now! But for some cool new B42 features—like opening a lid *and* drinking water—it’s still a two-step process (first open the lid, then drink). I’m planning to make it even smoother, *as long as* it doesn’t cause any nasty bugs.

2. Show how many times you can build stuff
Right now, there's no clear API to tell me how many times you can build a structure. Maybe later I'll try calculating it manually... but only if I can make sure it won’t tank the FPS. No one wants lag just to know if they can build a chair!

3. Construction Blueprint Mode
Dreaming of a system where you can place a semi-transparent "ghost" building first, just like in other games! Problem is, I’ve tried many times and still can't make construction pieces properly transparent—it might be a bug? Either way, I’ll keep hammering at it!

4. Better tooltips for building and crafting
Currently, tooltips show the basic requirements using just *one* item as a sample. I’m planning to make it cycle through all needed items to be way more accurate. That said... my early tests made it crash. Oops! Needs more tinkering!

5.Show Recently Crafted Buildings and Recipes
I'm planning to add a panel that appears when you hover your mouse over the left sidebar, displaying the buildings and recipes you've crafted recently. This should be a pretty quick feature to implement.

(Last thing). Multi-panel mode
This will be the final boss of features! It's a huge project that needs a complete logic overhaul, so it’ll definitely take a long time before I can make it happen. But when it does, it’ll be epic!




1.添加更多的双击快捷操作
目前已经有大部分基本物品的双击操作逻辑了,但是对于一些B42新特性,例如打开盖子并喝水还是无法做到,现在只能双击打开盖子,然后再双击喝水,计划让他更加便捷地处理,前提是不会造成任何的bug

2.让建筑物显示可制作次数
现在没有一个明确的API供我去直接获取建筑物可以建造的次数,也许之后我会测试使用手动计算的方式,但是这需要保证不会涉及大量的计算让FPS下降,否则这将没有意义

3.建筑蓝图模式
计划让暂时不满足条件建造的物品能够像其他游戏那样先建造一个半透明的蓝图,然后再进行建造,但是我试验了很多次,都无办法改变建筑的透明度,这也许是一个bug?但是不管怎么样,我都继续尝试

4.让建筑与配方的tooltip更加完善
现在能显示基本的配方条件,但是是以第一个物品作为代表,计划让他轮换显示所需的物品,这样会更加精确,但是现在似乎轮换会使这个功能导致报错

5.显示最近制作过的建筑与配方
计划在左边栏处能过够鼠标悬浮的时候出现一个面板,显示你最近制作过的配方与建筑,这估计会很快实现

(最后).多面板模式
这将会是我最后一个会完成的事情,这会涉及非常多的逻辑需要重新处理,所以我会把这个项目排到最后,这将会是很久很久之后才会实现的一个功能
Last edited by Rocco; 26 Apr @ 8:48am