Entity prototype not working
Posted: Wed Nov 08, 2017 1:29 am
My entity prototype isnt working, but I dont know why. When I launch the game it says:
Imgur link
The text is:
The entity prototype is as follows:
The picture file does exist, and I have tried replacing it with a picture form the base game, but it still brings up this same error. It's probably something really obvious, but I cant figure it out. Any help at all would be appreciated!
Thx.
Imgur link
The text is:
Code: Select all
Error while loading entity prototype "destroyerOfTheTrueEnemy" (simple-entity): Missing pictures or picture input in property tree at ROOT.simple-entity.destroyerOfTheTrueEnemy
Code: Select all
data:extend({
{
type = "simple-entity",
name = "destroyerOfTheTrueEnemy",
flags = {"placeable-off-grid"},
icon = "__destroyerOfTheTrueEnemy__/graphics/destroyerOfTheTrueEnemyIcon.png",
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
stack_size = 100
}
})
Thx.