From d5822b3e0b9d2d070254f026ed349131fc6dfe58 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 26 Sep 2016 12:10:48 +0100 Subject: updated api docs --- api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'api.txt') diff --git a/api.txt b/api.txt index 1b54e29..f21f800 100644 --- a/api.txt +++ b/api.txt @@ -235,3 +235,12 @@ This function allows the mob to be fed the item inside self.follow be it apple, 'feed_count' number of times mob must be fed to tame or breed 'breed' true or false stating if mob can be bred and a child created afterwards 'tame' true or false stating if mob can be tamed so player can pick them up + + +Useful Internal Variables + + 'self.health' contains current health of mob + 'self.base_texture' contains current skin texture which was randomly selected from textures list + 'self.gotten' true when sheep have been sheared or cows have been milked, a toggle switch which can be used for many functions + 'self.child' true when mob is currently a child (when two mobs have bred and current mob is the outcome) + 'self.hornytimer' background timer that controls breeding functions and mob childhood timings -- cgit v1.2.3