HumanoidArms.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. class HumanoidArms extends Bodypart {
  7. public sorenessWeight = Bodypart.WEIGHT_LOW;
  8. public genderWeight = Bodypart.WEIGHT_MEDIUM;
  9. public slots : Array<number> = [Humanoid.SLOT_ARMS];
  10. public get sluttinessWeight() {
  11. if ((<Humanoid> this.getPartOne()).isMale()) {
  12. return Bodypart.WEIGHT_HIGHEST;
  13. } else {
  14. return Bodypart.WEIGHT_MEDIUM;
  15. }
  16. }
  17. public set sluttinessWeight(val) {}
  18. public getSluttiness () {
  19. if ((<Humanoid> this.getPartOne()).isMale()) {
  20. return this.getGenderValue();
  21. } else {
  22. return 100 - this.getGenderValue();
  23. }
  24. }
  25. public getDescription () {
  26. let humanoid = <Humanoid> this.getPartOne();
  27. let str = humanoid.getStat(Attributes.Strength);
  28. if (str > 4) {
  29. return "Your arms and legs are ridiculously huge, showing off just how strong you are.";
  30. } else if (str > 2) {
  31. return "Your arms and legs are pretty big because of your muscles.";
  32. } else if (str == 2) {
  33. return "";
  34. } else {
  35. return "You look like you don't even lift.";
  36. }
  37. }
  38. public getGenderValue () {
  39. let humanoid = <Humanoid> this.getPartOne();
  40. let str = humanoid.getStat(Attributes.Strength);
  41. return 20 * str;
  42. }
  43. }