Mayli-Song Posted January 16, 2017 Share Posted January 16, 2017 I just sort of want Willow's infinite lighter back and I'm not sure how to go about that. Link to comment Share on other sites More sharing options...
TheKingDedede Posted January 16, 2017 Share Posted January 16, 2017 I summon the one person who may know of this. @CaptainChaotica Link to comment Share on other sites More sharing options...
zUsername Posted January 16, 2017 Share Posted January 16, 2017 @Mayli-Song Easy way. AddPrefabPostInit("lighter", function(inst) if not TheWorld.ismastersim then return inst end if inst.components.fueled then inst.components.fueled:InitializeFuelLevel(99999999999999) end end) Link to comment Share on other sites More sharing options...
CaptainChaotica Posted January 16, 2017 Share Posted January 16, 2017 (edited) Heheh. I love that you thought of me for this. The main way I know (short of doing stuff to the code) is the "Willow the UnNerfed*" mod, which simply puts her back to her original singleplayer Don't Starve self. ...yes, ALL the way back. ...yes, including THAT part. (Well...not _quite_ all the way back. She still has Bernie, and she can still craft a lighter if for some reason you lose yours. You can't cook on it, though. She also drops the lighter upon disconnecting, ala Chester's eyebone and such.) Anyway, relevant mods include: Willow the UnNerfed by Ace Murdock (I use this one 'cos I played regular Don't Starve first and know--kinda--how to handle her insanity. It's not for everyone.) Note that this ADDS the old Willow to your game, not replaces the DST version! (As I used to think.) If you scroll to the very end of your character list, you'll see Willow listed again--that's the DST one. Both versions still have the DST description, though. Twigs and Matches by Gummy Gumshoe; this does various tweaks to the two DST characters who arguably need it the most, Willow and Woodie. (And some other various tweaks.) Willow's lighter doesn't lose fuel while being used _by her_, you can still cook on it, and she's immune to fire again. She doesn't set fires when insane yet but apparently that's upcoming. The tweaks to Woodie are AWESOME, too, and very much needed. Maxwell, Abigail and Wickerbottom get some (much-needed, in Maxwell's case) love as well. Characters Rebalanced by Broken Android. As it sounds like, this is tweaks to just about everyone. The relevant thing here is that Willow's lighter, again, only loses durability when used by someone else. Characters Rebalanced for PvP by Indie-Ana Jones. In case you PvP. Willow takes _less_ damage from fire and her lighter is again infinite when wielded by her only. Aaand, there ya go. Again, flattered you thought of me instead of one of the oldie members who draws lovely fanart of Willow and/or has a title, or stuff like that. Heh. ...Notorious *If you look up the list of mods being used by a server, _there_ it's called "Willow the Firestarter". Confusing, but it's the same thing as "UnNerfed". Edited January 16, 2017 by CaptainChaotica Link to comment Share on other sites More sharing options...
Ryuushu Posted January 16, 2017 Share Posted January 16, 2017 @Mayli-Song Even easier way: AddPrefabPostInit("lighter", function(inst) if not GLOBAL.TheWorld.ismastersim then return end if inst.components.fueled then inst:RemoveComponent("fueled") end end) Link to comment Share on other sites More sharing options...
zUsername Posted January 17, 2017 Share Posted January 17, 2017 @Ryuushu You'll crash when you equip lighter. "Lighter" have onequip call which using "fueled" components. Link to comment Share on other sites More sharing options...
Ryuushu Posted January 17, 2017 Share Posted January 17, 2017 @zUsername Where? Spoiler local function onequip(inst, owner) inst.components.burnable:Ignite() owner.AnimState:OverrideSymbol("swap_object", "swap_lighter", "swap_lighter") owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal") inst.SoundEmitter:PlaySound("dontstarve/wilson/lighter_LP", "torch") inst.SoundEmitter:PlaySound("dontstarve/wilson/lighter_on") inst.SoundEmitter:SetParameter("torch", "intensity", 1) if inst.fire == nil then inst.fire = SpawnPrefab("lighterfire") --inst.fire.Transform:SetScale(.125, .125, .125) inst.fire.entity:AddFollower() inst.fire.Follower:FollowSymbol(owner.GUID, "swap_object", 56, -40, 0) end end local function onunequip(inst,owner) if inst.fire ~= nil then inst.fire:Remove() inst.fire = nil end inst.components.burnable:Extinguish() owner.AnimState:Hide("ARM_carry") owner.AnimState:Show("ARM_normal") inst.SoundEmitter:KillSound("torch") inst.SoundEmitter:PlaySound("dontstarve/wilson/lighter_off") end local function onpocket(inst, owner) inst.components.burnable:Extinguish() end I always test every bit of code before I post it as an answer, so I'm fairly certain it won't crash. It won't crash on cooking food neither, since it has a check for the component. Link to comment Share on other sites More sharing options...
zUsername Posted January 18, 2017 Share Posted January 18, 2017 (edited) @Ryuushu Ok I'm using old version to play with my friend. Newest version not have fueled in equip anymore. Edited January 18, 2017 by zUsername Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now