trying to make a workable engine
trying to make a workable engine
i had an idea to make a heat based engine that consumes heat and outputs electric i had small success when i used a heat interface. Do i have to create a new item with a sub directory? see file
need help with this what am i missingRe: trying to make a workable engine
No, otherwise the game would complain before starting
Re: trying to make a workable engine
The new mod set having an issue with a nil value
on line 33 in the definitions any advice
on line 33 in the definitions any advice
- Attachments
-
- Heat-Engine.zip
- what am doing wrong here
- (1.43 MiB) Downloaded 26 times
Re: trying to make a workable engine
The new mod is having even more issues! You can fix the crash at line 33 by using
Code: Select all
data:extend({
Code: Select all
extend({
Code: Select all
Mods to disable:Failed to load mods: __heat-engine__/data.lua:10: attempt to index global 'script' (a nil value)
So the solution would be to remove event handlers and everything else that belongs to the control stage from data.lua.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
Re: trying to make a workable engine
thanks i have revamped the mod since but i am still having an issue that i am unsure how to resolve the entity heat engine has a heat buffer and we have a hidden energy interface the control call for a nth tick function at 60 but then i get an error where the heat buffer is not found i will again post a copy of the mod but will continue working on it i can now get the item to spawn in game on the map editor but when trying to save and play for testing purposes the game crashes and line 40 i belive on the control say there is no heat buffer