chore: more spread

This commit is contained in:
cha0s 2019-04-09 16:59:26 -04:00
parent ffe27b17a7
commit 6b89f64fa9

View File

@ -239,13 +239,13 @@ const roomJSON = {
},
};
for (let i = 0; i < 4; ++i) {
const x = Math.floor(Math.random() * 200) + 50;
const y = Math.floor(Math.random() * 75) + 50;
const x = Math.floor(Math.random() * 284) + 50;
const y = Math.floor(Math.random() * 284) + 50;
roomJSON.layers.everything.entities.push(flowerBarrelJSON([x, y]));
}
for (let i = 0; i < 40; ++i) {
const x = Math.floor(Math.random() * 200) + 50;
const y = Math.floor(Math.random() * 75) + 50;
const x = Math.floor(Math.random() * 284) + 50;
const y = Math.floor(Math.random() * 284) + 50;
roomJSON.layers.everything.entities.push(kittyJSON([x, y]));
}
export function createRoom() {