Project Zomboid

Project Zomboid

Metal Scrap From Jewelry(to Nails)
Počet komentářů: 52
Fluffy89 6. čvc. v 13.08 
If you want mod creation advice, I'd recommend the Project Zomboid Modding Community on Discord.
myhathazbulletz 6. čvc. v 6.24 
@AceCat ye, im asking you. well, i think we can figure it out somehow and both learn something knew :)
AceCat  [autor] 6. čvc. v 6.23 
@myhathazbulletz Asking me ? so confused. i just a guy learn Lua coding like a few day ..
myhathazbulletz 5. čvc. v 2.16 
hey man, im making a mod of my own and need some help with scripting, since im not really good with coding and stuff, its a small and simple thing (i think so), do you mind to talk about it in DMs?
Fluffy89 29. čvn. 2024 v 11.37 
Much appreciated!
AceCat  [autor] 27. čvn. 2024 v 7.22 
@Fluffy89
ok now i update the new version
i just test it for 5 min
it work , but i don't promise:lunar2019piginablanket:
Fluffy89 25. čvn. 2024 v 10.17 
Yeah I dont imagine it'd be a difficult change, would just add a sandbox-options.txt file, and the relevant translations, then in your code add a check if the sandbox option for crafting dialogue is enabled when the action finishes and done.

My problem is I run this on a server, so getting each player to do this wouldn't be feasible for me.

I could try taking a look at your code and make the required changes though if you'd be interested and able to look through them and update the mod with it?
AceCat  [autor] 25. čvn. 2024 v 8.21 
@Fluffy89
yep.
But i got very busy this month , can not make a new version in time:lunar2019piginablanket:
if u have some lua code exp. u can change the code by youself like 5 min.
Fluffy89 25. kvě. 2024 v 12.15 
Is there a way to disable the characters messages when scrapping jewelry to scrap or unusable metal, and when crafting nails too? It get's very spammy.
AceCat  [autor] 18. bře. 2024 v 5.10 
@chicken biscuit
only test on build 41
if u used on build 41 and didn't work , send the report log to me pls:lunar2019piginablanket:
Chicken biscuit 17. bře. 2024 v 8.13 
Oh... Can this mod not be used on older saves?
Chicken biscuit 17. bře. 2024 v 8.06 
Am I doing something wrong? I'm not able to scrap jewelry with a hammer. does it require a certain level of metalworking?
Zefiruz 11. led. 2024 v 12.16 
Mods que deberían ser vanilla.
Quilava 17. lis. 2023 v 20.50 
This is pog, imusing few mod that need a lot of scrap, thank you so much for this
Swedin 4. lis. 2023 v 5.16 
@AceCat that would be fantastic! ^-^
AceCat  [autor] 3. lis. 2023 v 15.22 
@Swedin maybe i can build a new version only enable scrap and nail, without unusable metal
Swedin 1. lis. 2023 v 11.10 
can you remove the unusable metal source entirly? with mod ammomaker its way too chessy. example: 1 accesoire = 1 unusable metal, 1 unusable metal with ammomaker = 10 scrap metal
he made 10 scrap metal because its has the same weight as 1 unusable metal
Sennyツ 22. říj. 2023 v 7.19 
Your update seems to have fixed the issue. Thank you for fixing! :claugh:
AceCat  [autor] 21. říj. 2023 v 7.17 
thx @Sennyツ for submitting the error logs
it "absolute" fix :/ i think:lunar2019deadpanpig:
AceCat  [autor] 21. říj. 2023 v 5.15 
@Sennyツ ok
i maybe figured it out
what's wrong with the code
AceCat  [autor] 21. říj. 2023 v 5.13 
@Captain Tofu
yep like 1, 5 exp
Sennyツ 21. říj. 2023 v 0.05 
I am also having an issue of not getting MetalScrap when the message shows.
This is the only thing showing in the "Console.txt" related to the event:
LOG : General , 1697871769536> 6,168,121,360> ERROR: ItemContainer.AddItem: can't find base.UnusableMetal

There doesn't seem to be anything around it that would give it an error.
Captain Tofu 16. říj. 2023 v 12.54 
Does this give experience?
AceCat  [autor] 17. zář. 2023 v 22.13 
@PistachiTao I test after ur report , but it still work
is that some mods u install cause this problem?
u can just only enable MetalScrapFromJewely and MetalScrapToNails test it ~
plz report it after u test:lunar2019wavingpig:
PistachiTao 17. zář. 2023 v 12.20 
Mod doesn't produce any scrap/other metal when deconstructing jewelry successfully. Please update. Thanks.

(It's most likely due to recent patches, other mods stopped working too with the mini-patch)
AceCat  [autor] 23. srp. 2023 v 2.25 
@sterotypical can u send me the debug logs and All ur enable mods ID:lunar2019piginablanket:
i think there is some mods i didn't test with my mod:lunar2019piginablanket:
DustInTheWind 21. srp. 2023 v 8.14 
i have the option to scrap jewlery and it says both messages like yay i got scrap or i didnt get scrap but it gives nothing in the inventory is there somewhere i can send console logs to you to figure out why?
AceCat  [autor] 13. čvc. 2023 v 13.18 
@Pandora :lunar2019deadpanpig:
i didn't found any problem in my code
i test it in MP/SP still work
maybe incompatible will some mods
but in my mod pack it still work perfectly:lunar2019crylaughingpig:
Pandora 13. čvc. 2023 v 6.08 
I don't get any metal scrap from jewelry, I have the option and everything and I even get the message "yes I got some scrap" but I have nothing in my inventory.
AceCat  [autor] 8. čvc. 2023 v 1.44 
@Bee Enable mods MetalScrapFromJew and MetalScrapToNails
u need hammer(stone/roundball/normal) or "stone"
UnusableMetal or ScrapMetal
u can find those recipes in "Metalworking"
Yamiie 7. čvc. 2023 v 23.17 
How to make Nais
AceCat  [autor] 6. čvc. 2023 v 7.07 
emmm:lunar2019deadpanpig: ok....
feel nice when its work( even i didn't do anything :D
GONK DROID 6. čvc. 2023 v 3.21 
edit:
I don't know why or how but now it works, I restarted the game a couple of times and now it works like before :)
GONK DROID 6. čvc. 2023 v 3.13 
when I interact with a jewel to transform it, the animation plays normally, but I don't get any messages from the character or errors from the game and when I finish the animation nothing is generated
(everything works except metal generation)
AceCat  [autor] 6. čvc. 2023 v 1.20 
@GONK DROID @thebluewitch
can u send me more messages about this
picture or logs?
In my test , i disable all my mod , only metalscrapfromJew / Nails mods left
its work in MP and SP, so confused:lunar2019crylaughingpig:
game version : 41.78.16
GONK DROID 5. čvc. 2023 v 14.08 
Hey
It still doesn't work for me, it doesn't send any messages
:(
Oli 5. čvc. 2023 v 7.29 
All working again! Thanks AceCat :)
thebluewitch 5. čvc. 2023 v 6.24 
Okay, I see there was a recent update to the mod, I was confused as to why it doesn't seem to be working in Single Player atm =(

I haven't been recieving the messages showing pass or fail for gaining nails, and even with my 6 metal craft toon, I haven't seen any nails even after 20 bits of scrap
AceCat  [autor] 5. čvc. 2023 v 0.51 
fixed , remove "ontest" function from lua
test it in mp its work right now:lunar2019piginablanket:
AceCat  [autor] 5. čvc. 2023 v 0.17 
checked
because my clumsy fingers,
i tap a wrong word in recipe :lunar2019piginablanket:
AceCat  [autor] 4. čvc. 2023 v 23.53 
ok got it
check now:lunar2019piginablanket:
Oli 4. čvc. 2023 v 10.24 
heya, after the recent update the scrapfromJewely mod no longer seems to work in mp :(

your character goes to dissemble jewellery into scrap but there is no text above the chracters head and no scrap is produced despite the jewellery being destroyed
(tested with 200 jewellery & max metalworking + small blunt stats)
Space Donuts 13. čvn. 2023 v 1.46 
does this work in MP?
O'shovah 3. čvn. 2023 v 3.35 
yyyyyyyyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyy
AceCat  [autor] 3. čvn. 2023 v 2.42 
yeah, i add Unusable metal into recipe
now we can make nails by Unusable metal:lunar2019piginablanket:
O'shovah 1. čvn. 2023 v 9.45 
maybe add the ability to use "Unusable metal" to make nails too?
今天画画了吗没有 23. dub. 2023 v 8.34 
非常有用!
东方彩虹🌈 27. bře. 2023 v 0.53 
这很有用。
404_coffee.exe 22. bře. 2023 v 7.55 
thats useful!
AceCat  [autor] 11. bře. 2023 v 18.17 
maybe fix it
and add combine option
combine all jewely to Dogtag