Sample project to test tree manipulation in Factorio.
####Subject discussed: https://www.reddit.com/r/FactorioMods/comments/sti3hj/i_want_to_create_a_tree_mod/
####Files
control.lua
- There is some code to fool-flicker tree instance fields near player spawn pointraw-tree-from-data.lua
<- Small cut from ingame raw Data- PKG_* files are for Makefile (https://github.com/narc0tiq/factorio-mod-makefile)
data.lua
<- Edit sprites here
####Original tree sprites for Linux are at
/home/ilit/.steam/steam/steamapps/common/Factorio/data/base/graphics/entity/tree/01/tree-01-d-leaves.png
####Ingame debug shortcuts
F4
Ctrl+Shift+E
Ctrl+Shift+F
while cursor is on entity
####Factorio Mod Debug for VSCode
####VSCode Factorio Lua API autocomplete
####Linux build+deploy:
- Edit deploy.sh once
chmod a+x deploy.sh
once./deploy.sh
###Notes
- I'm not using VSCode. Can't help with that.
- And don't know how build this on Windows. I assume there are only two steps: compile Lua and zip.