renoth / factorio-alien-module

A mod for factorio
MIT License
14 stars 16 forks source link

Fix several small issues #5

Closed jessefjxm closed 6 years ago

jessefjxm commented 6 years ago
  1. Use {type = "logistic-container"} to filter out all these kind of containers. Support bob's logistics now.
  2. Move main update section into a tick event that runs every 30 ticks. So it won't freeze the inventory when too much biters died in one tick.
  3. Please ignore some localization I made. I just feel lazy to move them into the locale files :)
jessefjxm commented 6 years ago

Sure! I just feel like if we can localized those key words showing in gui would be perfect. I'm not sure if we can call localized strings in any where inside the mod luas.

renoth commented 6 years ago

Localized String API looks like this aparrently: http://lua-api.factorio.com/latest/Concepts.html#LocalisedString

renoth commented 6 years ago

Thank you very much for the PR, i commited the localization string loading in another PR! Should work with Chinese now as well.