I'm writing a small mod, im new to writing game mods.
I have 2 problems, one I "partially" solved. Game requrires me to make mod folder name: modname_0.1.1 instead of modname. I renamed it to such, but that's not what tutorial says.
Another problem is when I try to define Entity. I get error: Error in assignID 'mygenerator' was not recognized id of entity.
Part of code, that does not let me run game:
Code: Select all
type = "generator",
name = "mygenerator",
icon = "__windenergy__/graphics/generator_icon.png",
flags = {"placeable-neutral","player-creation"},
minable = {mining_time = 1, result = "mygenerator"},
max_health = 300,...