44 lines
1.4 KiB
JavaScript
44 lines
1.4 KiB
JavaScript
|
|
/* ISLE SLINGERS -- levels/data/level-4.js (submodule: level-4)
|
||
|
|
* RC-375D84 S-2: level 4 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: 4,
|
||
|
|
name: 'Stone Keep',
|
||
|
|
birds: ['wren', 'zippy', 'boulder', 'wren'],
|
||
|
|
sling: L.SLING,
|
||
|
|
stars: [22000, 40000, 58000],
|
||
|
|
decor: { palms: [1050, 2300], flowers: [850, 1400, 2150] },
|
||
|
|
blocks: [
|
||
|
|
// stone wall (three cubes)
|
||
|
|
L.stone(1600, 865, 70, 70),
|
||
|
|
L.stone(1750, 865, 70, 70),
|
||
|
|
L.stone(1900, 865, 70, 70),
|
||
|
|
L.wood(1750, 815, 400, 30),
|
||
|
|
// second floor
|
||
|
|
L.wood(1650, 740, 30, 120),
|
||
|
|
L.wood(1850, 740, 30, 120),
|
||
|
|
L.wood(1750, 665, 260, 30),
|
||
|
|
// left ice watchtower
|
||
|
|
L.ice(1450, 840, 30, 120),
|
||
|
|
// right crate
|
||
|
|
L.stone(2050, 865, 70, 70)
|
||
|
|
],
|
||
|
|
enemies: [
|
||
|
|
L.mogg(1675, 876),
|
||
|
|
L.mogg(1825, 876),
|
||
|
|
L.grum(1750, 618),
|
||
|
|
L.mogg(2050, 806),
|
||
|
|
L.mogg(1500, 876)
|
||
|
|
]
|
||
|
|
}
|
||
|
|
};
|
||
|
|
});
|