diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-06 11:20:36 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-06 11:20:36 +0100 |
commit | 4ad941523edf7b8642a8d40765cd80085015003d (patch) | |
tree | cbbef59c9090ca6a9dc59f03d4275300683783c3 /api.txt | |
parent | 1dc909aa093981ab8d3a135e7ff8ae6cad9c6642 (diff) |
update do_custom to run live instead of every second
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ The mob api also has some preset variables and functions that it will remember f 'self.owner' string used to set owner of npc mobs, typically used for dogs 'self.order' set to "follow" or "stand" so that npc will follow owner or stand it's ground 'on_die' a function that is called when mob is killed - 'do_custom' a custom function that is called every second while mob is active and which has access to all of the self.* variables e.g. (self.health for health or self.standing_in for node status) + 'do_custom' a custom function that is called while mob is active and which has access to all of the self.* variables e.g. (self.health for health or self.standing_in for node status) mobs:register_spawn(name, nodes, max_light, min_light, chance, active_object_count, max_height, day_toggle) |