38 lines
1.2 KiB
JavaScript
38 lines
1.2 KiB
JavaScript
|
|
/* ISLE SLINGERS -- levels/data/level-2.js (submodule: level-2)
|
||
|
|
* RC-375D84 S-2: level 2 definition, split from the original js/levels.js.
|
||
|
|
* Installer: returns the level object built from the shared helpers scope L.
|
||
|
|
*/
|
||
|
|
(function (root, factory) {
|
||
|
|
var part = factory();
|
||
|
|
if (typeof module !== 'undefined' && module.exports) module.exports = part;
|
||
|
|
else (root.ISLE_LEVEL_PARTS = root.ISLE_LEVEL_PARTS || []).push(part);
|
||
|
|
})(typeof globalThis !== 'undefined' ? globalThis : this, function () {
|
||
|
|
'use strict';
|
||
|
|
return function (L) {
|
||
|
|
return {
|
||
|
|
id: 2,
|
||
|
|
name: 'Crate Caves',
|
||
|
|
birds: ['wren', 'zippy', 'wren'],
|
||
|
|
sling: L.SLING,
|
||
|
|
stars: [15000, 28000, 42000],
|
||
|
|
decor: { palms: [1000, 2200], flowers: [800, 1350, 2000] },
|
||
|
|
blocks: [
|
||
|
|
// left tower: stone base + wood post
|
||
|
|
L.stone(1420, 865, 70, 70),
|
||
|
|
L.wood(1420, 760, 30, 140),
|
||
|
|
// right tower: ice base + ice post
|
||
|
|
L.ice(1660, 860, 80, 80),
|
||
|
|
L.ice(1660, 765, 30, 110),
|
||
|
|
// side crates
|
||
|
|
L.wood(1300, 860, 80, 80),
|
||
|
|
L.wood(1790, 860, 80, 80)
|
||
|
|
],
|
||
|
|
enemies: [
|
||
|
|
L.mogg(1420, 666),
|
||
|
|
L.mogg(1660, 686),
|
||
|
|
L.mogg(1540, 876)
|
||
|
|
]
|
||
|
|
}
|
||
|
|
};
|
||
|
|
});
|