Help
-
- Burner Inserter
- Posts: 8
- Joined: Fri Feb 19, 2016 1:21 pm
- Contact:
Help
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
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Help
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
},
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
-
- Burner Inserter
- Posts: 8
- Joined: Fri Feb 19, 2016 1:21 pm
- Contact:
Re: Help
Error: _turecar_/data.lua:1:_turecar_/prototypes/Turecar.lua:6:'}' expected (to close '{at line 4) near 'lowercases'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 },
Throw please modes in finished form. My English - Google Translation.
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Help
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
},
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
-
- Burner Inserter
- Posts: 8
- Joined: Fri Feb 19, 2016 1:21 pm
- Contact:
Re: Help
Error: Error in assignID, entity with name 'turecar' does not existArch666Angel 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 },
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Help
That's because you mixed upper and lower case names.
- Attachments
-
- turecar_0.0.1.zip
- (2.63 KiB) Downloaded 109 times
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
-
- Burner Inserter
- Posts: 8
- Joined: Fri Feb 19, 2016 1:21 pm
- Contact:
Re: Help
Thank you.Arch666Angel wrote:That's because you mixed upper and lower case names.
Re: Help
is there a decent tutorial or documentation on this order thing ? I don't get it and i have a similar error.