Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 25 bytes modified
parent
e5183f21a7
commit
6b71a16183
|
@ -1429,24 +1429,26 @@ burningTreeParticleEngine.updateInstance('position');
|
|||
this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine;
|
||||
|
||||
|
||||
var type = 0;
|
||||
|
||||
for (var x = -50; x < 50; x += 10) {
|
||||
|
||||
for (var z = -170; z > -230; z -= 10) {
|
||||
|
||||
var random = GameLib.Utils.GetRandomIntInclusive(1, 3);
|
||||
type++;
|
||||
|
||||
if (random === 1) {
|
||||
if (type === 1) {
|
||||
mesh = treeSmall.clone();
|
||||
mesh.position.y = -14.19;
|
||||
}
|
||||
if (random === 2) {
|
||||
if (type === 2) {
|
||||
mesh = treeMedium.clone();
|
||||
mesh.position.y = -10.26;
|
||||
}
|
||||
if (random === 3) {
|
||||
if (type === 3) {
|
||||
mesh = treeLarge.clone();
|
||||
mesh.position.y = -4.43;
|
||||
type = 1;
|
||||
}
|
||||
|
||||
material = materialTreesAndRocks.clone();
|
||||
|
|
Loading…
Reference in New Issue