You've already forked ComfyFactorio
							
							
				mirror of
				https://github.com/ComfyFactory/ComfyFactorio.git
				synced 2025-10-30 23:47:41 +02:00 
			
		
		
		
	Mtn v3 - minor changes
This commit is contained in:
		| @@ -153,7 +153,7 @@ angels-ore6=umber | ||||
| gui_1=First wave in | ||||
| gui_2=Wave: | ||||
| gui_3=Threat: | ||||
| gui_4=Paused for: | ||||
| gui_4=Biters wakes up in: | ||||
| tooltip_1=High threat may empower biters.\nBiter health: __1__%\nMax active biters: __2__~ | ||||
| tooltip_2=gain / minute | ||||
|  | ||||
|   | ||||
| @@ -775,7 +775,7 @@ function Public.reset_stateful(refresh_gui, clear_buffs) | ||||
|             randomized_wave = random(scale(180, 1000), scale(200, 1000)), | ||||
|             supplies = get_random_items(), | ||||
|             single_item = get_random_item(), | ||||
|             killed_enemies = random(scale(80000, 10000000), scale(100000, 10000000)), | ||||
|             killed_enemies = random(scale(20000, 80000), scale(40000, 80000)), | ||||
|             research_level_selection = get_random_research_recipe(), | ||||
|             locomotive_market_coins_spent = { | ||||
|                 spent = 0, | ||||
|   | ||||
| @@ -25,14 +25,14 @@ end | ||||
|  | ||||
| function Public.apply_tiles(tiles) | ||||
|     if tiles and next(tiles) then | ||||
|         local surface = game.get_surface('nauvis') | ||||
|         local surface = game.get_surface(this.map_name) | ||||
|         surface.set_tiles(tiles, true) | ||||
|     end | ||||
| end | ||||
|  | ||||
| function Public.apply_entities(entities) | ||||
|     if entities and next(entities) then | ||||
|         local surface = game.get_surface('nauvis') | ||||
|         local surface = game.get_surface(this.map_name) | ||||
|         for _, e in ipairs(entities) do | ||||
|             if e then | ||||
|                 surface.create_entity(e) | ||||
| @@ -43,11 +43,15 @@ end | ||||
|  | ||||
| function Public.apply_decoratives(decoratives) | ||||
|     if decoratives and next(decoratives) then | ||||
|         local surface = game.get_surface('nauvis') | ||||
|         local surface = game.get_surface(this.map_name) | ||||
|         surface.create_decoratives({check_collision = true, decoratives = decoratives}) | ||||
|     end | ||||
| end | ||||
|  | ||||
| function Public.apply_map_name(map_name) | ||||
|     this.map_name = map_name or nil | ||||
| end | ||||
|  | ||||
| Event.add( | ||||
|     defines.events.on_chunk_generated, | ||||
|     function(event) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user