diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 23:22:44 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 23:22:44 +0200 |
commit | ccfec0400f1da96ffc7c6fb6f30f4afbd26db535 (patch) | |
tree | 06d4ee4a5c1cae94c9d09aa3b73a0e9977f3a56a | |
parent | e109ed5cefe963a0595c8ef49d9c743c8e2ee28a (diff) | |
download | minetest-ccfec0400f1da96ffc7c6fb6f30f4afbd26db535.tar.gz minetest-ccfec0400f1da96ffc7c6fb6f30f4afbd26db535.tar.bz2 minetest-ccfec0400f1da96ffc7c6fb6f30f4afbd26db535.zip |
Modify builtin ABMs to have lower interval and higher trigger non-chance
-rw-r--r-- | src/content_abm.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/content_abm.cpp b/src/content_abm.cpp index 44978c5bb..63867b78b 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) { |