|
-
-
- function makeFen() {
- const views = {
- body: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(2.2428, "meter")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(124.738, "kg")
- }
- },
- image: {
- source: "./media/characters/fen/back.svg",
- bottom: 0.01,
- top: 0.93
- },
- name: "Body"
- },
- paw: {
- attributes: {
- height: {
- name: "Length",
- power: 1,
- type: "length",
- base: math.unit(20, "centimeter")
- },
- width: {
- name: "Length",
- power: 1,
- type: "length",
- base: math.unit(20, "centimeter")
- },
- area: {
- name: "Area",
- power: 2,
- type: "area",
- base: math.unit(0.04, "meter^2")
- }
- },
- image: {
- source: "./media/characters/generic/paw.svg"
- },
- name: "Paw"
- }
- };
-
- const entity = makeEntity("Fen", "Fen", views);
- entity.views.body.height = math.unit(1, "km");
- return entity;
- }
-
- function makeSofia() {
- const views = {
- front: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(183, "cm")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(80, "kg")
- }
- },
- image: {
- source: "./media/characters/sofia/front.svg"
- },
- name: "Front"
- },
- back: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(183, "cm")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(80, "kg")
- }
- },
- image: {
- source: "./media/characters/sofia/back.svg"
- },
- name: "Back"
- }
-
- };
-
- const entity = makeEntity("Sofia", "ZakuraTech", views);
- entity.views.front.height = math.unit(96, "feet");
- return entity;
- }
-
- function makeMarch() {
- const views = {
- front: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/march/front.svg"
- },
- name: "Front"
- }
- };
-
- const entity = makeEntity("March", "March-Dragon", views);
- entity.views.front.height = math.unit(2.98, "km");
- return entity;
- }
-
- function makeNoir() {
- const views = {
- front: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(6, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(60, "kg")
- }
- },
- image: {
- source: "./media/characters/noir/front.svg"
- },
- name: "Front"
- }
- };
-
- const entity = makeEntity("Noir", "March-Dragon", views);
- entity.views.front.height = math.unit(2.5, "km");
- return entity;
- }
-
- function makeOkuri() {
- const views = {
- front: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/okuri/front.svg"
- },
- name: "Front"
- },
- back: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/okuri/back.svg"
- },
- name: "Back"
- }
- };
-
- const entity = makeEntity("Okuri", "OrionMechadragon", views);
- entity.views.front.height = math.unit(100, "miles");
- return entity;
- }
-
- function makeManny() {
- const views = {
- front: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/manny/front.svg"
- },
- name: "Front"
- },
- back: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/manny/back.svg"
- },
- name: "Back"
- }
- };
-
- const entity = makeEntity("Manny", "Dialuca01", views);
- entity.views.front.height = math.unit(78, "feet");
- return entity;
- }
-
- function makeAdake() {
- const views = {
- front: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/adake/front-1.svg"
- },
- name: "Front"
- },
- frontAlt: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/adake/front-2.svg"
- },
- name: "Front (Alt)"
- },
- back: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(7, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/adake/back.svg"
- },
- name: "Back"
- },
- kneel: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(60, "feet")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(100, "kg")
- }
- },
- image: {
- source: "./media/characters/adake/kneel.svg"
- },
- name: "Kneeling"
- },
- };
-
- const entity = makeEntity("Adake", "Dialuca01", views);
- entity.views.front.height = math.unit(78, "feet");
- return entity;
- }
-
- function makeMan() {
- const views = {
- body: {
- attributes: {
- height: {
- name: "Height",
- power: 1,
- type: "length",
- base: math.unit(2, "meter")
- },
- weight: {
- name: "Weight",
- power: 3,
- type: "mass",
- base: math.unit(80, "kg")
- }
- },
- image: {
- source: "./man.svg"
- },
- name: "Body"
- }
- };
-
- return makeEntity("Man", "Fen", views);
- }
-
- function makeCharacters() {
- const results = [];
- results.push({
- name: "Fen",
- constructor: makeFen
- });
- results.push({
- name: "Sofia",
- constructor: makeSofia
- });
- results.push({
- name: "March",
- constructor: makeMarch
- });
- results.push({
- name: "Noir",
- constructor: makeNoir
- });
- results.push({
- name: "Okuri",
- constructor: makeOkuri
- });
- results.push({
- name: "Manny",
- constructor: makeManny
- });
- results.push({
- name: "Adake",
- constructor: makeAdake
- });
- results.push({
- name: "Normal man",
- constructor: makeMan
- });
- return results;
- }
|