From ccfec0400f1da96ffc7c6fb6f30f4afbd26db535 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 29 Nov 2011 23:22:44 +0200 Subject: [PATCH] Modify builtin ABMs to have lower interval and higher trigger non-chance --- src/content_abm.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/content_abm.cpp b/src/content_abm.cpp index 44978c5b..63867b78 100644 --- a/src/content_abm.cpp +++ b/src/content_abm.cpp @@ -40,9 +40,9 @@ public: return s; } virtual float getTriggerInterval() - { return 10.0; } + { return 2.0; } virtual u32 getTriggerChance() - { return 20; } + { return 200; } virtual void trigger(ServerEnvironment *env, v3s16 p, MapNode n) { INodeDefManager *ndef = env->getGameDef()->ndef(); @@ -70,9 +70,9 @@ public: return s; } virtual float getTriggerInterval() - { return 10.0; } + { return 2.0; } virtual u32 getTriggerChance() - { return 1; } + { return 20; } virtual void trigger(ServerEnvironment *env, v3s16 p, MapNode n) { INodeDefManager *ndef = env->getGameDef()->ndef(); @@ -152,9 +152,9 @@ public: return s; } virtual float getTriggerInterval() - { return 10.0; } + { return 2.0; } virtual u32 getTriggerChance() - { return 200; } + { return 1000; } virtual void trigger(ServerEnvironment *env, v3s16 p, MapNode n, u32 active_object_count, u32 active_object_count_wider) {