|
|
@ -13,7 +13,7 @@ function make_phrase (nn, terms) {
|
|
|
|
nn.querySelector(".actor").innerHTML = choice(terms['actor']);
|
|
|
|
nn.querySelector(".actor").innerHTML = choice(terms['actor']);
|
|
|
|
nn.querySelector(".action").innerHTML = choice(terms['action']);
|
|
|
|
nn.querySelector(".action").innerHTML = choice(terms['action']);
|
|
|
|
if (randint(0, 2) == 0) {
|
|
|
|
if (randint(0, 2) == 0) {
|
|
|
|
nn.querySelector(".prefix").innerHTML = choice(terms['prefix']);
|
|
|
|
nn.querySelector(".prefix").innerHTML = choice(terms['prefix'])+'-';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
nn.querySelector(".prefix").remove();
|
|
|
|
nn.querySelector(".prefix").remove();
|
|
|
|
}
|
|
|
|
}
|
|
|
|