Type decorative

Place to get help with not working mods / modding interface.
Post Reply
vedrit
Filter Inserter
Filter Inserter
Posts: 293
Joined: Sun Aug 03, 2014 2:25 am
Contact:

Type decorative

Post by vedrit »

Hi all,
I'm trying to jimmy-rig an older mod to work with 0.15, and I'm getting the message
"The type decorative has been obsoleted and cannot be created"
When I replace "decorative" with "optimized-decorative" for an entity, the game behaves as if that entity no longer exists.
If anyone knows what's going on or what I need to do, or if you need more information, please let me know.

vedrit
Filter Inserter
Filter Inserter
Posts: 293
Joined: Sun Aug 03, 2014 2:25 am
Contact:

Re: Type decorative

Post by vedrit »

I'll post some additional information.
The entity originally was

Code: Select all

type = "decorative",
    name = "forcefield-tool",
which has been deprecated, but when I change it to

Code: Select all

type = "optimized-decorative",
    name = "forcefield-tool",
I get

Code: Select all

Failed to load mods: Error in assignID, entity with name 'forcefield-tool' does not exist.
The entity is use to configure another entity (Not sure why or where this happens)

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Type decorative

Post by Nexela »

Try either a simple-entity or scrap the entity and use a selection-tool

vedrit
Filter Inserter
Filter Inserter
Posts: 293
Joined: Sun Aug 03, 2014 2:25 am
Contact:

Re: Type decorative

Post by vedrit »

Nexela wrote:Try either a simple-entity
Ah, that did the trick. Thank you!

Post Reply

Return to “Modding help”