Jump to content

Recommended Posts

Uploaded the mod I made to Steam Workshop. You can find it under 'Stronk Willow Lighter'.

 

I've changed the radius from 1 to 3. For comparison, Firepits are 2/3/4/5 corresponding with their level of fuel. So, if you've found this thread and you just want the mod, download it and edit it till your hearts are content. Also, feel free to use the mod for whatever (I mean, it's way easier to just change the files yourself, but may as well include this since I really don't care).

 

 

So, feeling pretty hopeless here. I'm trying to find out how Willow's Lighter determines its light-radius, and where. Can someone spare a second to help me out? Thanks a bunch.

 

Disclaimer: Searched the forum first, nothing on it with the tags I've used above, so, at least this serves as a predicate for anyone else with the same question.

 

Edit: Never mind, found it. Could have sworn I checked here already. For anyone else interested:

C:\Program Files (x86)\Steam\SteamApps\common\dont_starve\data\scripts\prefabs\"lighterfire.lua"

Line 62:

inst.entity:AddLight()    inst.Light:Enable(true)    inst.Light:SetIntensity(.75)    inst.Light:SetColour(200/255,150/255,50/255)    inst.Light:SetFalloff( 0.5 )    inst.Light:SetRadius( 1 )

Change SetRadius for Willow Lighter Radius. 2/3/4/5 = campfire default levels.

 

Edited by InaneDugong
Link to comment
https://forums.kleientertainment.com/forums/topic/34988-willow-lighter-radius/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...