1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

added documentation for borg planet; map info and description for broken web.

This commit is contained in:
theorangeangle 2019-05-27 22:22:24 -05:00
parent ee63ff067e
commit 1831a381bc
2 changed files with 24 additions and 2 deletions

View File

@ -1,4 +1,10 @@
local b = require "map_gen.shared.builders"
local ScenarioInfo = require 'features.gui.info'
--Special thanks to the following beta testers for their help with the map and map info: T-A-R
ScenarioInfo.set_map_name('Broken Web')
ScenarioInfo.set_map_description('This map is spanning the void like a Broken Web!\nIn order to launch a rocket into space, you must collaborate like ants to build a breathtaking ant cave.')
ScenarioInfo.set_map_extra_info('Confined space map with predictable terrain generation.\nA good way to challenge yourself with building in confined spaces.')
local pic = require "map_gen.data.presets.broken_web"
pic = b.decompress(pic)
@ -10,4 +16,4 @@ local map = b.single_pattern(shape, pic.width, pic.height - 1)
map = b.translate(map, 10, -27)
map = b.scale(map, 12, 12)
return map
return map

View File

@ -1,10 +1,22 @@
--Author: MewMew
-- !! ATTENTION !!
--[[
!! ATTENTION !!
This map is DEPRECATED and is no longer updated.
If you wish to update parts of the scenario, you are free to do so and submit a PR on discord.
Current bugs include:
-starting area can still be under attack
-copper ore never spawns without bugs
-map balance is hard early game and easy afterwards
-some turrets are unpowered
-small ship wrecks are not accessible
-general performance is not very good in MP
]]
-- Use water only in starting area as map setting!!!
local perlin = require 'map_gen.shared.perlin_noise'
local Token = require 'utils.token'
local RS = require 'map_gen.shared.redmew_surface'
local MGSP = require 'resources.map_gen_settings'
local ScenarioInfo = require 'features.gui.info'
local insert = table.insert
local random = math.random
@ -39,6 +51,10 @@ local wreck_item_pool = {
{name = 'explosive-rocket', count = 32}
}
ScenarioInfo.set_map_name('Borg Planet (Deprecated)')
ScenarioInfo.set_map_description('Welcome in a world filled with dangers.\nIf you want to stay alive you must stay between the lines.\nResistance is futile.')
ScenarioInfo.set_map_extra_info('Lootable crash parts with items inside.\nEnemy turrets defending some parts of the world.')
RS.set_map_gen_settings({MGSP.water_none})
local ship_callback =