Factorio-Stdlib
Factorio-Stdlib copied to clipboard
Factorio Standard Library Project
Issue: Data.Technology http://afforess.github.io/Factorio-Stdlib/classes/Data.Technology.html Data.Item http://afforess.github.io/Factorio-Stdlib/classes/Data.Item.html Data.Fluid http://afforess.github.io/Factorio-Stdlib/classes/Data.Fluid.html and Data.Entity http://afforess.github.io/Factorio-Stdlib/classes/Data.Entity.html are missing all documation I expected: documentation similar to Data.Recipe http://afforess.github.io/Factorio-Stdlib/classes/Data.Recipe.html
https://github.com/Afforess/Factorio-Stdlib/blob/f371fc4e339376416d13fd434e623cdfecd8d250/stdlib/event/event.lua#L68 Should be: `error('Detected attempt to register an event using script.' .. name .. ' while using the STDLIB event system ' .. (id and id or ''))` If this...
#### Describe the Bug deadlock's stacking + Spidertron Patrols fails because the spidertron remote isn't found as a result, and convert_results() creates an empty results table. Game has error on...
When adding ingredients, it WILL crash the game if duplicate entries exist, under most circumstances. The quick and dirty fix is to remove it before adding it, a more complicated...
#### Describe the Bug Event handler filter function is never called if more than one event ID is specified when registering an event. #### To Reproduce Use `event.register` to define...
#### Describe the Bug have a recipe with add_ingredient attempting to add an module type object as an ingredient even though the module is valid and exists in data.raw before...
https://github.com/Afforess/Factorio-Stdlib/blob/78b02eadaf626cec539306f741aea968c0d2f967/stdlib/event/trains.lua#L107 Deleted trains must be intercepted `if (id ~= derived_id and derived_id ~= nil) then`
Technology:remove_prereq nullifies prerequisites value of Technology if there's no values left in it. I believe Factorio expects it to be at least empty table. I'm not sure, though, but boblibrary's...
So the function Recipe:clear_ingredients checks only for self.normal, and then performs actions on self.normal and self.expensive, without checking for self.expensive, causing an error if used on any recipes that are...