From: Perttu Ahola Date: Tue, 29 Nov 2011 21:22:44 +0000 (+0200) Subject: Modify builtin ABMs to have lower interval and higher trigger non-chance X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ccfec0400f1da96ffc7c6fb6f30f4afbd26db535;p=zefram%2Fminetest%2Fminetest_engine.git Modify builtin ABMs to have lower interval and higher trigger non-chance --- 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) {