diff --git a/src/arcologyBuilding/presets.js b/src/arcologyBuilding/presets.js index 12fc3d69dadeabab9f9d230ac190e6b42b355054..a120e7e5af480b764dd8137d50fb6741d958aa74 100644 --- a/src/arcologyBuilding/presets.js +++ b/src/arcologyBuilding/presets.js @@ -188,6 +188,32 @@ App.Arcology.presets = (function() { isAllowed: env => env.established && env.location === "oceanic", construct() { return templateToBuilding(templates.oceanic); }, apply() {} + }, { + isAllowed: env => env.established && Math.random() < 0.1, + construct: () => { + // yes, this is a giant dick + const sections = []; + let rows = []; + rows.push([new App.Arcology.Cell.Apartment(1, 1)]); + rows.push([new App.Arcology.Cell.Penthouse()]); + sections.push(new App.Arcology.Section("penthouse", rows)); + rows = []; + rows.push([new App.Arcology.Cell.Apartment(1)]); + rows.push([new App.Arcology.Cell.Apartment(1)]); + rows.push([new App.Arcology.Cell.Apartment(1)]); + rows.push([new App.Arcology.Cell.Apartment(1, 3), new App.Arcology.Cell.Filler(0.75), new App.Arcology.Cell.Apartment(1), new App.Arcology.Cell.Filler(0.75), new App.Arcology.Cell.Apartment(1, 3)]); + rows.push([new App.Arcology.Cell.Apartment(1, 3), new App.Arcology.Cell.Apartment(1, 3), new App.Arcology.Cell.Filler(0.25), new App.Arcology.Cell.Shop(1), new App.Arcology.Cell.Filler(0.25), new App.Arcology.Cell.Apartment(1, 3), new App.Arcology.Cell.Apartment(1, 3)]); + sections.push(new App.Arcology.Section("apartments", rows)); + rows = []; + rows.push([new App.Arcology.Cell.Market(1), new App.Arcology.Cell.Market(1), new App.Arcology.Cell.Shop(1), new App.Arcology.Cell.Shop(1), new App.Arcology.Cell.Market(1), new App.Arcology.Cell.Market(1)]); + rows.push([new App.Arcology.Cell.Market(1), new App.Arcology.Cell.Manufacturing(1), new App.Arcology.Cell.Filler(0.25), new App.Arcology.Cell.Manufacturing(1), new App.Arcology.Cell.Filler(0.25), new App.Arcology.Cell.Manufacturing(1), new App.Arcology.Cell.Market(1)]); + sections.push(new App.Arcology.Section("markets", rows, true)); + rows = []; + rows.push([new App.Arcology.Cell.Manufacturing(1), new App.Arcology.Cell.Filler(0.75), new App.Arcology.Cell.Manufacturing(1), new App.Arcology.Cell.Filler(0.75), new App.Arcology.Cell.Manufacturing(1)]); + sections.push(new App.Arcology.Section("manufacturing", rows)); + return new App.Arcology.Building(sections); + }, + apply() {} }, ]; }());