Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
tonic + npm: factorio-blueprint
node v6.17.1
endpoint
share
tweet
const Blueprint = require("factorio-blueprint") const bp = new Blueprint(); for (let i = 0; i < 10; i++) { bp.createEntity('medium_electric_pole', { x: i, y: 0 }); } console.log(bp.encode());
Created from: https://tonicdev.com/npm/factorio-blueprint
Loading…
no comments
sign in
to comment