forked from oerkki/voxelands
increase papyrus and grass growing speeds
This commit is contained in:
parent
d91ccc36c3
commit
d360d93138
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue