s = stick
x = stone
e = empty
Craft
e s e
e x e
e e e
It is nicer to see images as symbols. Imagemagick allows the appending of images.
I wrote a simple bash script to get this project started. It uses imagemagick (sudo apt-get install imagemagick). Here it is:
- Code: Select all
convert \( $1 $2 $3 +append \) \
\( $4 $5 $6 +append \) \
\( $7 $8 $9 +append \) \
-background none -append "craft_$10.png"
An example of a result is:
Another would be
I'm looking forward on developing this further so it would automagically generate crafts with the input of an init.lua. Any suggestions on the best way to do this?