From 15bc1b647f97adb22007dd0950eb8e5f163884b1 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sun, 30 Dec 2012 10:25:14 +0100 Subject: [PATCH] fixed the example in doc --- doc/lua_api.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 225a4e34c..f5a059de2 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1104,16 +1104,14 @@ methods: Example usage: spawn small apple tree apple_tree={ - axiom="FFFFFFAFAFBFB", - rules_a="[&&FFFFB][&&+++FFFFB][&&---FFFFB]", - rules_b="[&&FFF][&&+++FFF][&&---FFF]", - rules_c="", - rules_d="", + axiom="FFFFFAFFBF", + rules_a="[&&&FFFFF&&FFFF][&&&++++FFFFF&&FFFF][&&&----FFFFF&&FFFF]", + rules_b="[&&&++FFFFF&&FFFF][&&&--FFFFF&&FFFF][&&&------FFFFF&&FFFF]", trunk="default:tree", leaves="default:leaves", - angle=45, - iterations=3, - random_level=1, + angle=30, + iterations=2, + random_level=0, thin_trunks=true, fruit_tree=true, fruit="default:apple"