Mods / Leaf Lantern Lining

Category:
Author: OpPointBaker
Side: Both
Created: Jan 8th at 6:41 PM
Last modified: Jan 8th at 6:44 PM
Downloads: 92
Follow Unfollow 3

Latest file:
leaflanternlining1.0.0.zip


What this does: allows players to make sheets of gold or silver leaf for lining lanterns during their initial construction.

What this does not do: Allow leaf sheets to be added to already made lanterns. You will still need to use an entire plate per lantern for that.

What this isn't meant to be: A realistic way of crafting metal leaf or applying it to lanterns. That would require C# coding that is well beyond my capapbilities. [For any modder who is into hard core realism, I encourage you to make a more realistic mod. You won't be stepping on my toes. ;) ]

"Isn't this way too cheap?" According to the Wikipedia article on gold leaf, a single nugget of gold measuring 5 mm in diamiter will yeild half a square meter of gold leaf that is usually around a thenth of a micron thick [or 100 nanometers thick] using technology that has been mostly unchanged since the Egyptians were crafting it millenia ago. So, no, it is still an agreagous waste of metal, but again, this is supposed to be cheaper, not realisitic. ;)

A note on updates, this mod should be fairly update-proof. Until there is a vanilla way to make sheets, a change in lantern, nugget, plate, or ingot recipes, updates shouldn't break this mod. That said, feel free to post any issues I will address them as soon as I can.

Huge Thanks to JapanHasRice for helping my correct my bad syntax.

Version For Game version Downloads Release date Changelog Download
v1.0.0 92 Jan 8th at 6:44 PM Show leaflanternlining1.0.0.zip

9 Comments (oldest first | newest first)

💬 Pervy_Sage, Jan 26th at 12:13 AM

OpPointBaker Hmm so my log files were showing all 0 KB and didn't update until I actually opened one. That's weird... I'll reload the mod and see what's up.

EDIT: Ok I've found 2 errors "25.1.2023 16:15:20 [Error] Patch 0 (target: game:lang/en.json) in leaflanternlining:patches/game-lang-en.json failed because supplied path /block-metalsheet-gold-* is invalid: The json path /block-metalsheet-gold-* was not found. No such element 'block-metalsheet-gold-*' at the root path
25.1.2023 16:15:20 [Error] Patch 1 (target: game:lang/en.json) in leaflanternlining:patches/game-lang-en.json failed because supplied path /block-metalsheet-silver-* is invalid: The json path /block-metalsheet-silver-* was not found. No such element 'block-metalsheet-silver-*' at the root path"

Is there a dependancy for this mod? I do see the gold and silver sheets but they are only made from a gold or silver plate, and they only yield one sheet for one plate.

💬 OpPointBaker, Jan 25th at 7:14 PM

@Pervy_Sage The mod that adds that information is Survival Cagegories. mods.vintagestory.at/show/mod/67

Is nothing still showing up in the handbook if you search for just 'gold sheet' or 'silver sheet'?

And there is nothing showing in any logs like:

22.1.2023 10:14:11 [Warning] [leaflanternlining] Failed parsing version string '1.0' at index 3: Expected PATCH version, found end of string (best guess: 1.0.0)

or

22.1.2023 10:14:13 [Error] Patch 0 (target: game:lang/en.json) in leaflanternlining:patches/game-lang-en.json failed because supplied path /block-metalsheet-gold-* is invalid: The json path /block-metalsheet-gold-* was not found. No such element 'block-metalsheet-gold-*' at the root path

Because those are errors I'm getting in the server-main log file.

Log files can be found in %AppData%\Roaming\VintagestoryData\Logs.

💬 Pervy_Sage, Jan 25th at 7:40 AM

OpPointBaker Turned them all off, as per my 'Edit 2:' and still couldn't find anything. It's been several days I'll try again. That mod are you running that shows the mods an item comes from. Also why is it showing "Mod: Essentials (@game)" instead of the name of your mod?

EDIT: Still nothing showing up, and with a fresh download. And this is with a new world and no mods but yours.

💬 OpPointBaker, Jan 25th at 2:03 AM

@Pervy_Sage sorry for the delays, I've been dealing with a second bout of COVID. I can't seem to reproduce the problem. My logs are showing an error with the language files and I will need to update the mod for that. But by searching "sheet" in the handbook I am able to find both the gold and silver sheets with their recipies. I can make them and craft lanterns with them. Are there any mods that you are using? It could be from a mod conflict.

💬 Pervy_Sage, Jan 14th at 12:22 AM

Thanks.

💬 OpPointBaker, Jan 13th at 6:49 PM

Okay. I'm still on 1.17.9. I'll update to .10 later and see if I can reproduce the issue.

💬 Pervy_Sage, Jan 13th at 5:53 PM

I'm running 1.17.10 in English. Searching 'sheet' was the first thing I tried, and literally nothing from the mod shows up. Idk which log to search for errors, I'll try looking and get back to you.

Edit: The only log I show having any updates is the crash log and the latest of those was on the 5th, which was too early. I have quite a lot of mods running. I'll trying running the mod by itself and see if it works then.

Edit 2: I turned off all other mods and still not seeing the leaf sheet show up in the handbook when I click gold plates or gold nuggets like in the pics. Searching "sheet of" or "leaf" also shows nothing in the handbook.

💬 OpPointBaker, Jan 13th at 5:46 PM

Huh. Odd. do your logs show any errors? Which language are you using? Try searching 'sheet' and see if they come up.

Which version are you running? 1.17.9 or 1.17.10?

💬 Pervy_Sage, Jan 12th at 7:22 PM

This isn't working at all for me. I don't even see an entry for "leaf" at all in my handbook or in the creative menu. I even checked to make sure I have the zip in my mods folder. And it's showing up on my mods list, so I 'installed' it correctly.

(edit comment delete)