You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
30 KiB
JavaScript
62 lines
30 KiB
JavaScript
function nameGen() {
|
|
var nm1 = ["rounded helm", "squared helm", "coif", "pointed helm", "hood"];
|
|
var nm2 = ["a face guard shaped in the face of a bear", "a face guard shaped in the face of a boar", "a face guard shaped in the face of a demon", "a face guard shaped in the face of a dragon", "a face guard shaped in the face of a god", "a face guard shaped in the face of a hawk", "a face guard shaped in the face of a lion", "a face guard shaped in the face of a screaming warrior", "a face guard shaped in the face of a snake", "a face guard shaped in the face of a tiger", "a face guard shaped in the face of a wolf", "a face guard shaped in the face of a raven", "a face guard shaped in the face of an owl", "a face guard shaped in the face of hound", "a face guard shaped like a crying face", "a face guard shaped like a female face", "a face guard shaped like a laughing face", "a face guard with the shape of a laughing face on one half and a crying face on the other", "a face guard shaped like a skull", "a pointed, t-shaped opening leaving the eyes and mouth exposed, a pointed nose guard protects the nose", "a pointed, t-shaped opening leaving the eyes, nose and mouth exposed", "a pointed, v-shaped opening leaving the eyes and mouth exposed, a pointed nose guard protects the nose", "a pointed, v-shaped opening leaving the eyes, nose and mouth exposed", "a rounded opening for the eyes, which curves downwards into a narrow opening at the mouth", "a rounded opening leaving just the eyes exposed", "a rounded, t-shaped opening leaving the eyes and mouth exposed, a rounded nose guard protects the nose", "a rounded, t-shaped opening leaving the eyes, nose and mouth exposed", "a rounded, v-shaped opening leaving the eyes and mouth exposed, a rounded nose guard protects the nose", "a rounded, v-shaped opening leaving the eyes, nose and mouth exposed", "a squared opening for the eyes, which curves downwards into a narrow opening up to the mouth", "a squared opening leaving just the eyes exposed", "a squared, t-shaped opening leaving the eyes and mouth exposed, a squared nose guard protects the nose", "a squared, t-shaped opening leaving the eyes, nose and mouth exposed", "a squared, v-shaped opening leaving the eyes and mouth exposed, a squared nose guard protects the nose", "a squared, v-shaped opening leaving the eyes, nose and mouth exposed", "an open face, but with protection from the sides covering just up to the cheeks", "an open face, but with protection from the sides covering just up to the ears", "an open face, but with protection from the sides covering just up to the eyes", "half a face guard shaped like the eyes of a boar and reaches just below the eyes", "half a face guard shaped like the eyes of a demon and reaches just below the eyes", "half a face guard shaped like the eyes of a dragon and reaches just below the eyes", "half a face guard shaped like the eyes of a snake and reaches just below the eyes", "half a face guard shaped like the eyes of a tiger and reaches just below the eyes", "half a face guard shaped like the eyes of an angel and reaches just below the eyes", "half a face guard shaped like the eyes of an owl and reaches just below the eyes", "half a face guard shaped like the top of a skull and reaches just below the eyes", "half a pointed face guard reaching just below the eyes, with two pointed openings for the eyes", "half a rounded face guard reaching just below the eyes, with two rounded openings for the eyes", "half a squared face guard reaching just below the eyes, with two squared openings for the eyes", "only a squared nose guard as protection for the face", "only a rounded nose guard as protection for the face", "only a pointed nose guard as protection for the face", "a face guard with two oval holes leaving the eyes minimally exposed", "a face guard with two pointed holes leaving the eyes minimally exposed", "a face guard with two rounded holes leaving the eyes minimally exposed", "two small metal plates at each side of the eyes to protect the face", "two squared holes leaving the eyes minimally exposed", "no face guard at all", "no face guard, but a thick scarf hides the face below the eyes", "a face guard made from layers of pointed leather, mimicking the appearance of dragon scales", "a face guard made from layers of rounded leather, mimicking the appearance of scales", "a face guard made from layers of squared leather, mimicking the appearance of scales"];
|
|
var nm3 = ["its side are two curled animal horns", "its side are two small antlers", "its side are straight rows of small metal spikes", "its side are many small metal pikes, scattered all over", "its side are pieces of leather shaped in the appearance of small horns", "its side are layers of leather shaped in the appearance of dragon scales", "its side are two small horns which curve upwards", "its side are two small horns which curve downwards", "its side are two small horns which curve backwards", "its side are two small horns which curve forwards", "its side are two small, broken animal horns", "its side are two small curled animal horns, one of which is partially broken", "its side are two small antlers, one of which is partially broken", "its side are two small horns which curve upwards, one of which is partially broken", "its side are two small horns which curve downwards, one of which is partially broken", "its side are two small horns which curve backwards, one of which is partially broken", "its side are two small horns which curve forwards, one of which is partially broken", "its side are layers of leather shaped in the appearance of serpent scales", "its side are many pieces of leather shaped in the appearance of fish scales", "its side are two leather ornament pieces crafted into the shape of angel wings", "its side are two leather ornament pieces crafted into the shape of bat wings", "its side are two leather ornament pieces crafted into the shape of bird wings", "its side are two leather ornament pieces crafted into the shape of demon wings", "its side are layers of crafted leather feathers", "its side are layers of crafted leather leaves", "its side are two leather ornament pieces crafted into the shape of dragon wings", "its side are two well crafted faces, one cries and the other laughs", "its side are two well crafted faces, both of which are blindfolded", "its side are layers of spiked leather, creating the appearance of small demonic horns", "its side are several arrow heads, all pointing forwards", "its side is a layer of chainmail", "its side are several layers of colored feathers", "the forehead area is a crafted leather ornament piece shaped in a bird beak", "the forehead area is a crafted leather ornament piece shaped in a dragon face", "the forehead area is a crafted leather ornament piece shaped in a snake's head", "the forehead area is a crafted leather ornament piece shaped in a lion mouth", "the forehead area is a crafted leather ornament piece shaped in a bear face", "the forehead area is a crafted leather ornament piece shaped in angel wings", "the forehead area is a crafted leather ornament piece shaped in demon wings", "the forehead area is a crafted leather ornament piece shaped in a skull", "the forehead area is a crafted leather ornament piece shaped in bat wings", "the forehead area is a crafted leather ornament piece shaped in bird wings", "the forehead area is a row of small horns", "the forehead area is a broken animal horn", "the forehead area are two tall, upright spikes", "the forehead area is a row of small spikes", "the forehead area and running towards the back is a snake shaped ornament piece", "the forehead area and running towards the back is a dragon shaped ornament piece", "the forehead area are layers of spiked leather, creating the appearance of horns", "the forehead area is a crafted leather ornament piece, shaped like a shield and containing a sigil", "the forehead area are several rows of small metal chains", "the forehead area are two small antlers", "the forehead area are two large colored feathers", "the forehead area are two small, curved animal horns", "the forehead area are two outward curving, wing-like ornament pieces", "the forehead area are several rows of teeth, possibly from slain enemies", "the forehead area is a row of wooden tooth-shaped spikes, placed in a way to mimic a lower jaw", "the forehead area are many colored feathers placed in a half-circle shape", "the forehead area are two masterfully crafted fake eyes", "the forehead area is a masterfully crafted fake eye", "the forehead area two small crossed bones as an ornament piece", "the forehead area two small crossed swords as an ornament piece", "the forehead area two small crossed daggers as an ornament piece", "the forehead area is a lightning shaped ornament piece", "the forehead area is a claw-shaped ornament piece", "the top are small spikes, scattered all over", "the top are small wooden spikes in a circle, like some sort of evil crown", "the top is a metal, mohawk-like ornament, ending in a sharp pointed edge", "the top is a metal, mohawk-like ornament with a row of feathers inserted into it", "the top is a metal, mohawk-like ornament with long, colored hair attached to it", "the top is a leather piece used to attach long, colored hairs which flow towards the back", "the top is a leather piece used to attach short, colored hairs which flow towards the back", "the top is a large leather crafted wing-shaped ornament, curving across the top and towards the back", "the top is a large leather crafted wing-shaped ornament, standing upright like a mohawk", "the top are small, sharp metal spikes scattered all over", "the top is a bear's head, its body is used as a cloak", "the top is a dragon head shaped ornament piece", "the top is a bird head shaped ornament piece", "the top is a wolf's head, its body is used as a cloak", "the top is a tiger's head, its body is used as a cloak", "the top is a serpent head shaped ornament piece", "the top are several curved pieces of metal shaped like a mohawk", "the top is a huge bear paw", "the top are rows upon rows of feathers, curving backwards and hanging at the backside", "the top are crafted layers of spiked leather, creating the appearance of horns", "the top are many layers of crafted leather leaves", "the top is a thick layer of animal fur, covering every surface", "the top is a thick layer of exotic animal fur, covering every surface", "the top is a curved, crafted leather ornament piece, shaped like an upright cobra", "the top is a row of upright feathers which gradually increase in size, they're lined up like a mohawk", "the top are hundreds of thin, sharp metal pins scattered all over", "the top is a long, curved metal blade which curves forward and ends in a sharp point", "the top is a curved, v-shaped blade, the middle is attached to the center of the helm", "the top is a boar's head, giving the overall appearance of a horned, 4 eyed demon when worn", "the top are layers of crafted leather shaped in the appearance of dragon scales", "the top are many small layers of crafted leather shaped in the appearance of serpent scales", "the top is covered in long, colored hairs which cover everything except for the face", "the top is a sun-shaped metal ornament piece", "the top are many small layers of crafted leather shaped in the appearance of fish scales"];
|
|
var nm4 = ["fairly rounded", "rounded", "fairly oval", "oval", "fairly pointy", "pointy", "squared", "fairly squared"];
|
|
var nm5 = ["long", "narrow", "quite narrow", "quite short", "short", "tall", "very long", "very wide", "wide"];
|
|
var nm6 = ["enormous", "fairly small in size", "huge", "large in size", "moderate in size", "quite large", "small in size"];
|
|
var nm7 = ["a bear's head on each side", "a bear's head on one side", "a boar's head on each side", "a boar's head on one side", "a bull's head on each side, both sides have a metal ring through the bull's noses", "a crafted leather bat wing on each side, curved towards the sides", "a crafted leather dragonwing on each side, curved to the sides", "a crafted leather dragonwing on each side, curved towards the back", "a crafted leather owl head on each side, both pointing outwards", "a crafted leather skull on each side", "a deer antler on each side, pointing backwards", "a dragonskull on one side", "a huge bearclaw on each side", "a large wolf paw on each side", "a layer of animal pelt, covering every surface", "a layer of animal pelts, all woven into each other", "a layer of exotic animal pelt, covering every surface", "a lion's head on each side", "a lion's head on one side", "a lion's paw on each side", "a masterfully crafted leather angel wing on each side", "a masterfully crafted leather demon wing on each side", "a masterfully crafted leather face on each side, both faces are blindfolded with a piece of colored cloth", "a masterfully crafted leather face on each side, one side has a crying emotion while the other is smiling", "a metal blade, starting at the front, curving towards the back and ending in a sharp point", "a moose antler on each side, pointing sidewards", "a row of colored feathers, all pointing upwards. The row reaches from side to side", "a row of metal chains on each side", "a row of small animal horns on each side, pointing backwards", "a row of snake teeth running across each shoulder", "a row of upwards facing daggers", "a small shield on each side, facing downwards", "a small shield on each side, facing outwards", "a tiger's head on each side", "a tiger's head on one side", "a wide piece of thick, colored cloth, draped over each shoulder and hanging over the edges", "a wolf's head on each side", "a wolf's head on one side", "an axe head on each side, pointing upwards and from side to side", "gear-like metal ornament pieces, placed in several rows reaching from side to side", "gilded runes, they could hold magic properties or they could be just for show", "hundreds of small leather pieces, mimicking the scales of fish", "hundreds of small leather pieces, mimicking the scales of reptiles", "intricate gilded design patterns, possibly in the shape of a sigil", "layered pieces of curved, crafted leather, forming the rough shape of wings", "layered pieces of pointed leather", "layered pieces of rounded leather", "layered pieces of squared leather", "layered pieces of upwards curving leather, all ending in a sharp point", "layers upon layers of long, colored feathers", "many metal spikes scattered around on each shoulder", "many thin, sharp metal pins all pointing upwards", "masterfully crafted layers of leather shaped in the appearance of dragon scales", "metal chains covering nearly every part of the shoulders", "metal chains, hanging from the edges of the shoulders", "metal daggers lined up in two lines, one on the front and one on the back", "pieces of crystal-shaped metal, creating the illusion of shards of ice or rock", "rows and rows of teeth, enemy teeth to be exact", "rows of long peacock feathers", "rows upon rows of arrow heads, all pointing downwards", "rows upon rows of exotic bird feathers", "several rows of small, sharp spikes. Each row reaches from back to front", "several rows of small, sharp spikes. Each row reaches from side to side", "several snakes on each side, they're one big entangled mess of snake bodies and snake heads", "several tiers of colored feathers", "skulls on each side, possible from important slain enemies or perhaps from lost loved ones", "thick animal fur, a different type on each side", "three large, curved wooden spikes on each side, lined up from back to front", "three small horns on each side, curved towards the back", "three small horns on each side, curved towards the sides", "three stacked turtle shells on each side, each smaller than the one below it", "three straight lines of spikes, reaching from side to side", "three sword handles on each side, they're all pointing downwards as if a sword has been pierced through the shoulders", "two curled mountain goat horns on each side", "two curved animal horns on each side, placed on the front and backside", "two large horns on each side, curved towards the back", "two large horns on each side, curved towards the sides", "two rows of bones on each side, one row is at the front and the other on the backside", "two rows of teeth-like spikes, one row faces upwards and the other downwards, creating a jaw-like appearance", "two smaller blades on each side, curved towards the backside", "two straight lines of spikes, starting at the front and ending at the back"];
|
|
var nm8 = ["rounded, half covering", "pointed, half covering", "squared, half covering", "rounded, layered metal", "chainmail", "pointed, layered metal", "squared, layered metal", "rounded, fully covering", "pointed, fully covering", "squared, fully covering"];
|
|
var nm9 = ["nicely", "loosely", "perfectly", "well", "quite well"];
|
|
var nm10 = ["a bear claw attached on the outer sides", "a bear's upper jaw attached on the outer sides", "a blade attached on each outer side, sharpened and ready to be used as a weapon", "a dagger attached on the outer sides", "a hook attached to the outer side, usable in combat", "a layer of chainmail covering the outer sides", "a lion paw attached to each outer side", "a masterfully crafted bird's upper beak attached on each outer side", "a masterfully crafted dragon's upper jaw attached on the outer sides", "a masterfully crafted leather snake curling around them", "a masterfully crafted, tentacle-like ornament piece attached to each side and wrapping around each vambrace", "a row of hook-like barbs attached to each outer side", "a row of long, curved spikes on the outer sides", "a skull without the lower jaw attached on the outer sides", "a small antler attached on each outer side, pointing upwards and following the arm", "a small axe head attached on each outer side, sharp enough to be used as a weapon", "a small metal shield on the outer sides, containing a sigil", "a wolf paw attached to the outer sides", "an intricately crafted sigil embroidered on each outer side", "crafted leather feathers covering the outer sides", "crafted leather leaves covering the outer sides", "curved, pointed edges at the elbow point", "intricate gilded design patterns covering everything", "layers of colored feathers on the outer sides", "layers of crafted leather, mimicking dragon scales", "layers of long, exotic bird feathers attached to the outer sides", "layers of pointed leather on the outer sides", "layers of rounded leather on the outer sides", "layers of spiky crafted leather creating the appearance of horn-like extensions", "layers of squared leather on the outer sides", "many small, metal spikes covering the vambraces all over the outer sides", "rows upon rows of layered arrow heads", "rows upon rows of small leather pieces, mimicking fish scales", "rows upon rows of small leather pieces, mimicking reptile scales", "several arrow heads attached in a row on the outer sides, as if arrows have pierced the arms", "several small, sharp spikes on the outer sides", "several layers of crafted leather attached to the outer sides, they form a wing-like pattern", "several metal rings attached to the outer sides", "several rows of barb-like spikes on the outer sides", "sharp pointed tip at the elbow point"];
|
|
var nm11 = ["a couple of layers of crafted leather, mimicking dragon scales", "many circular layers of leather and fur", "many circular layers of leather and fur with pointed edges and decorational pieces", "many circular layers of leather and fur with rounded edges and decorational pieces", "many circular layers of leather and fur with squared edges and decorational pieces", "many circular layers of leather with pointed edges and decorational pieces", "many circular layers of leather with rounded edges and decorational pieces", "many circular layers of leather with squared edges and decorational pieces", "many diagonal layers of leather and fur", "many diagonal layers of leather and fur with pointed edges and decorational pieces", "many diagonal layers of leather and fur with rounded edges and decorational pieces", "many diagonal layers of leather and fur with squared edges and decorational pieces", "many diagonal layers of leather with pointed edges and decorational pieces", "many diagonal layers of leather with rounded edges and decorational pieces", "many diagonal layers of leather with squared edges and decorational pieces", "many horizontal layers of leather and fur", "many horizontal layers of leather and fur with pointed edges and decorational pieces", "many horizontal layers of leather and fur with rounded edges and decorational pieces", "many horizontal layers of leather and fur with squared edges and decorational pieces", "many horizontal layers of leather with pointed edges and decorational pieces", "many horizontal layers of leather with rounded edges and decorational pieces", "many horizontal layers of leather with squared edges and decorational pieces", "many layers of crafted leather, mimicking the scales of a dragon", "many layers of smaller leather pieces, mimicking the scales of a fish", "many layers of smaller leather pieces, mimicking the scales of a reptile", "many v-shaped layers of leather and fur", "many v-shaped layers of leather and fur with pointed edges and decorational pieces", "many v-shaped layers of leather and fur with rounded edges and decorational pieces", "many v-shaped layers of leather and fur with squared edges and decorational pieces", "many v-shaped layers of leather with pointed edges and decorational pieces", "many v-shaped layers of leather with rounded edges and decorational pieces", "many v-shaped layers of leather with squared edges and decorational pieces", "many vertical layers of leather and fur", "many vertical layers of leather and fur with pointed edges and decorational pieces", "many vertical layers of leather and fur with rounded edges and decorational pieces", "many vertical layers of leather and fur with squared edges and decorational pieces", "many vertical layers of leather with pointed edges and decorational pieces", "many vertical layers of leather with rounded edges and decorational pieces", "many vertical layers of leather with squared edges and decorational pieces", "one large piece of leather with edges of fur", "one large piece of leather with edges of fur, but crafted to mimic the appearance of muscles", "one large piece of leather with edges of fur, which sits perfectly just under the shoulderplates", "one large piece of leather, but crafted to mimic the appearance of muscles", "one large piece of leather, which sits perfectly just under the shoulders", "several layers of leather with edges of fur, which perfectly sit just under the shoulders", "several layers of leather, which perfectly sit just under the shoulders", "several separate pieces which are layered on top of each other", "various layers of pointed crafted leather", "various layers of rounded crafted leather", "various layers of squared crafted leather"];
|
|
var nm12 = ["everything from the neck down and ending at the groin", "almost everything from the neck down, it narrows near the groin and leaves part the sides exposed", "the entire front and back side, but the attachment straps leave the sides under the arms exposed", "everything from the neck down and ending at the groin, but the shoulder area is fairly exposed to allow for more movement space", "only the front, the back is where the attachment straps are and they offer no real protection", "almost everything from the neck down and ending at the groin, but the sides are only covered near the bottom", "everything from the neck down and ending at the groin, but there's a fairly wide neck line which is somewhat exposed"];
|
|
var nm13 = ["a skirt of circular layers of leather and fur reaching below the groin", "a skirt of circular layers of leather and fur reaching below the groin. The front is open", "a skirt of circular layers of leather and fur reaching down to the knee", "a skirt of circular layers of leather and fur reaching down to the knee. The front is open", "a skirt of diagonal layers of leather and fur reaching below the groin", "a skirt of diagonal layers of leather and fur reaching below the groin. The front is open", "a skirt of diagonal layers of leather and fur reaching down to the knee", "a skirt of diagonal layers of leather and fur reaching down to the knee. The front is open", "a skirt of horizontal layers of leather and fur reaching below the groin", "a skirt of horizontal layers of leather and fur reaching below the groin. The front is open", "a skirt of horizontal layers of leather and fur reaching down to the knee", "a skirt of horizontal layers of leather and fur reaching down to the knee. The front is open", "a skirt of vertical layers of leather and fur reaching below the groin", "a skirt of vertical layers of leather and fur reaching below the groin. The front is open", "a skirt of vertical layers of leather and fur reaching down to the knee", "a skirt of vertical layers of leather and fur reaching down to the knee. The front is open", "pointed, fully covering cuisses", "pointed, half covering cuisses", "pointed, layered leather cuisses", "rounded, fully covering cuisses", "rounded, half covering cuisses", "rounded, layered leather cuisses", "shorts made from animal hide", "shorts made from animal hide and animal paws", "shorts made from exotic animal hide", "shorts made from exotic animal hide and paws", "squared, fully covering cuisses", "squared, half covering cuisses", "squared, layered leather cuisses"];
|
|
var nm14 = ["a bear claw attached on the outer top sides", "a blade attached on each outer side, sharpened and ready to be used as a weapon", "a curved, pointed edges at under the knee", "a dagger attached on the outer sides", "a layer of chainmail covering the outer sides", "a lion paw attached to each outer top side", "a masterfully crafted bird's upper beak attached on each outer top side", "a masterfully crafted dragon's upper jaw attached on the outer top sides", "a masterfully crafted leather snake curling around them", "a masterfully crafted, tentacle-like ornament piece attached to each side and wrapping around each vambrace", "a row of hook-like barbs attached to each outer side", "a skull without the lower jaw attached on the outer top sides", "a small antler attached on each outer side, pointing upwards towards the knee", "a small metal shield on the outer sides, containing a sigil", "a wolf paw attached to the outer top sides", "an intricately crafted sigil embroidered on each outer side", "crafted leather feathers covering the outer sides", "crafted leather leaves covering the outer sides", "intricate gilded design patterns covering everything", "layers of colored feathers on the outer sides", "layers of crafted leather, mimicking dragon scales", "layers of curved leather with pointed tips", "layers of curved leather with rounded tips", "layers of curved leather with squared tips", "layers of exotic bird feathers attached to the outer sides", "layers of pointed leather on the outer sides", "layers of rounded leather on the outer sides", "layers of spiky crafted leather creating the appearance of horn-like extensions", "layers of squared leather on the outer sides", "many small, metal spikes covering everything on the outer sides", "rows upon rows of layered arrow heads", "rows upon rows of small leather pieces, mimicking fish scales", "rows upon rows of small leather pieces, mimicking reptile scales", "several arrow heads attached in a row on the outer sides, as if arrows have pierced the legs", "several layers of crafted leather attached to the outer sides, they form a wing-like pattern", "several metal rings attached to the outer sides", "several rows of barb-like spikes on the outer sides", "sharp pointed tip at the elbow point", "two rows of hook-like barbs attached to the outer sides"];
|
|
var nm15 = ["leather greaves", "leather boots", "leather shin guards"];
|
|
var nm16 = ["Thin leather pants", "Thick leather pants", "No pants", "Thin fur pants", "Thick fur pants", "Thin pants made from leather and fur", "Thick pants made from leather and fur", "Thin cloth pants", "Thick cloth pants"];
|
|
var rnd1 = parseInt(Math.floor(Math.random() * nm1.length));
|
|
var rnd2 = parseInt(Math.floor(Math.random() * nm2.length));
|
|
var rnd3 = parseInt(Math.floor(Math.random() * nm3.length));
|
|
var rnd4 = parseInt(Math.floor(Math.random() * nm4.length));
|
|
var rnd5 = parseInt(Math.floor(Math.random() * nm5.length));
|
|
var rnd6 = parseInt(Math.floor(Math.random() * nm6.length));
|
|
var rnd7 = parseInt(Math.floor(Math.random() * nm7.length));
|
|
var rnd8 = parseInt(Math.floor(Math.random() * nm8.length));
|
|
var rnd9 = parseInt(Math.floor(Math.random() * nm9.length));
|
|
var rnd10 = parseInt(Math.floor(Math.random() * nm10.length));
|
|
var rnd11 = parseInt(Math.floor(Math.random() * nm11.length));
|
|
var rnd12 = parseInt(Math.floor(Math.random() * nm12.length));
|
|
var rnd13 = parseInt(Math.floor(Math.random() * nm13.length));
|
|
var rnd14 = parseInt(Math.floor(Math.random() * nm14.length));
|
|
var rnd15 = parseInt(Math.floor(Math.random() * nm15.length));
|
|
var rnd16 = parseInt(Math.floor(Math.random() * nm16.length));
|
|
var name = "This set of armor has a " + nm1[rnd1] + " with " + nm2[rnd2] + ". Attached to " + nm3[rnd3] + ".";
|
|
var name2 = "The shoulders are " + nm4[rnd4] + ", " + nm5[rnd5] + " and " + nm6[rnd6] + ". They're decorated with " + nm7[rnd7] + ".";
|
|
var name3 = "The upper arms are protected by " + nm8[rnd8] + " rerebraces which sit " + nm9[rnd9] + " under the shoulderplates. The lower arms are covered by vambraces which have " + nm10[rnd10] + ".";
|
|
var name4 = "The breastplate is made from " + nm11[rnd11] + ". It covers " + nm12[rnd12] + ".";
|
|
var name5 = "The upper legs are covered by " + nm13[rnd13] + ". The lower legs are protected by " + nm15[rnd15] + " which have " + nm14[rnd14] + ". " + nm16[rnd16] + " are worn beneath this all.";
|
|
var br = [];
|
|
for (i = 0; i < 7; i++) {
|
|
br[i] = document.createElement('br');
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
element.appendChild(document.createTextNode(name));
|
|
element.appendChild(br[0]);
|
|
element.appendChild(document.createTextNode(name2));
|
|
element.appendChild(br[1]);
|
|
element.appendChild(br[2]);
|
|
element.appendChild(document.createTextNode(name3));
|
|
element.appendChild(br[3]);
|
|
element.appendChild(br[4]);
|
|
element.appendChild(document.createTextNode(name4));
|
|
element.appendChild(br[5]);
|
|
element.appendChild(br[6]);
|
|
element.appendChild(document.createTextNode(name5));
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|