less copy protection, more size visualization
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

66 líneas
1.7 KiB

  1. const speciesMakers = {};
  2. speciesMakers["Synx"] = () => {
  3. const species = makeCharacter(
  4. { name: "Synx" },
  5. {
  6. goochick: {
  7. height: math.unit(0.5, "feet"),
  8. weight: math.unit(3, "lb"),
  9. name: "Goo-chick",
  10. image: {
  11. source: "./media/species/synx/goo-chick.svg",
  12. bottom: 0.12
  13. }
  14. },
  15. oozeeel: {
  16. height: math.unit(1.5, "feet"),
  17. weight: math.unit(20, "lb"),
  18. name: "Ooze-eel",
  19. image: {
  20. source: "./media/species/synx/ooze-eel.svg",
  21. bottom: 0.09
  22. }
  23. },
  24. synx: {
  25. height: math.unit(3.4, "feet"),
  26. weight: math.unit(150, "lb"),
  27. name: "Synx",
  28. image: {
  29. source: "./media/species/synx/synx.svg",
  30. extra: 8.06/6.6,
  31. bottom: 0.05
  32. }
  33. },
  34. weeper: {
  35. height: math.unit(3.9, "feet"),
  36. weight: math.unit(300, "lb"),
  37. name: "Weeper",
  38. image: {
  39. source: "./media/species/synx/weeper.svg",
  40. extra: 8.04/7.5,
  41. bottom: 0.05
  42. }
  43. },
  44. },
  45. [
  46. ]
  47. );
  48. species.defaultView = "synx";
  49. return species;
  50. };
  51. function makeSpecies() {
  52. const results = [];
  53. Object.entries(speciesMakers).forEach(([key, value]) => {
  54. results.push(
  55. value()
  56. );
  57. });
  58. return results;
  59. }