Project Zomboid

Project Zomboid

156 ratings
Metal Scrap From Jewelry(to Nails)
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
229.664 KB
10 Mar, 2023 @ 9:22pm
27 Jun, 2024 @ 7:19am
19 Change Notes ( view )

Subscribe to download
Metal Scrap From Jewelry(to Nails)

In 1 collection by AceCat
原始生存模组包Primitive survival
18 items
Description
适用于原始生存
实在找不到代替品 自己折腾了个(
需要持有有锤子(石锤/圆头锤) 或者 石头
会降低锤子耐久度
1/3 的概率 破坏石头
(14 + 短棍技能 + 金工技能 ) / (30 - 维护技能) 的概率 不会降低耐久
任意首饰制作 一个金属废料 (30% + (3% x 金工技能)+ (3% x 短棍技能
金属废料 制作 0/5/10个 钉子 (取决于金工短棍技能)
短棍和金工技能会有概率额外提供钉子和回形针
作为铁匠金工前期替代品

原谅我简陋的代码
只学了一天的简陋编程:D

不需要废金属 请禁用MetalScrap FromJewely / to Nail
无废金属版本MOD ID :
MetalScrapFromJewely_NoUnusablemetal
MetalScrapToNails_NoUnusablemetal




Works with the "Primitive Survival" mod pack

Get Metalscrap from Jewelry (30% + 3% x Metalweldind + 3% x SmallBlunt)
Metalscrap to Nails (0/5/10 depend on SmallBlunt & Metalwelding)
need hammer/stone hammer/Ball-peen Hammer/stone
will reduce hammer condition
( 14 + smallblunt + metalwelding )/ (30 - Maintenance) chance not reduce condition
1/3 chance break the stone

As an early replacement for Blacksmithing and Metalwelding

forgive my poor code
only learned one day :D

If you don't need Unusablemetal , disable " MetalScrap FromJewely / to Nail "
No Unusablemetal version MOD ID :
MetalScrapFromJewely_NoUnusablemetal
MetalScrapToNails_NoUnusablemetal

No PlayerMsg version MOD ID :
Mod ID: MetalScrapFromJewely_silence
Mod ID: MetalScrapToNails_silence

Workshop ID: 2945197845
Mod ID: MetalScrapFromJewely
Mod ID: MetalScrapFromJewely_NoUnusablemetal
Mod ID: MetalScrapFromJewely_NoUnusablemetal_silence
Mod ID: MetalScrapFromJewely_silence
Mod ID: MetalScrapToNails
Mod ID: MetalScrapToNails_NoUnusablemetal
Mod ID: MetalScrapToNails_NoUnusablemetal_silence
Mod ID: MetalScrapToNails_silence
Popular Discussions View All (2)
10
24 Oct, 2023 @ 6:38am
Translation for the mod (Tutorial)
Bryan
1
20 Mar, 2023 @ 10:51pm
Bugs
Bryan
52 Comments
Fluffy89 6 Jul @ 1:08pm 
If you want mod creation advice, I'd recommend the Project Zomboid Modding Community on Discord.
myhathazbulletz 6 Jul @ 6:24am 
@AceCat ye, im asking you. well, i think we can figure it out somehow and both learn something knew :)
AceCat  [author] 6 Jul @ 6:23am 
@myhathazbulletz Asking me ? so confused. i just a guy learn Lua coding like a few day ..
myhathazbulletz 5 Jul @ 2:16am 
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 Jun, 2024 @ 11:37am 
Much appreciated!
AceCat  [author] 27 Jun, 2024 @ 7:22am 
@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 Jun, 2024 @ 10:17am 
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  [author] 25 Jun, 2024 @ 8:21am 
@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 May, 2024 @ 12:15pm 
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  [author] 18 Mar, 2024 @ 5:10am 
@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: