Sir Mephisto Posted March 16 Share Posted March 16 (edited) Hi! Literally the title. I'm so desperate for a mod or tweak like this. I've been digging through mods for days, even scripts among the game files to no avail. The only mod that seems to work (partially) is Godly Fire Infinite. However, it is so old and deprecated that it breaks the game so much that you cannot play. Any ideas and suggestions are welcome. Thanks a lot in advance for the help! Edited April 5 by Sir Mephisto Link to comment Share on other sites More sharing options...
KXWl1 Posted March 19 Share Posted March 19 You can try this in your modmain: AddComponentPostInit("fueled", function(self) local _LongUpdate = self.LongUpdate function self:LongUpdate(dt) if _LongUpdate ~= nil and not self.inst:HasTag("campfire") then _LongUpdate(self, dt) end end end) Link to comment Share on other sites More sharing options...
Sir Mephisto Posted March 23 Author Share Posted March 23 On 3/19/2024 at 8:22 AM, KXWl1 said: You can try this in your modmain: AddComponentPostInit("fueled", function(self) local _LongUpdate = self.LongUpdate function self:LongUpdate(dt) if _LongUpdate ~= nil and not self.inst:HasTag("campfire") then _LongUpdate(self, dt) end end end) Well, thank you but as much as I could I made a mod with this code but didn't help. Nothing happens? Sleepytime Vigil.zip Link to comment Share on other sites More sharing options...
KXWl1 Posted March 24 Share Posted March 24 15 hours ago, Sir Mephisto said: Well, thank you but as much as I could I made a mod with this code but didn't help. Nothing happens? Sleepytime Vigil.zip 82.69 kB · 1 download Please add these additionally: AddComponentPostInit("burnable", function(self) local _LongUpdate = self.LongUpdate function self:LongUpdate(dt) if _LongUpdate ~= nil and not self.inst:HasTag("campfire") then _LongUpdate(self, dt) end end end) Link to comment Share on other sites More sharing options...
Sir Mephisto Posted March 24 Author Share Posted March 24 4 hours ago, KXWl1 said: Please add these additionally: AddComponentPostInit("burnable", function(self) local _LongUpdate = self.LongUpdate function self:LongUpdate(dt) if _LongUpdate ~= nil and not self.inst:HasTag("campfire") then _LongUpdate(self, dt) end end end) Amazing. That worked! Thank you! I'll soon make it into a mod and upload to steamworkshop by crediting you as author. I haven't slept all night just to be able to bypass the campfires by modding always on tiki torches into the game. 1 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