diff --git a/devNotes/limb functions.md b/devNotes/limb functions.md index fcfe49a8c728ca9166d5e46f2dd9b0f358d5aca7..9d0029e31e4708438d4eadc80bba7a323c83dc40 100644 --- a/devNotes/limb functions.md +++ b/devNotes/limb functions.md @@ -67,6 +67,30 @@ Most functions can be used like this, though some are more specialized. `hasAllNaturalLimbs(slave)`: True if slave has all limbs and all are natural. +`hasLeftArm(slave)`: + True if slave has a left arm. + +`hasRightArm(slave)`: + True if slave has a right arm. + +`hasLeftLeg(slave)`: + True if slave has a left leg. + +`hasRightLeg(slave)`: + True if slave has a right leg. + +`getLeftArmID(slave)`: + Returns limb ID of the left arm. + +`getRightArmID(slave)`: + Returns limb ID of the right arm. + +`getLeftLegID(slave)`: + Returns limb ID of the left leg. + +`getRightLegID(slave)`: + Returns limb ID of the right leg. + `idToDescription(id)`: Returns a very short description of the specified limb ID. 0: "amputated"; @@ -79,11 +103,3 @@ Most functions can be used like this, though some are more specialized. `getLimbCount(slave, id)`: Returns count of specified limb ID. - -`hasLimb(slave, limb)`: - True if slave has specified limb. - Allowed values for limb: "left arm", "right arm", "left leg", "right leg". - -`getLimbID(slave, limb)`: - Returns limb ID of the specified limb. - Allowed values for limb: "left arm", "right arm", "left leg", "right leg".