Project Zomboid

Project Zomboid

Metal Scrap From Jewelry(to Nails)
52 kommentarer
Fluffy89 6. juli kl. 13:08 
If you want mod creation advice, I'd recommend the Project Zomboid Modding Community on Discord.
myhathazbulletz 6. juli kl. 6:24 
@AceCat ye, im asking you. well, i think we can figure it out somehow and both learn something knew :)
AceCat  [ophavsmand] 6. juli kl. 6:23 
@myhathazbulletz Asking me ? so confused. i just a guy learn Lua coding like a few day ..
myhathazbulletz 5. juli kl. 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. juni 2024 kl. 11:37 
Much appreciated!
AceCat  [ophavsmand] 27. juni 2024 kl. 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. juni 2024 kl. 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  [ophavsmand] 25. juni 2024 kl. 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. maj 2024 kl. 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  [ophavsmand] 18. mar. 2024 kl. 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. mar. 2024 kl. 8:13 
Oh... Can this mod not be used on older saves?
Chicken biscuit 17. mar. 2024 kl. 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. jan. 2024 kl. 12:16 
Mods que deberían ser vanilla.
Quilava 17. nov. 2023 kl. 20:50 
This is pog, imusing few mod that need a lot of scrap, thank you so much for this
Swedin 4. nov. 2023 kl. 5:16 
@AceCat that would be fantastic! ^-^
AceCat  [ophavsmand] 3. nov. 2023 kl. 15:22 
@Swedin maybe i can build a new version only enable scrap and nail, without unusable metal
Swedin 1. nov. 2023 kl. 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. okt. 2023 kl. 7:19 
Your update seems to have fixed the issue. Thank you for fixing! :claugh:
AceCat  [ophavsmand] 21. okt. 2023 kl. 7:17 
thx @Sennyツ for submitting the error logs
it "absolute" fix :/ i think:lunar2019deadpanpig:
AceCat  [ophavsmand] 21. okt. 2023 kl. 5:15 
@Sennyツ ok
i maybe figured it out
what's wrong with the code
AceCat  [ophavsmand] 21. okt. 2023 kl. 5:13 
@Captain Tofu
yep like 1, 5 exp
Sennyツ 21. okt. 2023 kl. 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. okt. 2023 kl. 12:54 
Does this give experience?
AceCat  [ophavsmand] 17. sep. 2023 kl. 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. sep. 2023 kl. 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  [ophavsmand] 23. aug. 2023 kl. 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. aug. 2023 kl. 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  [ophavsmand] 13. juli 2023 kl. 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. juli 2023 kl. 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  [ophavsmand] 8. juli 2023 kl. 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. juli 2023 kl. 23:17 
How to make Nais
AceCat  [ophavsmand] 6. juli 2023 kl. 7:07 
emmm:lunar2019deadpanpig: ok....
feel nice when its work( even i didn't do anything :D
GONK DROID 6. juli 2023 kl. 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. juli 2023 kl. 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  [ophavsmand] 6. juli 2023 kl. 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. juli 2023 kl. 14:08 
Hey
It still doesn't work for me, it doesn't send any messages
:(
Oli 5. juli 2023 kl. 7:29 
All working again! Thanks AceCat :)
thebluewitch 5. juli 2023 kl. 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  [ophavsmand] 5. juli 2023 kl. 0:51 
fixed , remove "ontest" function from lua
test it in mp its work right now:lunar2019piginablanket:
AceCat  [ophavsmand] 5. juli 2023 kl. 0:17 
checked
because my clumsy fingers,
i tap a wrong word in recipe :lunar2019piginablanket:
AceCat  [ophavsmand] 4. juli 2023 kl. 23:53 
ok got it
check now:lunar2019piginablanket:
Oli 4. juli 2023 kl. 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. juni 2023 kl. 1:46 
does this work in MP?
O'shovah 3. juni 2023 kl. 3:35 
yyyyyyyyyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyy
AceCat  [ophavsmand] 3. juni 2023 kl. 2:42 
yeah, i add Unusable metal into recipe
now we can make nails by Unusable metal:lunar2019piginablanket:
O'shovah 1. juni 2023 kl. 9:45 
maybe add the ability to use "Unusable metal" to make nails too?
今天画画了吗没有 23. apr. 2023 kl. 8:34 
非常有用!
东方彩虹🌈 27. mar. 2023 kl. 0:53 
这很有用。
404_coffee.exe 22. mar. 2023 kl. 7:55 
thats useful!
AceCat  [ophavsmand] 11. mar. 2023 kl. 18:17 
maybe fix it
and add combine option
combine all jewely to Dogtag