From de36eb81ac1e40e66e380d9bb318999d68727069 Mon Sep 17 00:00:00 2001 From: Matthew Heguy Date: Wed, 20 Feb 2019 03:25:18 -0500 Subject: [PATCH] Restore uranium --- map_gen/maps/dino_island.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/map_gen/maps/dino_island.lua b/map_gen/maps/dino_island.lua index eb8b0798..10c0a73e 100644 --- a/map_gen/maps/dino_island.lua +++ b/map_gen/maps/dino_island.lua @@ -141,6 +141,10 @@ local function non_transform(shape) return b.scale(shape, 0.5) end +local function uranium_transform(shape) + return b.scale(shape, 0.25) +end + local function oil_transform(shape) shape = b.scale(shape, 0.25) return b.throttle_world_xy(shape, 1, 4, 1, 4) @@ -155,6 +159,7 @@ local ores = { {transform = non_transform, resource = 'copper-ore', value = value(250, 0.425, 1.1), weight = 10}, {transform = non_transform, resource = 'stone', value = value(150, 0.2, 1.05), weight = 6}, {transform = non_transform, resource = 'coal', value = value(250, 0.25, 1.075), weight = 16}, + {transform = uranium_transform, resource = 'uranium-ore', value = value(200, 0.3, 1.025), weight = 3}, {transform = oil_transform, resource = 'crude-oil', value = value(50000, 50, 1.025), weight = 10}, {transform = empty_transform, weight = 65} }