mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 05:08:00 +00:00
Update vocabulary.ts
This commit is contained in:
parent
d5a34144f0
commit
62bb2d25dc
|
@ -276,7 +276,7 @@ export function genItem(seedOrRng?: (() => number) | string | number) {
|
|||
let item = '';
|
||||
if (Math.floor(rng() * 5) !== 0) item += itemPrefixes[Math.floor(rng() * itemPrefixes.length)];
|
||||
item += items[Math.floor(rng() * items.length)];
|
||||
if (Math.floor(rng() * 3) === 0) {
|
||||
if (Math.floor(rng() * 6) === 0) {
|
||||
item += and[Math.floor(rng() * and.length)];
|
||||
if (Math.floor(rng() * 5) !== 0) item += itemPrefixes[Math.floor(rng() * itemPrefixes.length)];
|
||||
item += items[Math.floor(rng() * items.length)];
|
||||
|
|
Loading…
Reference in a new issue