1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
This commit is contained in:
grilledham 2018-06-07 16:41:52 +01:00
parent 091cfc567c
commit d8397ee430
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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'}},