Version 0.12.12

Information about releases and roadmap.
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Version 0.12.12

Post by cube »

Trangar
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Nov 16, 2014 10:29 am
Contact:

Re: Version 0.12.12

Post by Trangar »

Like
Tivec
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Feb 20, 2014 9:10 pm
Contact:

Re: Version 0.12.12

Post by Tivec »

Trangar wrote:Like
Totally.
User avatar
mngrif
Fast Inserter
Fast Inserter
Posts: 173
Joined: Wed Feb 13, 2013 10:44 am
Contact:

Re: Version 0.12.12

Post by mngrif »

Tivec wrote:
Trangar wrote:Like
Totally.
As if.
My Silly Factorian Tricks
<_aD> OBSERVE SIGNAL ASPECT BEFORE CROSSING TRACK
Bartimaeus
Inserter
Inserter
Posts: 42
Joined: Sun Aug 16, 2015 10:23 am
Contact:

Re: Version 0.12.12

Post by Bartimaeus »

Maybe I am dumb, but how do I use this:
cube wrote:game.get_localised_entity_name is replaced by LuaEntityPrototype::localised_name read property. The same for technology and item.
to fix my mods?

I tried replacing game.get_localised_item_name with LuaEntityPrototype::localised_name and instead I am just getting a different error:
Error while running the event handler: __autofill__/control.lua:108: LuaGameScript doesn't contain key get_localised_item_name.
TBog
Inserter
Inserter
Posts: 34
Joined: Tue Feb 03, 2015 3:15 pm
Contact:

Re: Version 0.12.12

Post by TBog »

Bartimaeus wrote:Maybe I am dumb, but how do I use this:
cube wrote:game.get_localised_entity_name is replaced by LuaEntityPrototype::localised_name read property. The same for technology and item.
to fix my mods?

I tried replacing game.get_localised_item_name with LuaEntityPrototype::localised_name and instead I am just getting a different error:
Error while running the event handler: __autofill__/control.lua:108: LuaGameScript doesn't contain key get_localised_item_name.
Try: game.item_prototypes["iron-plate"].localised_name()
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Version 0.12.12

Post by bobingabout »

TBog wrote:
Bartimaeus wrote:Maybe I am dumb, but how do I use this:
cube wrote:game.get_localised_entity_name is replaced by LuaEntityPrototype::localised_name read property. The same for technology and item.
to fix my mods?

I tried replacing game.get_localised_item_name with LuaEntityPrototype::localised_name and instead I am just getting a different error:
Error while running the event handler: __autofill__/control.lua:108: LuaGameScript doesn't contain key get_localised_item_name.
Try: game.item_prototypes["iron-plate"].localised_name()
except, you know, with an entity not an item.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Bartimaeus
Inserter
Inserter
Posts: 42
Joined: Sun Aug 16, 2015 10:23 am
Contact:

Re: Version 0.12.12

Post by Bartimaeus »

TBog wrote:Try: game.item_prototypes["iron-plate"].localised_name()
when I do that I get
Error while running the event handler: __autofill__/control.lua:109: attempt to call field 'localised_name' (a table value)
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: Version 0.12.12

Post by Zeblote »

Bartimaeus wrote:
TBog wrote:Try: game.item_prototypes["iron-plate"].localised_name()
when I do that I get
Error while running the event handler: __autofill__/control.lua:109: attempt to call field 'localised_name' (a table value)
Try without (), it's not a method
Bartimaeus
Inserter
Inserter
Posts: 42
Joined: Sun Aug 16, 2015 10:23 am
Contact:

Re: Version 0.12.12

Post by Bartimaeus »

Zeblote wrote:Try without (), it's not a method
hah I've just figured it out myself a minute ago that its not a method but a property call :D

autofill is still broken for me because when you have no fuel to put in its trying to access localised property of a "liquid-fuel-canister" ... that does not exist :D but that is no longer a problem of the change in this release, rather a problem of the logic of the mod itself

thanks for help
User avatar
Zemerson
Long Handed Inserter
Long Handed Inserter
Posts: 52
Joined: Thu Nov 28, 2013 9:57 am
Contact:

Re: Version 0.12.12

Post by Zemerson »

DUN DUN DUN!
Will there be a 12.13 for Halloween :P
User avatar
Schorty
Fast Inserter
Fast Inserter
Posts: 185
Joined: Tue Aug 12, 2014 10:29 am
Contact:

Re: Version 0.12.12

Post by Schorty »

You guys remember last year, when we were waiting for the 0.11.0 release, which came 31.10.? That was kinda funny :D
Tired of not being able to reduce the pollution? Try the Air-Filter-Mod
With this, you are able to use the pollution levels in your circuit network: Pollution detector
ps666
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Sat Jul 04, 2015 8:40 pm
Contact:

Re: Version 0.12.12

Post by ps666 »

Night vision is broken.
PC specs:
AMD Radeon 290X
Intel Core i5@4,5 GHz
16 GB RAM
Windows 10
Attachments
Factorio1.jpg
Factorio1.jpg (320.27 KiB) Viewed 20407 times
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Version 0.12.12

Post by bobingabout »

Oh look, another display issue with Windows 10 and AMD graphics cards.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
generalmek
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Sun Sep 29, 2013 1:13 pm
Contact:

Re: Version 0.12.12

Post by generalmek »

cool
KrzysD
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Mon Oct 27, 2014 6:49 pm
Contact:

Re: Version 0.12.12

Post by KrzysD »

how can i fix this line in upgrade planner?
ruleset_grid["upgrade-planner-" .. type .. "-" .. index].caption = game.get_localised_item_name(stack.name)

ive tried a bunch of ways to write it and i guess i dont know enough about lua to get it
TBog
Inserter
Inserter
Posts: 34
Joined: Tue Feb 03, 2015 3:15 pm
Contact:

Re: Version 0.12.12

Post by TBog »

KrzysD wrote:how can i fix this line in upgrade planner?
ruleset_grid["upgrade-planner-" .. type .. "-" .. index].caption = game.get_localised_item_name(stack.name)

ive tried a bunch of ways to write it and i guess i dont know enough about lua to get it
Maybe something like this?
ruleset_grid["upgrade-planner-" .. type .. "-" .. index].caption = game.item_prototypes[stack.name].localised_name
KrzysD
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Mon Oct 27, 2014 6:49 pm
Contact:

Re: Version 0.12.12

Post by KrzysD »

TBog wrote:
KrzysD wrote:how can i fix this line in upgrade planner?
ruleset_grid["upgrade-planner-" .. type .. "-" .. index].caption = game.get_localised_item_name(stack.name)

ive tried a bunch of ways to write it and i guess i dont know enough about lua to get it
Maybe something like this?
ruleset_grid["upgrade-planner-" .. type .. "-" .. index].caption = game.item_prototypes[stack.name].localised_name
You wonderful person! That worked! Thank YOU! :D :D :D :D
Post Reply

Return to “Releases”