Don't Starve

Don't Starve

Infinite Pumpkin Lantern
37 Comments
八卦炉中逃大圣 Apr 28 @ 10:31pm 
just noticed that the DLC enabled conditioning is not running expected, should do GLOBAL.IsDLCEnabled earlier, leave only the DLC variable itself which is indicating the DLC playing now.
八卦炉中逃大圣 Apr 28 @ 9:40am 
i made some small modifications over your version, basically like below:
if GLOBAL.CAPY_DLC and GLOBAL.IsDLCEnabled(GLOBAL.CAPY_DLC) then
GLOBAL.Recipe("pumpkin_lantern", {Ingredient("pumpkin", 1), Ingredient("bioluminescence", 2), Ingredient("messagebottleempty", 1)}, GLOBAL.RECIPETABS.LIGHT, GLOBAL.TECH.SCIENCE_TWO , GLOBAL.RECIPE_GAME_TYPE.COMMON, "pumpkin_lantern_placer")
else
if GLOBAL.PORKLAND_DLC and GLOBAL.IsDLCEnabled(GLOBAL.PORKLAND_DLC) then
GLOBAL.Recipe("pumpkin_lantern", {Ingredient("pumpkin", 1), Ingredient("fireflies", 1), Ingredient("lightbulb", 1)}, GLOBAL.RECIPETABS.LIGHT, GLOBAL.TECH.SCIENCE_TWO , GLOBAL.RECIPE_GAME_TYPE.COMMON, "pumpkin_lantern_placer")
it works better for me, since those ingredients are easier to obtain, might be slight OP.
Thank you.
Terotrous  [author] May 20, 2022 @ 12:34pm 
Hamlet support added.
ArcaneM37 May 20, 2022 @ 11:42am 
can you also make this recipe show up in Hamlet?
剑师 Oct 29, 2020 @ 7:20am 
谢谢我就需要这个,thank
Zukazan Apr 26, 2020 @ 2:26pm 
I wish this worked in Hamlet
Terotrous  [author] Jan 23, 2018 @ 5:26pm 
Should now be compatible with SW and not crash.
Gexgecko Jan 14, 2018 @ 4:22pm 
Outdated crashing the game
Keptzy Mar 18, 2017 @ 4:02pm 
is this SW compatible?
JustJasper Oct 9, 2016 @ 10:48am 
Outdted - this gives me a startup crash (.exe stops working) with SW-compatible RoG
Jefferson Gooch Feb 19, 2016 @ 2:22am 
Nice little balanced mod.
shequan Feb 6, 2016 @ 11:00pm 
yeah it's very strange. I spawned in a alch engine and the crafting materials.. but it didn't show up in the list. I'll do some additional tests this week
Terotrous  [author] Feb 6, 2016 @ 7:28pm 
Did you make sure to stand near the Alchemy engine? You need that to get the pumpkin lantern enabled.

You can spawn the alchemy engine by pressing ` and typing

DebugSpawn("researchlab2")

if you just want to get one up quick for testing purposes.

May also want:

DebugSpawn("pumpkin")
DebugSpawn("bugnet")
DebugSpawn("fireflies")
shequan Feb 6, 2016 @ 6:54pm 
@terotrous.. I spawned a new SW world with just this mod enabled and for reasons I don't understand the pumpkin lantern was not visible in the crafting menu. I turned on my mods and there it was again.. with the same result posted below. Sorry I wasn't able to be more helpful.
shequan Feb 5, 2016 @ 9:53pm 
you bet.. I'll try to do that tomorrow.
Terotrous  [author] Feb 5, 2016 @ 9:21pm 
Okay, so either they've drastically changed the shipwrecked codebase, or one of your other mods alters builder.lua, because my version of builder.lua in RoG doesn't have anywhere near 497 lines.

Could you try running a test with just my mod enabled and see if it still gives that error? That would rule out any possible conflicts with other mods.
shequan Feb 5, 2016 @ 7:08pm 
From the log file: http://pastebin.com/KrF8AKp2

& screenshot of crash screen: http://tinypic.com/r/wjg8sg/9

Thanks for looking into it
Terotrous  [author] Feb 4, 2016 @ 8:01pm 
It likely dumps out an error message when it crashes, if you could post what it says it might help me figure out what's breaking it.
shequan Feb 4, 2016 @ 7:18pm 
The game crashes when you try to craft this.
Terotrous  [author] Feb 4, 2016 @ 4:25pm 
I don't have Shipwrecked yet. What happens if you try to use this mod with it?

I just tried it out in current RoG and it still works.
shequan Jan 24, 2016 @ 2:06pm 
SW please!
Lady Isabella Dec 3, 2015 @ 9:28pm 
Add to sw please
Duke Feariarch Oct 19, 2015 @ 1:39pm 
the sp00k is now eternal
VinchenzoTheJackal & Shoon Jul 22, 2015 @ 10:24am 
Understandable... I'll rate up, even favorite this... not sure if I'll use it much considering the trade-offs though, but I totally respect you not making alternate versions of this mod and uploading them here.
Terotrous  [author] Jul 21, 2015 @ 8:35pm 
It was definitely a deliberate choice for you not to get a full refund upon smashing it, because then you could just smash it to move it whenever you wanted, the tradeoff is that it lasts forever, but you can't relocate it anymore.

Still, once you get an advanced farm going and get a few pumpkins, it can be really useful for providing a constant light source around key areas of your base.
VinchenzoTheJackal & Shoon Jul 21, 2015 @ 8:31pm 
True, stragetically it could become slightly better, but it would probably require a few mistakes in placing before one finally could find an ideal spot. Maybe if you had other versions of this mod, like one where you could get a full refund smashing them them, and another where instead you can't get a full refund but could at least move the built lanterns. If anything, I don't see myself changing the light it generates even though it is low simply because it makes them look cool at night and is the maximum light needed to protect the character when standing in place between two of them. Well, other mod makers have often made a choice whether to add alternate versions of their mods and what they'd like in said mods. I fully respect your choice whether or not you make an alternate version of this mod.:dssmallbird:
Terotrous  [author] Jul 21, 2015 @ 7:32pm 
Well yeah, it's not supposed to be a massive upgrade, but I do think that if used strategically it makes the lantern a bit better overall.
VinchenzoTheJackal & Shoon Jul 21, 2015 @ 1:52pm 
Everything about this mod is great, except that you can neither move the object, or regain the materials. It's basically a mod that neither is an upgrade or downgrade from the default pumpkins... as these still are not that useful...
RangedSpider Jun 5, 2015 @ 8:16pm 
It's the only reason im still alive in my all darkness world even though ive only been able to get myself one of these.
Naterade Jun 1, 2015 @ 2:55pm 
Nice mod. Makes pumpkin lanterns worth crafting.
Rydi May 29, 2015 @ 8:50am 
It works like a good, but the problem is placing too great a distance from the objects to put pumpkin lantern can not be put near the trunk. You can do that as a pumpkin lantern raised trunks close to the subject
Thea_Dosia.TTV May 27, 2015 @ 2:44pm 
Makes pumpkins useful for something thanks!
Turtle May 17, 2015 @ 3:13pm 
sp00ky
Terotrous  [author] May 17, 2015 @ 9:12am 
It is in DST, actually.
The Crooked May 17, 2015 @ 7:50am 
I'd love to see it in DST
Turtle May 9, 2015 @ 4:05pm 
Nice mod! Balanced with a tiny push to survival.
ailailou-fi May 6, 2015 @ 2:29am 
Thank you! ^^