offline-fantasy-name-generators

Offline version of www.fantasynamegenerators.com
git clone https://git.neptards.moe/neptards/offline-fantasy-name-generators.git
Log | Files | Refs | README

devilFruits.js (4332B)


      1 function nameGen(type) {
      2     var nm1 = [
      3         ["Ame", "Rain"],
      4         ["Arashi", "Storm"],
      5         ["Ari", "Ant"],
      6         ["Baku", "Bomb (Bakudan)"],
      7         ["Bijon", "Vision"],
      8         ["Buta", "Pig"],
      9         ["Chika", "Underground"],
     10         ["Chikara", "Strength"],
     11         ["Dōbu", "Animal (Dōbutsu)"],
     12         ["Eki", "Liquid (Ekitai)"],
     13         ["Gama", "Toad"],
     14         ["Gasu", "Gas"],
     15         ["Gin", "Silver"],
     16         ["Hāto", "Heart"],
     17         ["Ha", "Blade"],
     18         ["Ha", "Tooth"],
     19         ["Haga", "Steel (Hagane)"],
     20         ["Hana", "Flower"],
     21         ["Hansha", "Reflex"],
     22         ["Hebi", "Snake"],
     23         ["Heikō", "Equilibrium/Balance"],
     24         ["Hensō", "Disguise"],
     25         ["Hi", "Day"],
     26         ["Hi", "Fire"],
     27         ["Hika", "Light (Hikari)"],
     28         ["Himi", "Secret (Himitsu)"],
     29         ["Himo", "Cord"],
     30         ["Hokori", "Dust"],
     31         ["Hyō", "Leopard"],
     32         ["Ika", "Squid"],
     33         ["Ikari", "Anger"],
     34         ["Iki", "Breath"],
     35         ["Iki", "Creature (Ikimono)"],
     36         ["Inku", "Ink"],
     37         ["Inu", "Dog"],
     38         ["Itami", "Pain"],
     39         ["Iwa", "Rock"],
     40         ["Jigo", "Hell (Jigoku)"],
     41         ["Jikan", "Time"],
     42         ["Kōri", "Ice"],
     43         ["Kūki", "Air"],
     44         ["Kaba", "Hippopotamus"],
     45         ["Kabu", "Beetle (Kabutomushi)"],
     46         ["Kaeru", "Frog"],
     47         ["Kage", "Shadow"],
     48         ["Kagi", "Key"],
     49         ["Kaku", "Cactus (Kakutasu)"],
     50         ["Kaori", "Scent"],
     51         ["Kara", "Crow (Karasu)"],
     52         ["Kaze", "Wind"],
     53         ["Kemo", "Beast (Kemono)"],
     54         ["Kemuri", "Smoke"],
     55         ["Kesshō", "Crystal"],
     56         ["Ketsue", "Blood (Ketsueki)"],
     57         ["Ki", "Tree"],
     58         ["Kibō", "Wish"],
     59         ["Kiba", "Fang"],
     60         ["Kin", "Gold"],
     61         ["Kugi", "Spike"],
     62         ["Kuma", "Bear"],
     63         ["Kumo", "Cloud"],
     64         ["Kumo", "Spider"],
     65         ["Kusari", "Chain"],
     66         ["Kyo", "Giant (Kyojin)"],
     67         ["Kyojin", "Giant"],
     68         ["Maindo", "Mind"],
     69         ["Mame", "Bean"],
     70         ["Me", "Eye"],
     71         ["Mizu", "Water"],
     72         ["Mushi", "Insect"],
     73         ["Nō", "Brain"],
     74         ["Nama", "Lead (Namari)"],
     75         ["Nawa", "Rope"],
     76         ["Neko", "Cat"],
     77         ["Netsu", "Heat"],
     78         ["Nezu", "Rat/Mouse (Nezumi)"],
     79         ["Ningyō", "Doll"],
     80         ["Odo", "Surprise (Odoroki)"],
     81         ["Onsei", "Voice"],
     82         ["Osore", "Fear"],
     83         ["Oto", "Sound"],
     84         ["Ryū", "Dragon"],
     85         ["Saru", "Monkey"],
     86         ["Seishin", "Spirit"],
     87         ["Shi", "Death"],
     88         ["Shi", "Lion (Shishi)"],
     89         ["Shimo", "Frost"],
     90         ["Shinpi", "Mystery"],
     91         ["Shita", "Tongue"],
     92         ["Shoku", "Appetite (Shokuyoku)"],
     93         ["Sokudo", "Speed"],
     94         ["Sora", "Sky"],
     95         ["Suji", "Muscle"],
     96         ["Suna", "Sand"],
     97         ["Taihō", "Cannon"],
     98         ["Taiyō", "Sun"],
     99         ["Taka", "Hawk"],
    100         ["Tako", "Octopus"],
    101         ["Tamai", "Boulder (Tamaishi)"],
    102         ["Tatsu", "Dragon"],
    103         ["Ten", "Heaven (Tengoku)"],
    104         ["Tenki", "Weather"],
    105         ["Tetsu", "Iron"],
    106         ["Tobu", "Fly"],
    107         ["Tora", "Tiger"],
    108         ["Tori", "Bird"],
    109         ["Tsuba", "Wing (Tsubasa)"],
    110         ["Tsuchi", "Earth/Ground"],
    111         ["Tsuki", "Moon"],
    112         ["Uma", "Horse"],
    113         ["Un", "Luck"],
    114         ["Uta", "Song"],
    115         ["Yūrei", "Ghost"],
    116         ["Yoku", "Desire (Yokubō)"],
    117         ["Yoro", "Pleasure (Yourokobi)"],
    118         ["Yoru", "Night"],
    119         ["Yu", "Hot Water"],
    120         ["Yuge", "Steam"],
    121         ["Yuki", "Snow"],
    122         ["Zō", "Elephant"]
    123     ];
    124     var br = "";
    125     $('#placeholder').css('textTransform', 'capitalize');
    126     var tp = type;
    127     var element = document.createElement("div");
    128     element.setAttribute("id", "result");
    129     for (i = 0; i < 10; i++) {
    130         rnd = Math.floor(Math.random() * nm1.length);
    131         names = nm1[rnd][0] + " " + nm1[rnd][0] + " no Mi (" + nm1[rnd][1] + ")";
    132         nm1.splice(rnd, 1);
    133         br = document.createElement('br');
    134         element.appendChild(document.createTextNode(names));
    135         element.appendChild(br);
    136     }
    137     if (document.getElementById("result")) {
    138         document.getElementById("placeholder").removeChild(document.getElementById("result"));
    139     }
    140     document.getElementById("placeholder").appendChild(element);
    141 }