4.0.4 • Published 6 years ago

factorio-data v4.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

factorio-data

Factorio (v0.17.36) prototype data in JS + spritesheets

Install

npm i factorio-data

Build

npm run build

data/raw.json is the raw data export, more info here, it's generated by loading

  • core/lualib/dataloader.lua
  • core/data.lua
  • base/data.lua
  • base/data-updates.lua

in this order

defines.lua is used to generate raw.json, update it by running the following command in game

/c game.write_file("defines.lua", serpent.block(_G.defines, {comments=false}))

Notes

Check src/*.js to see how the files are built before using them.

Prototypes

entities.js

In addition to all entity properties I've added new ones:

  • size
  • possible_rotations

items.js

It contains all items in the game including fluids and virtual signals. It also contains fluid recipes because I needed the icons.

inventoryLayout.js

Depends on items.js and is the template of the in-game inventory.

I also added a new creative tab to it that contains:

  • loader
  • fast_loader
  • express_loader
  • infinity_chest
  • heat_interface
  • infinity_pipe
  • electric_energy_interface

Graphics

utilitySpritesheet

Is a spritesheet containing some utility sprites like cursor boxes, wires, arrows, etc.

iconSpritesheet

Is a spritesheet containing all item sprites in the game including the inventory group sprites.

tileSpritesheet

Is a spritesheet containing tileable tile sprites.

(LR/HR)EntitySpritesheet

Is a spritesheet containing entity sprites. Some entity sprites are excluded and some are cropped.

Copyright notice

All art assets, spritesheets and other Factorio game data used in this project belong to Wube Software Ltd and are not for redistribution.

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.0

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago