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

417 行
11 KiB

  1. function makeFen() {
  2. const views = {
  3. body: {
  4. attributes: {
  5. height: {
  6. name: "Height",
  7. power: 1,
  8. type: "length",
  9. base: math.unit(2.2428, "meter")
  10. },
  11. weight: {
  12. name: "Weight",
  13. power: 3,
  14. type: "mass",
  15. base: math.unit(124.738, "kg")
  16. }
  17. },
  18. image: {
  19. source: "./media/characters/fen/back.svg",
  20. bottom: 0.01,
  21. top: 0.93
  22. },
  23. name: "Body"
  24. },
  25. paw: {
  26. attributes: {
  27. height: {
  28. name: "Length",
  29. power: 1,
  30. type: "length",
  31. base: math.unit(20, "centimeter")
  32. },
  33. width: {
  34. name: "Length",
  35. power: 1,
  36. type: "length",
  37. base: math.unit(20, "centimeter")
  38. },
  39. area: {
  40. name: "Area",
  41. power: 2,
  42. type: "area",
  43. base: math.unit(0.04, "meter^2")
  44. }
  45. },
  46. image: {
  47. source: "./media/characters/generic/paw.svg"
  48. },
  49. name: "Paw"
  50. }
  51. };
  52. const entity = makeEntity("Fen", "Fen", views);
  53. entity.views.body.height = math.unit(1, "km");
  54. return entity;
  55. }
  56. function makeSofia() {
  57. const views = {
  58. front: {
  59. attributes: {
  60. height: {
  61. name: "Height",
  62. power: 1,
  63. type: "length",
  64. base: math.unit(183, "cm")
  65. },
  66. weight: {
  67. name: "Weight",
  68. power: 3,
  69. type: "mass",
  70. base: math.unit(80, "kg")
  71. }
  72. },
  73. image: {
  74. source: "./media/characters/sofia/front.svg"
  75. },
  76. name: "Front"
  77. },
  78. back: {
  79. attributes: {
  80. height: {
  81. name: "Height",
  82. power: 1,
  83. type: "length",
  84. base: math.unit(183, "cm")
  85. },
  86. weight: {
  87. name: "Weight",
  88. power: 3,
  89. type: "mass",
  90. base: math.unit(80, "kg")
  91. }
  92. },
  93. image: {
  94. source: "./media/characters/sofia/back.svg"
  95. },
  96. name: "Back"
  97. }
  98. };
  99. const entity = makeEntity("Sofia", "ZakuraTech", views);
  100. entity.views.front.height = math.unit(96, "feet");
  101. return entity;
  102. }
  103. function makeMarch() {
  104. const views = {
  105. front: {
  106. attributes: {
  107. height: {
  108. name: "Height",
  109. power: 1,
  110. type: "length",
  111. base: math.unit(7, "feet")
  112. },
  113. weight: {
  114. name: "Weight",
  115. power: 3,
  116. type: "mass",
  117. base: math.unit(100, "kg")
  118. }
  119. },
  120. image: {
  121. source: "./media/characters/march/front.svg"
  122. },
  123. name: "Front"
  124. }
  125. };
  126. const entity = makeEntity("March", "March-Dragon", views);
  127. entity.views.front.height = math.unit(2.98, "km");
  128. return entity;
  129. }
  130. function makeNoir() {
  131. const views = {
  132. front: {
  133. attributes: {
  134. height: {
  135. name: "Height",
  136. power: 1,
  137. type: "length",
  138. base: math.unit(6, "feet")
  139. },
  140. weight: {
  141. name: "Weight",
  142. power: 3,
  143. type: "mass",
  144. base: math.unit(60, "kg")
  145. }
  146. },
  147. image: {
  148. source: "./media/characters/noir/front.svg"
  149. },
  150. name: "Front"
  151. }
  152. };
  153. const entity = makeEntity("Noir", "March-Dragon", views);
  154. entity.views.front.height = math.unit(2.5, "km");
  155. return entity;
  156. }
  157. function makeOkuri() {
  158. const views = {
  159. front: {
  160. attributes: {
  161. height: {
  162. name: "Height",
  163. power: 1,
  164. type: "length",
  165. base: math.unit(7, "feet")
  166. },
  167. weight: {
  168. name: "Weight",
  169. power: 3,
  170. type: "mass",
  171. base: math.unit(100, "kg")
  172. }
  173. },
  174. image: {
  175. source: "./media/characters/okuri/front.svg"
  176. },
  177. name: "Front"
  178. },
  179. back: {
  180. attributes: {
  181. height: {
  182. name: "Height",
  183. power: 1,
  184. type: "length",
  185. base: math.unit(7, "feet")
  186. },
  187. weight: {
  188. name: "Weight",
  189. power: 3,
  190. type: "mass",
  191. base: math.unit(100, "kg")
  192. }
  193. },
  194. image: {
  195. source: "./media/characters/okuri/back.svg"
  196. },
  197. name: "Back"
  198. }
  199. };
  200. const entity = makeEntity("Okuri", "OrionMechadragon", views);
  201. entity.views.front.height = math.unit(100, "miles");
  202. return entity;
  203. }
  204. function makeManny() {
  205. const views = {
  206. front: {
  207. attributes: {
  208. height: {
  209. name: "Height",
  210. power: 1,
  211. type: "length",
  212. base: math.unit(7, "feet")
  213. },
  214. weight: {
  215. name: "Weight",
  216. power: 3,
  217. type: "mass",
  218. base: math.unit(100, "kg")
  219. }
  220. },
  221. image: {
  222. source: "./media/characters/manny/front.svg"
  223. },
  224. name: "Front"
  225. },
  226. back: {
  227. attributes: {
  228. height: {
  229. name: "Height",
  230. power: 1,
  231. type: "length",
  232. base: math.unit(7, "feet")
  233. },
  234. weight: {
  235. name: "Weight",
  236. power: 3,
  237. type: "mass",
  238. base: math.unit(100, "kg")
  239. }
  240. },
  241. image: {
  242. source: "./media/characters/manny/back.svg"
  243. },
  244. name: "Back"
  245. }
  246. };
  247. const entity = makeEntity("Manny", "Dialuca01", views);
  248. entity.views.front.height = math.unit(78, "feet");
  249. return entity;
  250. }
  251. function makeAdake() {
  252. const views = {
  253. front: {
  254. attributes: {
  255. height: {
  256. name: "Height",
  257. power: 1,
  258. type: "length",
  259. base: math.unit(7, "feet")
  260. },
  261. weight: {
  262. name: "Weight",
  263. power: 3,
  264. type: "mass",
  265. base: math.unit(100, "kg")
  266. }
  267. },
  268. image: {
  269. source: "./media/characters/adake/front-1.svg"
  270. },
  271. name: "Front"
  272. },
  273. frontAlt: {
  274. attributes: {
  275. height: {
  276. name: "Height",
  277. power: 1,
  278. type: "length",
  279. base: math.unit(7, "feet")
  280. },
  281. weight: {
  282. name: "Weight",
  283. power: 3,
  284. type: "mass",
  285. base: math.unit(100, "kg")
  286. }
  287. },
  288. image: {
  289. source: "./media/characters/adake/front-2.svg"
  290. },
  291. name: "Front (Alt)"
  292. },
  293. back: {
  294. attributes: {
  295. height: {
  296. name: "Height",
  297. power: 1,
  298. type: "length",
  299. base: math.unit(7, "feet")
  300. },
  301. weight: {
  302. name: "Weight",
  303. power: 3,
  304. type: "mass",
  305. base: math.unit(100, "kg")
  306. }
  307. },
  308. image: {
  309. source: "./media/characters/adake/back.svg"
  310. },
  311. name: "Back"
  312. },
  313. kneel: {
  314. attributes: {
  315. height: {
  316. name: "Height",
  317. power: 1,
  318. type: "length",
  319. base: math.unit(60, "feet")
  320. },
  321. weight: {
  322. name: "Weight",
  323. power: 3,
  324. type: "mass",
  325. base: math.unit(100, "kg")
  326. }
  327. },
  328. image: {
  329. source: "./media/characters/adake/kneel.svg"
  330. },
  331. name: "Kneeling"
  332. },
  333. };
  334. const entity = makeEntity("Adake", "Dialuca01", views);
  335. entity.views.front.height = math.unit(78, "feet");
  336. return entity;
  337. }
  338. function makeMan() {
  339. const views = {
  340. body: {
  341. attributes: {
  342. height: {
  343. name: "Height",
  344. power: 1,
  345. type: "length",
  346. base: math.unit(2, "meter")
  347. },
  348. weight: {
  349. name: "Weight",
  350. power: 3,
  351. type: "mass",
  352. base: math.unit(80, "kg")
  353. }
  354. },
  355. image: {
  356. source: "./man.svg"
  357. },
  358. name: "Body"
  359. }
  360. };
  361. return makeEntity("Man", "Fen", views);
  362. }
  363. function makeCharacters() {
  364. const results = [];
  365. results.push({
  366. name: "Fen",
  367. constructor: makeFen
  368. });
  369. results.push({
  370. name: "Sofia",
  371. constructor: makeSofia
  372. });
  373. results.push({
  374. name: "March",
  375. constructor: makeMarch
  376. });
  377. results.push({
  378. name: "Noir",
  379. constructor: makeNoir
  380. });
  381. results.push({
  382. name: "Okuri",
  383. constructor: makeOkuri
  384. });
  385. results.push({
  386. name: "Manny",
  387. constructor: makeManny
  388. });
  389. results.push({
  390. name: "Adake",
  391. constructor: makeAdake
  392. });
  393. results.push({
  394. name: "Normal man",
  395. constructor: makeMan
  396. });
  397. return results;
  398. }