Project Zomboid

Project Zomboid

Ocen: 156
Metal Scrap From Jewelry(to Nails)
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
229.664 KB
10 marca 2023 o 21:22
27 czerwca 2024 o 7:19
Listy zmian: 19 ( zobacz )

Zasubskrybuj, aby pobrać
Metal Scrap From Jewelry(to Nails)

W 1 kolekcji stworzonej przez AceCat
原始生存模组包Primitive survival
Przedmioty: 18
Opis
适用于原始生存
实在找不到代替品 自己折腾了个(
需要持有有锤子(石锤/圆头锤) 或者 石头
会降低锤子耐久度
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
Popularne dyskusje Zobacz wszystkie (2)
10
24 października 2023 o 6:38
Translation for the mod (Tutorial)
Bryan
1
20 marca 2023 o 22:51
Bugs
Bryan
Komentarzy: 52
Fluffy89 6 lipca o 13:08 
If you want mod creation advice, I'd recommend the Project Zomboid Modding Community on Discord.
myhathazbulletz 6 lipca o 6:24 
@AceCat ye, im asking you. well, i think we can figure it out somehow and both learn something knew :)
AceCat  [autor] 6 lipca o 6:23 
@myhathazbulletz Asking me ? so confused. i just a guy learn Lua coding like a few day ..
myhathazbulletz 5 lipca o 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 czerwca 2024 o 11:37 
Much appreciated!
AceCat  [autor] 27 czerwca 2024 o 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 czerwca 2024 o 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 czerwca 2024 o 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 maja 2024 o 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 marca 2024 o 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: