Project Zomboid

Project Zomboid

Find Axes and Sledgehammers
39 Comments
Brutum The Man 8 Sep, 2024 @ 2:40am 
mod don't work
Reifel 12 Mar, 2024 @ 4:11pm 
If you got here you are having trouble finding this item, so maybe Dragon Radar will be useful to help you find that one and other items too
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3172486046
Pope Nicholas Cage 17 Mar, 2023 @ 12:16pm 
i have opened 9 solo games and searched the entirety of rosewood each time (every garage, including the firehouse's, and the auto shop to the north) with melee weapons and survival essentials set to abundant. and i have yet to find even 1 fucking sledgehammer.
Tori 21 Feb, 2022 @ 1:40am 
Thank you soooo much your mod!
Tyrannodorkus  [author] 14 Feb, 2022 @ 10:21am 
@Arfftre Not yet. I still need to find how to do Admin panel stuff for servers because I want that for another mod of mine. Will update this one when I get that worked out.

@SheepYoung Thank you so much, will get this updated with the translation as soon as I can.
SheepYoung 14 Feb, 2022 @ 2:29am 
I put the TXT file in the Googledrive for you to use:
https://drive.google.com/file/d/1CM61_Gqf931QyeiFpiF7y9mIrLuntjSW/view?usp=sharing
----
Find Axes and Sledgehammers更好找到消防斧及大錘
Rarity稀有度
rare chance罕見
sometime chance有時
often chance經常
very often chance非常容易
common chance超級容易
-----
Roll Chance機率滾動倍數
-----
Increases the weight chance of that item
Adds the item x of times to each list, in order to increase pick chance
將物品用"x"次機率增加至容器中,以增加更多機會
-----
I also use x before a number to indicate the multiplication of that number. Would it be similar or is there a proper way to indication multiplication 1 (x1), multiplication 2 (x2)... etc.?

use:1倍.2倍.3倍.4倍
-----
Tyrannodorkus  [author] 11 Feb, 2022 @ 12:36pm 
@SheepYoung Absolutely. Would really appreciate that if you would like to provide Chinese translation for it.
The English text is all located in the mod options area, here's the list of all the words I use:

Find Axes and Sledgehammers
Rarity
Roll Chance
Rare chance
Sometimes chance
Often chance
Very Often chance
Common chance
Increases the weight chance of that item
Adds the item x of times to each list, in order to increase pick chance

I also use x before a number to indicate the multiplication of that number. Would it be similar or is there a proper way to indication multiplication 1 (x1), multiplication 2 (x2)... etc.?
SheepYoung 10 Feb, 2022 @ 6:48pm 
I really need this mod, my friend and I searched the whole map and didn't find a sledgehammer!!
I wonder if you are interested in providing English text ?
I can help translate the Chinese language, and push such a great mod to Chinese language players!
Tyrannodorkus  [author] 9 Feb, 2022 @ 1:14pm 
The mod has now been updated
Tyrannodorkus  [author] 7 Feb, 2022 @ 2:34pm 
@marshmallow justice not just yet. I updated my files, but was still trying to test it. Looking for a good default setting in case the user wants to use this mod, but not use mod options to change the settings.
marshmallow justice 5 Feb, 2022 @ 12:26am 
hello did this mod get an update with the discussion you and revy had regarding the stack trace?
ЯΞVУ 21 Jan, 2022 @ 1:31am 
Yep, this is what I found as well. Digging around I found this way of editing which I believe works for the current system, more or less you create your own distributions and inject them so you do not have to read from the original files (cause they will be injected by other mods), Here is a paste with how the coding should go. https://paste.in/LiHMix
Tyrannodorkus  [author] 20 Jan, 2022 @ 8:19pm 
Found the issue with the distribution list having that error. It works fine if I have this mod only, but issues with other mods that adds to the list. The reason is that by the time I'm calling on the Distributions[1] list is that the one I wanted to add to was shifted over by other people's lists. Correcting how I add to the list now.
Tyrannodorkus  [author] 20 Jan, 2022 @ 5:28pm 
@ЯΞVУ Thank you for your help in this. Yeah I was also still getting errors with new games with all my standard mods going, but still doing fine when it's all by itself. It's good to still have the requires though, but I think I need to find a better way to insert the lists.
ЯΞVУ 20 Jan, 2022 @ 10:36am 
I have isolated the code throwing errors as all the code using Distributions , VehicleDistributions and ProceduralDistributions are fine
ЯΞVУ 20 Jan, 2022 @ 9:42am 
further testing (not as rushed), this fixes the issue for saves already started but new games still get an error on table.insert(Distributions[1]["all"]["crate"].items, "WoodAxe");
Tyrannodorkus  [author] 17 Jan, 2022 @ 5:58pm 
@ЯΞVУ Thank you. I'll get this included, tested and updated on here soon.
ЯΞVУ 17 Jan, 2022 @ 12:17pm 
You missed the require code, put this at the top and should fix the errors.

require "Items/ProceduralDistributions"
require "Items/Distributions"
require "Vehicles/VehicleDistributions"
Tyrannodorkus  [author] 13 Jan, 2022 @ 1:14pm 
Thanks, I'll look through this for any changes I'll need to make.
marshmallow justice 13 Jan, 2022 @ 1:09pm 
https://easyupload.io/5sztme
here
it's actually much smaller than b4 i guess Zomboid cleaned it up and deleted an old file. just 5mb now
Tyrannodorkus  [author] 13 Jan, 2022 @ 11:50am 
@marshmallow justice If you don't mind sending me the console.txt, that would help. I created a google drive for you to send it to.
marshmallow justice 13 Jan, 2022 @ 10:54am 
I can give you my full console.txt but it's like 26mb since I haven't deleted it once
marshmallow justice 13 Jan, 2022 @ 10:54am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2710850998 here is my modpack
It's missing probably 1 or 2 mods but yeah it's a lot.
I only have a few stack trace errors on initial load out of all this. Two hydrocraft ones, Ducks Brita Weapon compatibility, yours, and some other one that doesn't have a mod I can identify from.
Tyrannodorkus  [author] 13 Jan, 2022 @ 10:05am 
@marshmallow justice thanks for the report. I'll keep an eye out to see what might be causing that. I know from testing the mod by itself it doesn't have these errors so I'm sure there's a mod conflict as I seen it come up when I play on my really modded games. It probably comes down to how one or more mods could be adding things to the distro lists or accessing those lists. When I get some time, I'll see if there's a better way to add these that hopefully wouldn't conflict with other mods.

As for it still loading the game after the stack trace warning, that means it didn't cause any crashing issue, but could possibly mean it didn't add my modification to the list properly or at all.

Really appreciate you reporting this. Do you have time to list me any other mods you use that adds stuff to the distribution list?
Tyrannodorkus  [author] 13 Jan, 2022 @ 9:58am 
@hpsfamily yeah, these sledges are definitely rare, even with this mod I find them really rarely. Going to try and add different levels of rarity for these items soon, just need to learn mod options first. Hopefully get them to go from rare, to less rare, to maybe common for anyone to adjust their game the way they like it.
marshmallow justice 12 Jan, 2022 @ 3:40am 
hello I have been recording a few stack trace errors lately after a few mods have been subbed to / updated over the last two days. Not all are from your mod of course, but 2 portions of the stack-trace have starting phrase "FAaS_Distributions" and the only mod similar would be "Find Axes and Sledgehammers", esp. considering this is a new one I've added.

https://i.gyazo.com/01d5bf044bdc64db2a9ad9253ebfc88a.png

Here is a SS of the two stack traces , I cannot understand what is going on merely report it. Note that I am loading into my world just fine and moving around and doing everything as normal. This occurs during world load.
hpsfamily 10 Jan, 2022 @ 6:34pm 
i still havent found a sledge after 3 towns of warehouses and garages... its like the devs nerfed to approaching zero
Looking4Carry 30 Dec, 2021 @ 6:05pm 
@Tyrannodorkus Thanks man, your suggestion worked! I'm able to tweak all the percentages now and it seems to look good with each of my test runs. Thanks a ton!
Tobynatoren 30 Dec, 2021 @ 3:21am 
Alright, thanks! :)
Tyrannodorkus  [author] 29 Dec, 2021 @ 3:53pm 
@Tobynatoren yes, you can add to existing worlds, but it most likely won't affect any cells you been to already. So you would have to go to new area's you haven't gone to yet that rolled loot already. Not sure if that is negated if you have respawn loot on, I assume it will work with that.
Tobynatoren 29 Dec, 2021 @ 2:41pm 
Can I add this to an existing world? furthermore, MP friendly?
Looking4Carry 27 Dec, 2021 @ 5:47pm 
Thanks for the advice @Tyrannodorkus, i'll look into that. Cheers!
Grizzly 26 Dec, 2021 @ 2:10am 
sounds awesome, just hope I won't swim in sledges now but that would still be better than looking in 10 damn warehouses and don't finding a single x)
Tyrannodorkus  [author] 25 Dec, 2021 @ 1:44pm 
@Bob I haven't tried doing something like that before. As a possible work around, my suggestion would be to go to the mod folder (default would be C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\2691553463) then go into the mods folder and copy the FindAxesAndSlegehammers folder, then paste it in the zomboid local mod folder, (C:\Users\YourComputerName\Zomboid\mods) and then make the change to the values there, then unsub to this one so it won't conflict with each other.Hopefully it won't break again. Then you can check back here for any updates you may like that I've done to it. And thanks for the complement :spiffo:
Looking4Carry 25 Dec, 2021 @ 11:37am 
also great mod btw, doing gods work
Looking4Carry 25 Dec, 2021 @ 11:37am 
I tried changing the percentages only. For whatever reason it didn't seem to like it. I'm unfamiliar with steam workshop so i'm unsure if it tries to pull the original folder from the workshop and once it notices the values have changed it breaks.
Tyrannodorkus  [author] 24 Dec, 2021 @ 9:03am 
@Mac I do have plans to add mod options with different levels further increasing find chance to the point of making them common.

@Bob You should be able to change the number values easy enough. The way the game adds items to the distro lists I found to be kind of janky so it could easily break. What did you add/modify?
Looking4Carry 23 Dec, 2021 @ 8:55pm 
Also wondering if its possible to edit the values myself. I've notice when I change something in the document I get an error. Does anyone know how to fix this?
SilkyMitts 23 Dec, 2021 @ 8:53pm 
Hey, really like the mod was wonder if its possible to further increase the loot chance?