1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-04 09:42:30 +02:00

Updates/frontier v4 (#1426)

* Add markets

* Update frontier

* Add support for modded accumulators

* Pollution changes

* Terrain tweaks
This commit is contained in:
RedRafe 2024-08-17 17:57:45 +02:00 committed by GitHub
parent 3dabc84ccc
commit 5090b09cb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 853 additions and 105 deletions

View File

@ -10,7 +10,7 @@ local Public = {}
local function discharge_accumulators(surface, position, force, power_needs)
local accumulators = surface.find_entities_filtered {
name = 'accumulator',
type = 'accumulator',
force = force,
position = position,
radius = this.radius,
@ -58,7 +58,7 @@ function Public.recharge(player)
end
local entities = player.surface.find_entities_filtered {
name = 'accumulator',
type = 'accumulator',
force = player.force,
position = player.position,
radius = this.radius,

View File

@ -363,6 +363,19 @@ local function add_recipe_products(recipe)
end
end
function Public.get_unlocked_item_names()
return item_names
end
function Public.get_unlocked_item_values()
return item_unlocked
end
function Public.get_items_worth()
return item_worths
end
Event.on_init(function()
for _, recipe in pairs(game.forces.player.recipes) do
add_recipe_products(recipe)

View File

@ -184,14 +184,43 @@ gps=[gps=__1__,__2__,__3__]
tile_unlock=__1__ has unlocked new grounds! __2__
[frontier]
silo_forward=[color=blue][Mapkeeper][/color] Moved silo forward by __1__ tiles
add_rocket=Adding __1__ extra __plural_for_parameter_1_{1=launch|rest=launches}__ thanks to the death of __2__. __3__ __plural_for_parameter_3_{1=rocket|rest=rockets}__ to go!
earn_coin=[achievement=steamrolled] you steal another treasure [item=coin] from the Kraken's army.
empty_rocket=[color=purple][Kraken][/color] The God of the Sea accepts your rocket offer and rewards you with magic fishes
kraken_eat=[color=purple][Kraken][/color] ate __1__ and was delicious!
loot_chest=[achievement=golem] You find an hidden [color=orange]treasure[/color] beneath the enemy forces
restart=[color=blue][Mapkeeper][/color] Map is restarting in __1__ __plural_for_parameter_1_{1=second|rest=seconds}__
rocket_launched=[color=blue][Mapkeeper][/color] __1__ __plural_for_parameter_1_{1=rocket|rest=rockets}__ launched, __2__ __plural_for_parameter_2_{1=rocket|rest=rockets}__ to go!
rockets_to_launch=Remaining rockets to launch
shop_funds=Available team funds
shop_purchase_fail=[color=blue][Mapkeeper][/color] Purchase denied: insufficient materials. try refreshing the Spawn shop menu to get the latest prices.
shop_purchase_success=[color=blue][Mapkeeper][/color] __1__ has upgraded [color=blue]__2__[/color] from the Spawn shop to level [color=green]__3__[/color]
silo_backward=[color=blue][Mapkeeper][/color] Moved silo backward by __1__ tiles
silo_forward=[color=blue][Mapkeeper][/color] Moved silo forward by __1__ tiles
tt_shop_artillery_range=Artillery range: +3%
tt_shop_artillery_speed=Artillery speed: +10%
tt_shop_braking_force=Train braking force: +2%
tt_shop_disabled_refresh_button=Insufficient team founds
tt_shop_energy_damage=Laser damage: +7%
tt_shop_explosive_damage=Explosives damage: +4%
tt_shop_flammables_damage=Flame damage: +2%
tt_shop_funds_label=Killing enemy spawners has a chance to drop 1 x [item=coin] coin
tt_shop_inserter_capacity=Inserters capacity: +1
tt_shop_item_stack=[font=default-bold]__1__[/font]: [font=count-font][color=__3__]__2__[/color][/font]
tt_shop_lab_productivity=Laboratory productivity: +0.5%
tt_shop_mining_productivity=Mining productivity: +1%
tt_shop_p_crafting_speed=Player crafting speed: +2%
tt_shop_p_health_bonus= +2%
tt_shop_p_inventory_size=Player inventory: +5
tt_shop_p_mining_speed=Player mining speed: +2%
tt_shop_p_reach=Player reach: +1
tt_shop_p_running_speed=Player running speed: +2%
tt_shop_p_trash_size=Player trash slots size: +5
tt_shop_projectile_damage=Physical damage: +4%
tt_shop_refresh_button=Refresh all Spawn shop upgrading prices by spending 1 x [item=coin]
tt_shop_robot_battery=Worker robot battery: +5%
tt_shop_robot_cargo=Worker cago size: +1
tt_shop_robot_speed=Worker robot speed: +6%
map_setup=[color=blue][Mapkeeper][/color] Please wait... A new map is being generated...
warning_max_distance=[color=blue][Mapkeeper][/color] Reached max distance for rocket silo. Adding one rocket launch to win for every __1__ tiles added this way
warning_min_distance=[color=blue][Mapkeeper][/color] Reached min distance for rocket silo. Removing one rocket launch to win for every __1__ tiles removed this way
kraken_eat=[color=purple][Kraken][/color] ate __1__ and was delicious!
rocket_launched=[color=blue][Mapkeeper][/color] __1__ __plural_for_parameter_1_{1=rocket|rest=rockets}__ launched, __2__ __plural_for_parameter_2_{1=rocket|rest=rockets}__ to go!
add_rocket=Adding __1__ extra __plural_for_parameter_1_{1=launch|rest=launches}__ thanks to the death of __2__. __3__ __plural_for_parameter_3_{1=rocket|rest=rockets}__ to go!
loot_chest=[achievement=golem] You find an hidden [color=orange]treasure[/color] beneath the enemy forces
empty_rocket=[color=purple][Kraken][/color] The God of the Sea accepts your rocket offer and rewards you with magic fishes
rockets_to_launch=Remaining rockets to launch
restart=[color=blue][Mapkeeper][/color] Map is restarting in __1__ __plural_for_parameter_1_{1=second|rest=seconds}__

File diff suppressed because it is too large Load Diff