less copy protection, more size visualization
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

68 行
1.7 KiB

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