Commit Graph

21 Commits

Author SHA1 Message Date
Fernando Carmona Varo 3c9d71e6f7 Make flammable: Flowers, grasses and several crafitems 2016-10-25 02:37:36 +01:00
Tim 1799754a8f Default: Prevent possible nil-crash on invalid book metadata 2016-10-05 22:23:49 +01:00
Tim 4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
kilbith 082b36d3e7 Books: Split text per page relatively to number of lines 2016-04-14 02:45:57 +01:00
Jean-Patrick Guerrero 6749da1070 Books: Ensure backward compatibility for older written books 2016-03-25 13:15:12 +00:00
Jean-Patrick Guerrero a71948c007 Books: Move page buttons at the bottom 2016-03-22 15:46:19 +00:00
Jean-Patrick Guerrero b57dd0f9b2 Books: Add support for multiple pages 2016-03-21 06:17:40 +00:00
Jean-Patrick Guerrero 28884cc784 Add flint and flint-and-steel 2016-03-15 16:22:42 +00:00
paramat 6c6cc2159a Default/craftitems: Fix whitespace and code style issues 2016-03-06 01:30:40 +00:00
tenplus1 aa254e2835 Fix book formspec to word-wrap lines
Books still don't wrap long lines of text properly so until this has been sorted out I suggest reverting back to a previous working formspec which lets players read books properly until a fix is found (and maybe scrollbars added to texarea's).  Also adding a recipe to blank written books.
2016-03-03 00:37:07 +00:00
MT-Modder 1ab0fc12a7 Add background image to book formspec 2016-02-19 19:54:45 +00:00
Auke Kok b0ec8f1b5a Allow books to be copied on the craft grid.
Combine any written book with an empty book to copy it. The
copy is in player hands when using, and the original is put
back on the crafting grid and can be directly copied again.

All ownership and metadata is retained, so the copy of the book
is as writable as the original is, or isn't.
2016-01-05 23:29:08 +00:00
Auke Kok b57ecb94df Add a separate image for a written book.
Since written books are quite different from empty books, the
visual clue that they are different items is really needed in-game.

I've added a "clasp" or "belt-with-buckle" like element to the
png from default_book, keeping them very similar but also
immediately recgnizably different.

I added the new texture to blockmen's license list since it's
obviously derivative of his work.

The PNG was run through a minimizer/optimizer to save space.
2015-12-12 19:56:56 +01:00
Rui 3fb6ee5bdf Default/book: textarea -> table 2015-10-18 18:02:27 +01:00
tenplus1 8b4a92ef2d word-wrap book text
This change word-wraps text when reading a book.
2015-06-08 16:29:44 +02:00
ShadowNinja 64fa8e6be5 Make books writable 2015-06-07 15:57:29 +02:00
PilzAdam 20f938e44a Allow the group book to be placed into bookshelfs 2014-12-06 11:46:04 +01:00
BlockMen c4969665e7 Fix dye stuff, fixes #243 2014-09-16 19:40:50 +02:00
BlockMen 13dfc2c0e9 More new Textures, Clean up a bit 2014-07-05 16:03:06 +02:00
ShadowNinja 7b8ad5786c Add and use the stick group 2013-11-01 11:34:24 -04:00
PilzAdam ea6d504b01 Split init.lua into several files 2013-05-19 18:43:04 +02:00