MinotaurGuard.ts 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. class MinotaurGuard extends Humanoid {
  2. constructor () {
  3. super({
  4. isMale : true,
  5. name : "Minotaur",
  6. description : new Say(
  7. "This gigantic man is entirely covered with brown fur and has the head of a bull, horns and all. ",
  8. "Standing tall at over ", new Measure(250), " tall and packing an unbelievable amount of muscle, this is obviously someone not to be messed with. ",
  9. "The only clothing he wears, if it can be called that, is a black, leather loincloth, which only covers the front — his bull-like tail hanging freely.",
  10. Say.LINE_BREAK,
  11. "He wields an axe even taller than himself and holds a serious face, yet there is a tinge of kindness in his eyes."
  12. ),
  13. unique: true
  14. });
  15. this.setStat(Attributes.Strength, 5);
  16. this.setStat(Attributes.Agility, 2);
  17. this.setStat(Attributes.Intelligence, 4);
  18. this.setStat(Attributes.Charm, 3);
  19. this.setGenderValue(0);
  20. this.AI.wanderer = false;
  21. let myLoincloth = new FrontalLeatherLoincloth();
  22. this.setWorn(myLoincloth);
  23. }
  24. public static AgreedToDuel = new StoredVariable({id: "Agreed to duel with the minotaur", value: false});
  25. public static BestedMinotaur = new StoredVariable({id: "Bested the Minotaur", value: false});
  26. public static AgreedToSex = new StoredVariable({id: "Agreed to Ride the Bull", value: false});
  27. public static isMadeNoChoice() {
  28. return !MinotaurGuard.AgreedToDuel.value && !MinotaurGuard.AgreedToSex.value && !MinotaurGuard.BestedMinotaur.value;
  29. }
  30. }
  31. //paddedBra = new Clothing({name : "Padded Bra", unique : true});
  32. // paddedBra.breastPadding = 3;
  33. // paddedBra.slots = [Humanoid.SLOT_BREASTS];
  34. class FrontalLeatherLoincloth extends Clothing {
  35. constructor() {
  36. super({name : "Frontal Leather Loincloth", description: new Say("This is a black leather loincloth that ties around your waist, but only has frontal cover.")});
  37. this.slots = [Humanoid.SLOT_CROTCH_FRONT, Humanoid.SLOT_HIPS];
  38. this.sluttinessValue = 25;
  39. }
  40. }