mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
updates
This commit is contained in:
parent
091cfc567c
commit
d8397ee430
@ -136,7 +136,7 @@ local random = Random.new(seed1, seed2)
|
||||
|
||||
local total_weights = {}
|
||||
local t = 0
|
||||
for _, v in pairs(loops) do
|
||||
for _, v in ipairs(loops) do
|
||||
t = t + v[2]
|
||||
table.insert(total_weights, t)
|
||||
end
|
||||
|
@ -34,7 +34,7 @@ return {
|
||||
{price = {{'raw-fish', 100}}, offer = {type = 'give-item', item = 'artillery-shell'}},
|
||||
{price = {{'raw-fish', 1}}, offer = {type = 'give-item', item = 'land-mine'}},
|
||||
{price = {{'raw-fish', 5}}, offer = {type = 'give-item', item = 'grenade'}},
|
||||
{price = {{'raw-fish', 25}}, offer = {type = 'give-item', item = 'cluster-grenade'}},
|
||||
{price = {{'raw-fish', 35}}, offer = {type = 'give-item', item = 'cluster-grenade'}},
|
||||
{price = {{'raw-fish', 5}}, offer = {type = 'give-item', item = 'defender-capsule'}},
|
||||
{price = {{'raw-fish', 15}}, offer = {type = 'give-item', item = 'distractor-capsule'}},
|
||||
{price = {{'raw-fish', 75}}, offer = {type = 'give-item', item = 'destroyer-capsule'}},
|
||||
|
Loading…
Reference in New Issue
Block a user