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 2019-01-14 11:10:34 +00:00
parent 880a3d3ab2
commit f062c53868
3 changed files with 14 additions and 6 deletions

View File

@ -672,7 +672,12 @@ local function init()
{name = 'science-pack-3', price = 75},
{name = 'production-science-pack', price = 100},
{name = 'high-tech-science-pack', price = 125},
{name = 'small-plane', price = 100}
{
price = 100,
name = 'small-plane',
name_label = 'Train Immunity (1x use)',
description = 'Each small plane in your inventory will save you from being killed by a train once.'
}
}
}

View File

@ -1122,7 +1122,10 @@ Public.market_set_items_callback =
price = math.max(price, min_price)
end
Retailer.set_item(market_id, {name = item.name, price = price})
Retailer.set_item(
market_id,
{name = item.name, price = price, name_label = item.name_label, description = item.description}
)
end
end
)

View File

@ -4,7 +4,7 @@ local Event = require 'utils.event'
local player_ammo_starting_modifiers = {
['artillery-shell'] = -0.75,
['biological'] = -0.5,
['bullet'] = -0.35,
['bullet'] = -0.20,
['cannon-shell'] = -0.75,
['capsule'] = -0.5,
['combat-robot-beam'] = -0.5,
@ -17,13 +17,13 @@ local player_ammo_starting_modifiers = {
['melee'] = 0,
['railgun'] = 0,
['rocket'] = -0.5,
['shotgun-shell'] = -0.25
['shotgun-shell'] = -0.20
}
local player_ammo_research_modifiers = {
['artillery-shell'] = -0.75,
['biological'] = -0.5,
['bullet'] = -0.35,
['bullet'] = -0.20,
['cannon-shell'] = -0.75,
['capsule'] = -0.5,
['combat-robot-beam'] = -0.5,
@ -36,7 +36,7 @@ local player_ammo_research_modifiers = {
['melee'] = -0.5,
['railgun'] = -0.5,
['rocket'] = -0.5,
['shotgun-shell'] = -0.25
['shotgun-shell'] = -0.20
}
local player_turrets_research_modifiers = {