now tested with blocks created by previous versions of the mod. should be safe for worlds created before these changes.

superglowglass changed to super_glow_glass.
attempts at setting the hues and dyes and whatnot to fix the craft recipes, since changes to default dyes and unifieddyes broke them some time ago.

manual initialization for blocks and recipes. DON'T USE THIS YET, I'm still working on it.

WORKING:  craft recipes, most blocks, use of new color palette
UNTESTED:  mapping of old blocks to these new blocks
NOT WORKING:  faint, pastel type blocks

much cleaner code.  it LOOKS like the light/pastel blocks should be working perfectly, even when digging through the debug logs...however, they aren't craftable.  I'm not sure why this is.  hopefully, someone can point me in the right direction

dark green, magenta all sorted out now, thanks to vanessaE.
Still, this makes me wonder if I should be using exact dye names everywhere.
also, brown will no longer map to yellow stained glass.

uuuuugh, ugly hack -- had to define separate subs for pastel and faint blocks.  could be worse I suppose.
This is now working for new worlds, but be careful on existing worlds -- it isn't tested there yet, though it SHOULD work.

updates to copyright and usage of the mod.

changelog updated.

doyousketch2 has returned!  fixes to README file, since this is still his baby.

leftover temp file...didn't need to be here.
This commit is contained in:
andersje
2013-08-20 23:12:34 -05:00
parent 849513e165
commit 02ec406eb7
4 changed files with 236 additions and 520 deletions

View File

@ -1,12 +1,17 @@
Doyousketch2's Stained Glass mod
ver 1.3
ver 1.4
Image: http://oi47.tinypic.com/hst6s3.jpg
With alpha enabled: http://oi44.tinypic.com/5vraxf.jpg
==============================================================================
Originally developed by Eli Innes/Doyousketch2, and distributed
under GPL v2. Further changes by VanessaE (removing from creative inventory)
and Jeremy Anderson (fixing craft recipes, renaming blocks)
==============================================================================
Dependencies: VanessaE's Unified Dyes, Calinou's More Blocks
@ -24,6 +29,14 @@ to simply read "stained_glass"
then move it into your Minetest mods folder.
Even better, get stained_glass from one of the github pages:
https://github.com/doyousketch2/stained_glass
https://github.com/VanessaE/stained_glass
https://github.com/andersje/stained_glass
-- this will get you the latest version of the code, and you
can update at any time by doing a git pull
==============================================================================
@ -61,8 +74,6 @@ image: http://oi45.tinypic.com/2wbvkti.jpg
All recipes produce three glowing stained glass blocks.
Pastel blocks give back an empty bucket.
Faint blocks give back two empty buckets.
==============================================================================
@ -83,6 +94,19 @@ as well as light, pastel, and faint tints.
Misc. Notes
-----------
Blocks are now available by name:
e.g. /giveme stained_glass:orange 3 # get 3 orange sg blocks
or /giveme stained_glass:light_yellow
or /giveme stained_glass:pastel_yellow
or /giveme stained_glass:faint_yellow
or /giveme stained_glass:yellow
You get the idea.
NUMERIC CODES FOR BLOCKS (this is the old way of coding these blocks
developed by Doyousketch2)
Please don't try to use /give commands, the items are now in numerical format,
and it would be tough to try to explain it.