Page 1 of 1

Type decorative

Posted: Fri May 19, 2017 8:34 am
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.

Re: Type decorative

Posted: Fri May 19, 2017 10:34 pm
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)

Re: Type decorative

Posted: Sat May 20, 2017 1:39 am
by Nexela
Try either a simple-entity or scrap the entity and use a selection-tool

Re: Type decorative

Posted: Sat May 20, 2017 2:30 am
by vedrit
Nexela wrote:Try either a simple-entity
Ah, that did the trick. Thank you!