1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00

spiral_troopers loot fix

This commit is contained in:
MewMew 2018-10-11 02:44:17 +02:00
parent 725f4270c8
commit b643f98f87
3 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,7 @@ require "score"
--require "maps.lost_desert"
--require "maps.labyrinth"
--require "maps.spaghettorio"
require "maps.spiral_troopers"
--require "maps.spiral_troopers"
-----------------------------
local Event = require 'utils.event'

View File

@ -44,7 +44,7 @@ local function treasure_chest(position, surface)
{{name = "defender-capsule", count = math_random(8,16)}, weight = 10, evolution_min = 0.0, evolution_max = 0.7},
{{name = "distractor-capsule", count = math_random(8,16)}, weight = 10, evolution_min = 0.2, evolution_max = 1},
{{name = "destroyer-capsule", count = math_random(8,16)}, weight = 10, evolution_min = 0.3, evolution_max = 1},
{{name = "atomic-bomb", count = math_random(8,16)}, weight = 1, evolution_min = 0.2, evolution_max = 1},
{{name = "atomic-bomb", count = math_random(1,2)}, weight = 1, evolution_min = 0.2, evolution_max = 1},
{{name = "light-armor", count = 1}, weight = 3, evolution_min = 0, evolution_max = 0.1},
{{name = "heavy-armor", count = 1}, weight = 3, evolution_min = 0.1, evolution_max = 0.3},
{{name = "modular-armor", count = 1}, weight = 2, evolution_min = 0.2, evolution_max = 0.6},

View File

@ -365,7 +365,6 @@ end
local function on_gui_click(event)
if not event then return end
if not event.element then return end
if not event.element.type then return end
if not event.element.valid then return end
if not event.element.name then return end