From e9e9543ba6608f1292b9db7c1f342168d090f358 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Wed, 15 Aug 2012 21:05:00 -0400 Subject: [PATCH] Added an example for the MineralOverlay docs lists of tuples of tuples can be confusing for a non pythoner --- docs/config.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/config.rst b/docs/config.rst index a524fa2..6573cb9 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -798,6 +798,12 @@ MineralOverlay A list of (blockid, (r, g, b)) tuples to use as colors. If not provided, a default list of common minerals is used. + Example:: + + MineralOverlay(minerals=[(64,(255,255,0)), (13,(127,0,127))]) + + + Defining Custom Rendermodes --------------------------- Each rendermode primitive listed above is a Python *class* that is automatically