From d360d931386baeba77e2877d3ffef3bdde9f6a9e Mon Sep 17 00:00:00 2001 From: darkrose Date: Sat, 20 Apr 2013 02:02:47 +1000 Subject: [PATCH] increase papyrus and grass growing speeds --- src/environment.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/environment.cpp b/src/environment.cpp index cea31bf..15bd8b2 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -1226,7 +1226,7 @@ void ServerEnvironment::step(float dtime) } /* grow junglegrass on sand near water */ if(n.getContent() == CONTENT_SAND) { - if(myrand()%500 == 0) + if(myrand()%200 == 0) { MapNode n_top1 = m_map->getNodeNoEx(p+v3s16(0,1,0)); MapNode n_top2 = m_map->getNodeNoEx(p+v3s16(0,2,0)); @@ -1256,7 +1256,7 @@ void ServerEnvironment::step(float dtime) } /* make papyrus grow near water */ if(n.getContent() == CONTENT_PAPYRUS) { - if(myrand()%500 == 0) + if(myrand()%100 == 0) { MapNode n_top1 = m_map->getNodeNoEx(p+v3s16(0,1,0)); MapNode n_top2 = m_map->getNodeNoEx(p+v3s16(0,2,0));