Lost Souls Update
This commit is contained in:
parent
bcd92a3c60
commit
520c8ab53a
|
|
@ -1,6 +1,6 @@
|
||||||
elements.ghost_particle = {
|
elements.ghost_particle = {
|
||||||
color: "#d9d2d0",
|
color: "#d9d2d0",
|
||||||
behavior: behaviors.GAS,
|
behavior: behaviors.DGAS,
|
||||||
category: "soul",
|
category: "soul",
|
||||||
state: "gas",
|
state: "gas",
|
||||||
};
|
};
|
||||||
|
|
@ -9,9 +9,9 @@ elements.soul_fish = {
|
||||||
color: ["#808080","#a52a2a"],
|
color: ["#808080","#a52a2a"],
|
||||||
category: "soul",
|
category: "soul",
|
||||||
behavior: [
|
behavior: [
|
||||||
"XX|CR:flash|XX",
|
"XX|M2|M1",
|
||||||
"CR:flash AND M2|XX|CR:flash AND M2",
|
"XX|FX%2|BO",
|
||||||
"M1|CR:flash AND M1|M1",
|
"XX|XX|M1",
|
||||||
],
|
],
|
||||||
reactions: {
|
reactions: {
|
||||||
"algae": { elem2:null, chance:0.25, func:behaviors.FEEDPIXEL },
|
"algae": { elem2:null, chance:0.25, func:behaviors.FEEDPIXEL },
|
||||||
|
|
@ -35,7 +35,12 @@ elements.soul_fish = {
|
||||||
"cell": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
|
"cell": { elem2:null, chance:0.15, func:behaviors.FEEDPIXEL },
|
||||||
"crumb": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
|
"crumb": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
|
||||||
"alcohol": { elem1:"meat", chance:0.001 },
|
"alcohol": { elem1:"meat", chance:0.001 },
|
||||||
}
|
},
|
||||||
|
tempHigh: 50000,
|
||||||
|
stateHigh: "ghost_particle",
|
||||||
|
category:"soul",
|
||||||
|
state: "solid",
|
||||||
|
density: 1080,
|
||||||
};
|
};
|
||||||
elements.soul_anger_block = {
|
elements.soul_anger_block = {
|
||||||
color: ["#eb4034","#ed2415"],
|
color: ["#eb4034","#ed2415"],
|
||||||
|
|
@ -60,7 +65,6 @@ elements.soul_dirt = {
|
||||||
} else {
|
} else {
|
||||||
pixel.methaned = true;
|
pixel.methaned = true;
|
||||||
};
|
};
|
||||||
createPixel("ghost_particle",pixel.x,pixel.y);
|
|
||||||
};
|
};
|
||||||
pixel.age++
|
pixel.age++
|
||||||
},
|
},
|
||||||
|
|
@ -69,3 +73,105 @@ elements.soul_dirt = {
|
||||||
density: 1050,
|
density: 1050,
|
||||||
excludeRandom: true,
|
excludeRandom: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elements.death_reaper = {
|
||||||
|
color: "#454545",
|
||||||
|
behavior: [
|
||||||
|
"XX|M2|M1",
|
||||||
|
"XX|FX%2|BO",
|
||||||
|
"XX|XX|M1",
|
||||||
|
],
|
||||||
|
reactions: {
|
||||||
|
human: { elem2: ["ghost_particle",null] },
|
||||||
|
head: { elem2: ["ghost_particle",null] },
|
||||||
|
body: { elem2: ["ghost_particle",null] },
|
||||||
|
worm: { elem2: ["ghost_particle",null] },
|
||||||
|
fish: { elem2: ["ghost_particle",null] },
|
||||||
|
frozen_fish: { elem2: ["ghost_particle",null] },
|
||||||
|
slug: { elem2: ["ghost_particle",null] },
|
||||||
|
snail: { elem2: ["ghost_particle",null] },
|
||||||
|
bird: { elem2: ["ghost_particle",null] },
|
||||||
|
rat: { elem2: ["ghost_particle",null] },
|
||||||
|
frog: { elem2: ["ghost_particle",null] },
|
||||||
|
frozen_frog: { elem2: ["ghost_particle",null] },
|
||||||
|
tadpole: { elem2: ["ghost_particle",null] },
|
||||||
|
stink_bug: { elem2: ["ghost_particle",null] },
|
||||||
|
bee: { elem2: ["ghost_particle",null] },
|
||||||
|
ghost_particle: { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
|
||||||
|
flea: { elem2: ["ghost_particle",null] },
|
||||||
|
termite: { elem2: ["ghost_particle",null] },
|
||||||
|
frozen_worm: { elem2: ["ghost_particle",null] },
|
||||||
|
flea: { elem2: ["ghost_particle",null] },
|
||||||
|
ant: { elem2: ["ghost_particle",null] },
|
||||||
|
fly: { elem2: ["ghost_particle",null] },
|
||||||
|
firefly: { elem2: ["ghost_particle",null] },
|
||||||
|
bee: { elem2: ["ghost_particle",null] },
|
||||||
|
},
|
||||||
|
tempHigh: 10000,
|
||||||
|
stateHigh: "bone",
|
||||||
|
category:"soul",
|
||||||
|
state: "solid",
|
||||||
|
density: 1500,
|
||||||
|
};
|
||||||
|
elements.tombstone = {
|
||||||
|
color: "#aaaaaa",
|
||||||
|
behavior: behaviors.STURDYPOWDER,
|
||||||
|
tempHigh: 1500,
|
||||||
|
tick: function(pixel) {
|
||||||
|
if (isEmpty(pixel.x+1,pixel.y) && Math.random() < 0.1) {
|
||||||
|
createPixel("ghost_particle",pixel.x+1,pixel.y);
|
||||||
|
}
|
||||||
|
doDefaults(pixel);
|
||||||
|
},
|
||||||
|
stateHigh: "magma",
|
||||||
|
category: "soul",
|
||||||
|
state: "solid",
|
||||||
|
density: 2400,
|
||||||
|
hardness: 0.5,
|
||||||
|
breakInto: "dust",
|
||||||
|
darkText: true
|
||||||
|
}
|
||||||
|
elements.tombstone_seed = {
|
||||||
|
color: "#eeeff2",
|
||||||
|
tick: function(pixel) {
|
||||||
|
if (isEmpty(pixel.x+1,pixel.y) &&
|
||||||
|
isEmpty(pixel.x-1,pixel.y)
|
||||||
|
isEmpty(pixel.x+1,pixel.y-1) &&
|
||||||
|
isEmpty(pixel.x-1,pixel.y-1) &&
|
||||||
|
isEmpty(pixel.x,pixel.y-1) &&
|
||||||
|
isEmpty(pixel.x+1,pixel.y-2) &&
|
||||||
|
isEmpty(pixel.x-1,pixel.y-2) &&
|
||||||
|
isEmpty(pixel.x,pixel.y-2) &&
|
||||||
|
isEmpty(pixel.x+1,pixel.y-3) &&
|
||||||
|
isEmpty(pixel.x-1,pixel.y-3) &&
|
||||||
|
isEmpty(pixel.x,pixel.y-3)) {
|
||||||
|
createPixel("tombstone",pixel.x+1,pixel.y);
|
||||||
|
createPixel("tombstone",pixel.x-1,pixel.y);
|
||||||
|
createPixel("tombstone",pixel.x+1,pixel.y-1);
|
||||||
|
createPixel("tombstone",pixel.x-1,pixel.y-1);
|
||||||
|
createPixel("tombstone",pixel.x,pixel.y-1);
|
||||||
|
createPixel("tombstone",pixel.x+1,pixel.y-2);
|
||||||
|
createPixel("tombstone",pixel.x-1,pixel.y-2);
|
||||||
|
createPixel("tombstone",pixel.x,pixel.y-2);
|
||||||
|
createPixel("tombstone",pixel.x+1,pixel.y-3);
|
||||||
|
createPixel("tombstone",pixel.x-1,pixel.y-3);
|
||||||
|
createPixel("tombstone",pixel.x,pixel.y-3);
|
||||||
|
}
|
||||||
|
if (pixel.age > 100) {
|
||||||
|
changePixel(pixel,"tombstone");
|
||||||
|
}
|
||||||
|
pixel.age++
|
||||||
|
doDefaults(pixel);
|
||||||
|
},
|
||||||
|
properties: {
|
||||||
|
age:0
|
||||||
|
},
|
||||||
|
category: "soul",
|
||||||
|
state: "solid",
|
||||||
|
density: 1500,
|
||||||
|
cooldown: defaultCooldown,
|
||||||
|
seed: true,
|
||||||
|
maxSize: 1,
|
||||||
|
excludeRandom: true,
|
||||||
|
behavior: behaviors.STURDYPOWDER,
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue