From 400a3394c1518c32ef873c06337c0c00d49923d3 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Thu, 12 Mar 2020 20:11:00 +0100
Subject: [PATCH] add dick preset

---
 src/arcologyBuilding/presets.js | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/src/arcologyBuilding/presets.js b/src/arcologyBuilding/presets.js
index 12fc3d69dad..a120e7e5af4 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() {}
 		},
 	];
 }());
-- 
GitLab