32 lines
1,010 B
JavaScript
32 lines
1,010 B
JavaScript
|
|
/* ISLE SLINGERS -- levels/data/level-1.js (submodule: level-1)
|
||
|
|
* RC-375D84 S-2: level 1 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: 1,
|
||
|
|
name: 'First Perch',
|
||
|
|
birds: ['wren', 'wren', 'zippy'],
|
||
|
|
sling: L.SLING,
|
||
|
|
stars: [12000, 24000, 36000],
|
||
|
|
decor: { palms: [950, 2150, 2350], flowers: [700, 1200, 2050] },
|
||
|
|
blocks: [
|
||
|
|
// simple hut
|
||
|
|
L.wood(1500, 830, 30, 140),
|
||
|
|
L.wood(1640, 830, 30, 140),
|
||
|
|
L.wood(1570, 745, 200, 30)
|
||
|
|
],
|
||
|
|
enemies: [
|
||
|
|
L.mogg(1570, 876),
|
||
|
|
L.mogg(1770, 876)
|
||
|
|
]
|
||
|
|
}
|
||
|
|
};
|
||
|
|
});
|