HumanoidHands.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /// <reference path="../../Bodypart.ts" />
  2. /// <reference path="../../Humanoid/Humanoid.ts" />
  3. /// <reference path="../SexStick.ts" />
  4. /// <reference path="../SexHole.ts" />
  5. /// <reference path="../../../Measure.ts" />
  6. /// <reference path="HumanoidExtremity.ts" />
  7. /// <reference path="../../Person/Attribute.ts" />
  8. class HumanoidHands extends HumanoidExtremity implements Weaponized {
  9. public sorenessWeight = Bodypart.WEIGHT_LOW;
  10. public genderWeight = Bodypart.WEIGHT_MEDIUM;
  11. public slots : Array<number> = [Humanoid.SLOT_HANDS];
  12. public getDescription () {
  13. let say = new Say();
  14. if (this.genderValue > 55) {
  15. say.add("Your hands are delicate and slender.");
  16. } else if (this.genderValue < 45) {
  17. say.add("Your hands are rough and large.")
  18. }
  19. if (this.nailsPainted) {
  20. say.add(" Your toenails are painted " + HumanoidExtremity.getColor(this.nailColor) + ".");
  21. }
  22. return say;
  23. }
  24. public getAttribute () {
  25. return Attributes.Strength;
  26. }
  27. public getAttributeDamageFactor () {
  28. return 0.5;
  29. }
  30. public getAttributeForceFactor () {
  31. return 0.75;
  32. }
  33. public getAccuracy () {
  34. return 0;
  35. }
  36. public getCost () {
  37. return 1;
  38. }
  39. }