Project Zomboid

Project Zomboid

Fancy Lanterns [B42 Compatible]
80 Comments
JackOverkill 17 Jul @ 3:48am 
how does it recharge?
somewhatfrog  [author] 9 Jul @ 2:27pm 
@SDgamer shouldn't, at least not because of this mod

@Gothic Wizardry once this feature is part of the vanilla game I will look into adding it
Gothic Wizardry 9 Jul @ 12:06pm 
would it be possible in the future to add a version that lets you place them lit up?
SDgamer 21 Jun @ 10:12pm 
someone made an B42 version of Better Belts. Will that conflict?
somewhatfrog  [author] 6 Jun @ 3:03am 
+ fixed context menu error
+ recharge hotkey prioritizes the fancy light source with lowest charge if none are equipped
+ recharge is possible at under 98% of max recharge sandbox setting
somewhatfrog  [author] 5 Jun @ 3:43pm 
Context menu option to recharge is borked atm, hotkeys work. Will be fixed next update, sorry for inconvenience
somewhatfrog  [author] 5 Jun @ 3:00pm 
+ hotkeys prioritize equipped items over attached
+ on/off hotkey works on all attached fancy light sources simultaneously if none are equipped
+ recharging hotkey iterates over all fancy light sources as long as they are under 90% of maxRecharge
somewhatfrog  [author] 5 Jun @ 7:28am 
+ added On/Off hotkey only for fancy light sources (unset by default)
+ added Recharge hotkey (unset by default)
+ fixed fancy light sources lasting for too long in B42, now they last as long as in B41 (8-10 ingame hours from full charge)
+ added Chili color
+ fixed translations for Lilac recipe
somewhatfrog  [author] 23 May @ 4:24am 
@Czezary nope
Czezary 23 May @ 4:20am 
Can lanterns be placed on the ground to provide light?
somewhatfrog  [author] 22 May @ 12:33pm 
+ added lilac color
elyxaria 21 May @ 4:22pm 
@somewhatfrog like to sign a thing to get that color in owo
Chromium 11 May @ 8:23am 
Pepe is that you? what are you doing here?
somewhatfrog  [author] 27 Apr @ 3:02pm 
+ now it is possible to attach the fancy light sources without the belt as long as holster is present

vanilla belts take `Belt` slot and holsters take `BeltExtra` slot, some modded belts take `BeltExtra` slot for instance Tactical Belt from the Vanilla Gear Expanded
rawgu 25 Apr @ 7:57am 
thanks beautiful
somewhatfrog  [author] 24 Apr @ 5:27pm 
@rawgu I'll look into it
rawgu 23 Apr @ 11:30pm 
Could you make this compatible with Vanilla gear expanded? Specifically the tactical belt? <3
N7 8 Mar @ 2:04pm 
@somewhatfrog Hi there! Would you like to sign my petition?
somewhatfrog  [author] 7 Mar @ 4:23am 
@elyxaria petition?
elyxaria 25 Feb @ 12:38am 
Petition to add lilac (white + purple) to the color list?
Panda 5 Feb @ 2:48pm 
Ah, right. That new slot really is the most elegant way to support the most stuff. Thanks again!
somewhatfrog  [author] 4 Feb @ 2:40am 
@Panda thank you! All bags have different dimensions, this means that I will have to manually create attachment coordinates for every existing bag and continue doing so for all new and modded bags. Which is an enormous amount of labor. The existing bag attachment point universally fits most bags.
Panda 4 Feb @ 2:13am 
This mod is so good. Thank you! Would it be possible to make the lanterns attach to the backpack bottom slot?
somewhatfrog  [author] 21 Jan @ 3:31pm 
@McSlappy welcome! lol
McSlappy 21 Jan @ 3:27pm 
Love that update. Tired of cranking my lanterns or spawning 100 and cycling through them XD
somewhatfrog  [author] 21 Jan @ 3:05pm 
+ added b42.1.0 support
+ added QoL for servers, Fancy light sources won't loose charge when used by admins
somewhatfrog  [author] 21 Jan @ 1:07pm 
The 42.1.0 might have broken the mod, fix will come soon.
leshi49 5 Jan @ 5:21am 
will it light up if placed on the ground?
somewhatfrog  [author] 5 Jan @ 3:03am 
+ fixed two-handed weapons re-equipping

@Giacco :spiffo:
Giacco 4 Jan @ 7:41am 
@somewhathfrog ty for b42 update
somewhatfrog  [author] 4 Jan @ 4:16am 
@JulesAndromeda not yet, but will be looked into in the near future
JulesAndromeda 4 Jan @ 4:03am 
Can you place it, on the world to provide light or it needs to be equipped?
somewhatfrog  [author] 4 Jan @ 3:50am 
small whoopsie, two-handed weapons not being re-equipped properly will be fixed shortly
somewhatfrog  [author] 4 Jan @ 2:56am 
+ added b42 support

b41 and b42:
+ improved the fade out with charge decrease
+ recharging now happens in the secondary hand
+ lanterns now return to the attach point after charging
+ performance optimizations
somewhatfrog  [author] 20 Dec, 2024 @ 11:57am 
Hey everyone, b42 support is planned but no eta until some bugs which prevent me from working on it are fixed

@유사라 shouldn't be unless some of the the mods you use adjusts the use delta of all possible light sources?
유사라 14 Dec, 2024 @ 8:50pm 
Is there a conflict with other mods? It worked out at first, but at some point, the batteries in the fancy lantern start to run out very quickly
somewhatfrog  [author] 1 Dec, 2024 @ 7:45am 
@McSlappy hey, this feature is provided by Tidy Up Meister mod which I recommend using in the description
McSlappy 27 Nov, 2024 @ 2:50pm 
I just realized i didnt say please XD. my bad, i was pretty concentrated at the time. Can you please add a feature or tweak the code*. thank you very much for your time XD
McSlappy 27 Nov, 2024 @ 11:29am 
Hey @somewhatfrog, Can you add a feature or tweak the code so that the items you were holding in your primary/secondary get requipped after recharging the lantern? instead of keeping the lantern equipped.
somewhatfrog  [author] 9 Nov, 2024 @ 11:43am 
@Higuera no such plans, one of the goals of this mod is to bring rechargeable light sources into the game and make people more active during the night time in MP setting
Higuera 8 Nov, 2024 @ 3:42pm 
Would it be possible to add a Gas Powered variant in the future by chance, to go alongside the battery powered Lantern?
somewhatfrog  [author] 10 Oct, 2024 @ 9:29am 
@Supah same logic can be applied to any mod which add slots, but apart from that:
1.they reduce weight and allow for fast access to extra tools (especially with TidyUpMeister)
2. you don't need 1-5 hotkeys to turn on/off any of the fancy light sources, there is `F` hotkey for that
3. all 3 can be accessed by gamepad users via radial menu
4. you can disable it if you don't find it useful
Fang 10 Oct, 2024 @ 9:06am 
the problem with the new slots is that they arent useful at all since hotkeys for the hotbar only go from 1-5 so anything above that doesnt really work
somewhatfrog  [author] 10 Oct, 2024 @ 7:12am 
Today's update:

now slots for belt can carry small tools like screwdriver or scissors
fancy lantern can be worn on bags without the belt if bag already has any attachments

slots can be disabled through mod options (equip/unequip any clothing item to update Hotbar)

Maximum Allowed Recharge sandbox option now works properly
somewhatfrog  [author] 10 Oct, 2024 @ 3:09am 
@PuzzyDiztroier yes, they are completely independent from each other and don't share any code
PuzzyDiztroier 10 Oct, 2024 @ 2:09am 
Is it safe to have your mod and Lantern mod?
Giacco 9 Oct, 2024 @ 11:45am 
@somewhatfrog Thanks
somewhatfrog  [author] 9 Oct, 2024 @ 11:21am 
@Giacco that would still mean that I will have to tune the position of the lantern itself for each and every backpack because they have different width and height. Most bags have straps and it is simple single location to cover the majority of them. Anyway, as I said I will try to make it possible to disable some of the slots to make hotbar visually lighter.
somewhatfrog  [author] 9 Oct, 2024 @ 11:17am 
@Giacco I see, thank you for the input, mod compatibility is difficult, I am trying to be as compatible as possible without it stealing all my free time away. Another thing which bothered me for quite some time is that lantern being behind the character felt very unrealistic due to the light it provided and dark spot right behind the character. In any case this is not the final update, I will try to remove the dependency on belt as well as option to "hide" unwanted slots from the hotbar. I play on gamepad due to accessibility reasons and with gamepad hotbar isn't show at all, but I now can see that it can get overwhelmingly long, no idea why it does show empty slots by default.
Giacco 9 Oct, 2024 @ 11:12am 
I forgot to mention that there is a mod that extends the function of Noir's attacks to practically all existing backpacks in the workshop, and if any are missing just ask the creator and he will add it.