Help

Place to get help with not working mods / modding interface.
Andreyt1234
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Feb 19, 2016 1:21 pm
Contact:

Help

Post by Andreyt1234 »

Error when starting the game: EntityPrototype Turecar doesn't have an order string and there is no item to place it.
Attachments
turecar_0.0.1.rar
(2.23 KiB) Downloaded 336 times
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Help

Post by Arch666Angel »

Andreyt1234 wrote:Error when starting the game: EntityPrototype Turecar doesn't have an order string and there is no item to place it.

Code: Select all

 
--Item car
{
    type = "item",
    name = "Turecar", -use lowercases, uppercase names are defined in the localisation files
    icon = "__base__/graphics/icons/car.png",
    flags = {"goes-to-quickbar"},
    subgroup = "transport",
    order = "a[personal-transport]-c[car]",  - has to be [turecar] then
    [b]place_result = "car",[/b] - has to be "turecar" then, this the entity you actually place in the world
    stack_size = 1
  },
Andreyt1234
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Feb 19, 2016 1:21 pm
Contact:

Re: Help

Post by Andreyt1234 »

Arch666Angel wrote:
Andreyt1234 wrote:Error when starting the game: EntityPrototype Turecar doesn't have an order string and there is no item to place it.

Code: Select all

 
--Item car
{
    type = "item",
    name = "Turecar", -use lowercases, uppercase names are defined in the localisation files
    icon = "__base__/graphics/icons/car.png",
    flags = {"goes-to-quickbar"},
    subgroup = "transport",
    order = "a[personal-transport]-c[car]",  - has to be [turecar] then
    [b]place_result = "car",[/b] - has to be "turecar" then, this the entity you actually place in the world
    stack_size = 1
  },
Error: _turecar_/data.lua:1:_turecar_/prototypes/Turecar.lua:6:'}' expected (to close '{at line 4) near 'lowercases'
Throw please modes in finished form. My English - Google Translation.
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Help

Post by Arch666Angel »

Code: Select all

--Item car
{
    type = "item",
    name = "Turecar",
    icon = "__base__/graphics/icons/car.png",
    flags = {"goes-to-quickbar"},
    subgroup = "transport",
    order = "a[personal-transport]-c[turecar]",
    place_result = "turecar",
    stack_size = 1
  },
Andreyt1234
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Feb 19, 2016 1:21 pm
Contact:

Re: Help

Post by Andreyt1234 »

Arch666Angel wrote:

Code: Select all

--Item car
{
    type = "item",
    name = "Turecar",
    icon = "__base__/graphics/icons/car.png",
    flags = {"goes-to-quickbar"},
    subgroup = "transport",
    order = "a[personal-transport]-c[turecar]",
    place_result = "turecar",
    stack_size = 1
  },
Error: Error in assignID, entity with name 'turecar' does not exist
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Help

Post by Arch666Angel »

That's because you mixed upper and lower case names.
Attachments
turecar_0.0.1.zip
(2.63 KiB) Downloaded 109 times
Andreyt1234
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Feb 19, 2016 1:21 pm
Contact:

Re: Help

Post by Andreyt1234 »

Arch666Angel wrote:That's because you mixed upper and lower case names.
Thank you.
darthun
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon May 16, 2016 10:19 pm
Contact:

Re: Help

Post by darthun »

is there a decent tutorial or documentation on this order thing ? I don't get it and i have a similar error.
Post Reply

Return to “Modding help”