[Solved] Entity type for a decorative item with health?

Place to get help with not working mods / modding interface.
User avatar
simonsays476
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Mar 22, 2016 4:45 pm
Contact:

[Solved] Entity type for a decorative item with health?

Post by simonsays476 »

Hello, I'm making a mod to add decorative items. I'm stumped on what "type=" I should be using for an entity that has health, is user placeable, does absolutely nothing, and only has one graphic sprite. I've tried using the "simple-entity" which is used for the destructible rocks, but that requires multiple graphics. Any help would be greatly appreciated.
Last edited by simonsays476 on Tue Mar 22, 2016 6:56 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15921
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Entity type for a decorative item with health?

Post by Rseding91 »

simonsays476 wrote:Hello, I'm making a mod to add decorative items. I'm stumped on what "type=" I should be using for an entity that has health, is user placeable, does absolutely nothing, and only has one graphic sprite. I've tried using the "simple-entity" which is used for the destructible rocks, but that requires multiple graphics. Any help would be greatly appreciated.
"simple-entity" can have either multiple graphics or a single image. Just define the image as "picture = ...".
If you want to get ahold of me I'm almost always on Discord.
User avatar
simonsays476
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Mar 22, 2016 4:45 pm
Contact:

Re: Entity type for a decorative item with health?

Post by simonsays476 »

Ah thank you, I was simply copying the data for the destructible rocks so I never would have known you could do that.
Post Reply

Return to “Modding help”