- bar
requestfilters
conditions
filters
Related: https://forums.factorio.com/forum/vie ... 30&t=15496
Right. You have to use those to read the values off entities. The URL you linked is for creating entities using the create_entity method - the methods I listed are for reading/writing the values off real entities.erisco wrote:I am not using these get_ and set_ methods. For example, I am using "x.filters". You can see my usage from line 48 and onward at https://github.com/erisco/quickprints/b ... ontrol.lua.
name, position, direction, force, recipe all work because they're valid read (and write in most instances) properties on LuaEntity:erisco wrote:Okay I am confused then. The related issue https://forums.factorio.com/forum/vie ... 30&t=15496 suggests (to me) these keys should work. Also, why do "name", "position", "direction", "force", and "recipe" all work? Why shouldn't "bar", "requestfilters", "conditions", and "filters" also work?
This is the documentation I refer to for LuaEntity. https://forums.factorio.com/wiki/inde ... round_type