1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-30 23:17:53 +02:00
This commit is contained in:
MewMew 2018-09-23 11:59:42 +02:00
parent 02b6c5b9fb
commit 12ef38c22d
7 changed files with 109 additions and 11 deletions

View File

@ -10,7 +10,7 @@ require "score"
---- enable maps here ----
--require "maps.biter_battles"
--require "maps.cave_miner"
require "maps.cave_miner"
--require "maps.deep_jungle"
--require "maps.lost_desert"

View File

@ -384,9 +384,7 @@ local function on_chunk_generated(event)
table.insert(rock_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
else
tile_to_insert = "sand-3"
table.insert(treasure_chest_positions, {pos_x,pos_y})
@ -419,7 +417,7 @@ local function on_chunk_generated(event)
table.insert(enemy_building_positions, {pos_x,pos_y})
else
table.insert(rock_positions, {pos_x,pos_y})
table.insert(enemy_worm_positions, {pos_x,pos_y})
if math.random(1,3) == 1 then table.insert(enemy_worm_positions, {pos_x,pos_y}) end
end
if cave_noise_2 > 0.85 and tile_distance_to_center > global.spawn_dome_size + 25000 then
if math.random(1,48) == 1 then

View File

@ -1,4 +1,4 @@
--deep jungle-- mewmew made this --
--lost desert-- mewmew made this --
local chunk_loader = require "maps.tools.lazy_chunk_loader"
local simplex_noise = require 'utils.simplex_noise'
@ -210,9 +210,9 @@ chunk_loader.add(function(chunk_piece)
if noise_1 > 0.9 then tile_to_insert = "deepwater" end
if tile_to_insert ~= "deepwater" and tile_to_insert ~= "water" and noise_1 < 0.7 then
if math_random(1,10000) == 1 and noise_1 < 0.65 then
if math_random(1,20000) == 1 and noise_1 < 0.65 then
local spread = 1
local amount = math_random(math.ceil(math.sqrt(tile_distance_to_center),0),math.ceil(math.sqrt(tile_distance_to_center)*2,0))
local amount = math_random(400,600)
local size = math.ceil(math.sqrt(tile_distance_to_center),0)
local ore = ore_spawn_raffle[math_random(1,#ore_spawn_raffle)]
if ore == "crude-oil" then
@ -336,13 +336,14 @@ local function on_player_joined_game(event)
end
end
if player.online_time < 10 then
player.insert {name = 'raw-fish', count = 3}
player.insert {name = 'raw-fish', count = 3}
player.insert {name = 'iron-axe', count = 1}
player.insert {name = 'light-armor', count = 1}
end
end
function cheat_mode()
local cheat_mode_enabed = true
local cheat_mode_enabed = false
if cheat_mode_enabed == true then
local surface = game.surfaces["lost_desert"]
game.player.cheat_mode=true

View File

@ -1,5 +1,5 @@
local index = {
"blkCUwDfFaRxezkA", "PEVkYcsbVwnnKWKm", "RmApKqaHBnDdjlUf", "eovuYGvdICGhruuU"
"blkCUwDfFaRxezkA", "PEVkYcsbVwnnKWKm", "RmApKqaHBnDdjlUf", "eovuYGvdICGhruuU", "xFbpVDlWSNPmGqQf", "lktJcRqsleypbFqW", "MYmwDgcTBIOgADTD"
}
local data = {}

View File

@ -0,0 +1,66 @@
local playsession = {
{"mewmew", {609035}},
{"rlidwka", {518574}},
{"ANV1L", {221710}},
{"ChewbaccaWarrior", {577993}},
{"bl72", {4393}},
{"redlabel", {510590}},
{"GhettoMilkMan", {387085}},
{"willzcn", {28083}},
{"Fischi84", {284972}},
{"MdRuz", {439321}},
{"darkl0rd", {432776}},
{"Subcinericius", {431281}},
{"Nilsi", {1552}},
{"ScarpaK", {28356}},
{"FunnyFapka", {25893}},
{"Catbert", {53554}},
{"ozzyr321", {396786}},
{"Dreshen", {265326}},
{"Dyadya_Yar", {82354}},
{"smashngrabb", {8566}},
{"COOL-ITEM", {330232}},
{"Redwardas", {325611}},
{"raute", {112346}},
{"Slayerfear", {274461}},
{"Brender", {289527}},
{"Sokyra", {286993}},
{"prash3r", {5678}},
{"Krono", {140447}},
{"firstandlast", {218275}},
{"Urakan", {536}},
{"raudorn", {217237}},
{"gendu", {1673}},
{"ButtDealer", {178831}},
{"wekkka", {189634}},
{"BlaQkout", {57029}},
{"Gaaza", {157465}},
{"pickles28", {4472}},
{"Strekozeel", {180327}},
{"Velguarder", {23525}},
{"druidenchef", {3370}},
{"nux00", {1234}},
{"XxSoulessxX", {14913}},
{"Vinerr", {125044}},
{"valentijn", {69497}},
{"wengPC", {21653}},
{"Yaxley", {4740}},
{"hanbe", {9257}},
{"untamedx2", {16915}},
{"OECEMESO", {94786}},
{"KingKolla", {26006}},
{"Graav", {66344}},
{"Linkknight", {10270}},
{"fce2", {60727}},
{"sean.mccallum", {55529}},
{"Marcando", {45322}},
{"gartenfreund", {3862}},
{"kacperion", {32870}},
{"SAMDA", {382}},
{"TheWickedMaster", {4093}},
{"TryonHD", {8601}},
{"SMikiS", {22749}},
{"fou_shad", {22423}},
{"Sjetil", {20032}}
}
return playsession

View File

@ -0,0 +1,27 @@
local playsession = {
{"Gerkiz", {1443962}},
{"mewmew", {634048}},
{"flojogame", {8519}},
{"rlidwka", {64281}},
{"redlabel", {1017952}},
{"cko6o4ku", {435629}},
{"Patton1918", {47774}},
{"sabreman", {27903}},
{"Wolfhunter10000", {203673}},
{"dredge44", {306468}},
{"Visstick", {713291}},
{"Cramly", {4947}},
{"dpoba", {1764982}},
{"blesmrt", {16048}},
{"DraugTheWhopper", {16390}},
{"hunblade", {2935}},
{"RedSlimeySlime", {58017}},
{"Wizard7187", {12300}},
{"EG_Mike", {8662}},
{"Terarink", {2793441}},
{"VincentMonster", {34191}},
{"ANV1L", {3881}},
{"pickles28", {16580}},
{"Noctrem", {8012}}
}
return playsession

View File

@ -0,0 +1,6 @@
local playsession = {
{"mewmew", {11601}},
{"Akitae", {26165}},
{"skace", {17904}}
}
return playsession