Skip to content

Commit

Permalink
rewrite burner inserter wiki page
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jan 17, 2024
1 parent 7afca41 commit ec54f4b
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 61 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Date: 2024-1-??
- Fixed pycodex search (https://github.com/pyanodon/pybugreports/issues/370)
- Fixed a rare crash when trying to close the pycodex
- Pycodex gui is now bigger
- The pycodex homepage statistics are now compressiscrunchified
Tailings pond:
- Tailings pond spillage event is slightly more dramatic.
- Added a linear relationship between # of fluid spilled and # of pollution tiles created (300 fluid = 1 tile). note that this also means that the rate of change in the radius is now negative instead of 0
Expand Down
2 changes: 1 addition & 1 deletion locale/en/tips.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ big-mines=[item=ore-lead] Big mines

[pywiki-descriptions]
ash=Most inorganic fuels such as [item=coal] now produce [item=ash] when burnt, much like how [item=uranium-fuel-cell] produces [item=used-up-uranium-fuel-cell] on consumption.\n\nAsh management is a central part of the early game, as it will eventually jam machines if not removed from the output slot. [item=burner-inserter] can have a filter set to automatically remove ash. [entity=solid-separator] can help to repurpose some of the ash into ores.
mechanical-inserter=
mechanical-inserter=The burner inserter is now an [item=burner-inserter]. Unlike in the base game, it does not need to be fueled.\nFilter inserters and filter stack inserters do not exist in Pyanodons. All inserters have been given filter slots.\n\nRequired fuel:\n [entity=burner-inserter]: Free\n [entity=inserter]: 16.9 kW\n [entity=long-handed-inserter]: 20.11 kW\n [entity=fast-inserter]: 46.7 kW\n [entity=stack-inserter]: 133 kW\n\nInserter speeds: (chest-to-chest)\n [entity=burner-inserter]: 0.6 arm cycles/s\n [entity=inserter]: 1.2 arm cycles/s\n [entity=long-handed-inserter]: 1.2 arm cycles/s\n [entity=fast-inserter]: 2.31 arm cycles/s\n [entity=stack-inserter]: 2.31 arm cycles/s\n\nFilter slot counts:\n [entity=burner-inserter]: 1\n [entity=inserter]: 2\n [entity=long-handed-inserter]: 3\n [entity=fast-inserter]: 4\n [entity=stack-inserter]: 5\n\nSpecial:\n [entity=long-handed-inserter]: Reaches two tiles instead of one.\n [entity=stack-inserter]: Benefits from [technology=inserter-capacity-bonus-1].
tailings-pond=The [entity=tailings-pond] is a huge open-air fluid storage solution that can hold up to 1,000,000 fluid units. It has different mechanisms depending on whether you put a gas or a liquid into it.\n\nGasses such as [fluid=coal-gas] are vented into the atmosphere. This destroys the gas and creates tons of pollution. 100 units of any gas will create 15 units of pollution.\n\nCertian gasses do not create pollution:\n [fluid=oxygen]\n [fluid=hydrogen]\n [fluid=nitrogen]\n [fluid=purest-nitrogen-gas]\n [fluid=pressured-air]\n [fluid=hot-air]\n [fluid=neon]\n\nLiquids such as [fluid=tar] are stored in the pond until the tailings pond is 99% full (990,000 fluid units). Once the pond reaches this threshold the pond overflows, destroying the fluid and creating rings of highly flammable pollution tiles in the effected area.\n\nAny fluid with "water" in the name will instead seep into the groundwater and not create pollution tiles. [fluid=dirty-water-heavy] and [fluid=dirty-water-light] will also not create pollution tiles. The conversion factor is 300 units of fluid per every pollution tile. The pollution tiles can be used to fill lakes.\n\nYou can remove fluids from the pond by connecting [entity=pump] directly to one of the outputs. [item=red-wire] and [item=green-wire] can be used to read the contents of the pond.
beacon=The [entity=beacon-AM1-FM1] and [entity=diet-beacon-AM1-FM1] use radio signals to trasmit module effects into nearby assembling machines. Each beacon has both an AM and an FM frequency that determines the effect radius, trasmission efficiency, and power usage.\nThe AM and FM frequency sliders range from 1-5.\n\n[entity=diet-beacon-AM1-FM1]\nEffect radius:\n - AM1: 32\n - AM2: 24\n - AM3: 16\n - AM4: 8\n - AM5: 2\nTrasmission efficiency: 0.1 * AM * FM\nPower consumption: AM * (FM ^ 3) / 2 MW\n\n[entity=beacon-AM1-FM1]\nEffect radius:\n - AM1: 64\n - AM2: 48\n - AM3: 32\n - AM4: 16\n - AM5: 2\nTrasmission efficiency: 0.2 * AM * FM\nPower consumption: AM * (FM ^ 3) MW\n\nThe default 1AM 1FM beacon is wide area low power.\nIf a machine recives conflicting signals on either the AM or FM frequencies then the wavelengths will interfere and overload the machine.\nBeacons do not accept productivity modules such as [item=productivity-module-3].
combustion-mixture=You can burn [fluid=combustion-mixture1] in [entity=gasturbinemk01] for electricity. Higher temperatures of the fluid mean that the turbine works at a higher efficiency, thus generating more power. [entity=gasturbinemk01] has a limit to the temperature it can accept: if you give it a higher temperature input than this limit, it will be capped to that temperature, so you will be wasting the input. Higher level turbines have higher limits.
Expand Down
116 changes: 57 additions & 59 deletions prototypes/updates/entity-updates.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local table = require "__stdlib__.stdlib.utils.table"
local table = require '__stdlib__.stdlib.utils.table'


data.raw['underground-belt']['underground-belt'].max_distance = 9
Expand All @@ -13,10 +13,10 @@ data.raw.generator['steam-engine'].fluid_usage_per_tick = 0.25

--modify boiler to produce more water
data.raw.boiler.boiler.target_temperature = 250
data.raw.boiler.boiler.energy_consumption = "3.70125MW"
data.raw.boiler.boiler.energy_consumption = '3.70125MW'
--modify boiler to have burnt result inventory
data.raw.boiler.boiler.energy_source.burnt_inventory_size = 1
data.raw.boiler.boiler.energy_source.fuel_categories = {"chemical", "biomass"}
data.raw.boiler.boiler.energy_source.fuel_categories = {'chemical', 'biomass'}

--modify steam turbine temp
data.raw.generator['steam-turbine'].maximum_temperature = 2000
Expand All @@ -25,39 +25,39 @@ data.raw.generator['steam-turbine'].effectivity = 10
data.raw.generator['steam-turbine'].destroy_non_fuel_fluid = false

--increase steam max temp
data.raw.fluid["steam"].max_temperature = 2000
data.raw.fluid['steam'].max_temperature = 2000

data.raw.fluid["steam"].heat_capacity = "1KJ"
data.raw.fluid['steam'].heat_capacity = '1KJ'

data.raw.fluid["water"].heat_capacity = "2.1KJ"
data.raw.fluid['water'].heat_capacity = '2.1KJ'

data.raw.fluid["water"].max_temperature = 500
data.raw.fluid['water'].max_temperature = 500

--modify reactor to produce more energy
data.raw.reactor["nuclear-reactor"].consumption = "2GW"
data.raw.reactor["nuclear-reactor"].heat_buffer.max_temperature = 2000
data.raw.reactor["nuclear-reactor"].heat_buffer.specific_heat = "40MJ"
data.raw.reactor["nuclear-reactor"].energy_source.effectivity = 2
data.raw.reactor['nuclear-reactor'].consumption = '2GW'
data.raw.reactor['nuclear-reactor'].heat_buffer.max_temperature = 2000
data.raw.reactor['nuclear-reactor'].heat_buffer.specific_heat = '40MJ'
data.raw.reactor['nuclear-reactor'].energy_source.effectivity = 2

--modify heat exchanger
data.raw.boiler['heat-exchanger'].target_temperature = 2000
data.raw.boiler['heat-exchanger'].energy_consumption = "1GW"
data.raw.boiler['heat-exchanger'].energy_consumption = '1GW'
data.raw.boiler['heat-exchanger'].energy_source.max_temperature = 2000
data.raw.boiler['heat-exchanger'].energy_source.specific_heat = "10MJ"
data.raw.boiler['heat-exchanger'].energy_source.max_transfer = "4GW"
data.raw.boiler['heat-exchanger'].energy_source.specific_heat = '10MJ'
data.raw.boiler['heat-exchanger'].energy_source.max_transfer = '4GW'

--modify heat pipe
data.raw['heat-pipe']['heat-pipe'].heat_buffer.max_temperature = 2000
data.raw['heat-pipe']['heat-pipe'].heat_buffer.max_transfer = "5GW"
data.raw['heat-pipe']['heat-pipe'].heat_buffer.specific_heat = "10MJ"
data.raw['heat-pipe']['heat-pipe'].heat_buffer.max_transfer = '5GW'
data.raw['heat-pipe']['heat-pipe'].heat_buffer.specific_heat = '10MJ'

data.raw.item["uranium-fuel-cell"].fuel_value = "4GJ"
data.raw.item['uranium-fuel-cell'].fuel_value = '4GJ'

data.raw["assembling-machine"]["centrifuge"].energy_usage = "250MW"
data.raw['assembling-machine']['centrifuge'].energy_usage = '250MW'

local burner = {
type = "burner",
fuel_categories = {"chemical", "biomass"},
type = 'burner',
fuel_categories = {'chemical', 'biomass'},
effectivity = 1,
fuel_inventory_size = 1,
burnt_inventory_size = 1,
Expand All @@ -68,19 +68,19 @@ local burner = {
data.raw['assembling-machine']['assembling-machine-1'].crafting_speed = 1
data.raw['assembling-machine']['assembling-machine-1'].energy_source = table.deep_copy(burner)
data.raw['assembling-machine']['assembling-machine-1'].fluid_boxes = data.raw['assembling-machine']['assembling-machine-2'].fluid_boxes
table.insert(data.raw['assembling-machine']['assembling-machine-1'].crafting_categories, "crafting-with-fluid")
table.insert(data.raw['assembling-machine']['assembling-machine-1'].crafting_categories, 'crafting-with-fluid')

--modify assembly machine 2
data.raw['assembling-machine']['assembling-machine-2'].crafting_speed = 2
data.raw['assembling-machine']['assembling-machine-2'].energy_source = table.deep_copy(burner)
table.insert(data.raw['assembling-machine']['assembling-machine-2'].energy_source.fuel_categories, "jerry")
table.insert(data.raw['assembling-machine']['assembling-machine-2'].energy_source.fuel_categories, 'jerry')
data.raw['assembling-machine']['assembling-machine-2'].allowed_effects = {}
data.raw['assembling-machine']['assembling-machine-2'].module_specification.module_slots = 0

--modify assembly machine 3
data.raw['assembling-machine']['assembling-machine-3'].crafting_speed = 4
data.raw['assembling-machine']['assembling-machine-3'].energy_source = table.deep_copy(burner)
table.insert(data.raw['assembling-machine']['assembling-machine-3'].energy_source.fuel_categories, "jerry")
table.insert(data.raw['assembling-machine']['assembling-machine-3'].energy_source.fuel_categories, 'jerry')
data.raw['assembling-machine']['assembling-machine-3'].allowed_effects = {}
data.raw['assembling-machine']['assembling-machine-3'].module_specification.module_slots = 0

Expand All @@ -89,65 +89,63 @@ data.raw['mining-drill']['burner-mining-drill'].mining_speed = 1
data.raw['mining-drill']['burner-mining-drill'].energy_usage = '500KW'
data.raw['mining-drill']['burner-mining-drill'].resource_searching_radius = 1.99
data.raw['mining-drill']['burner-mining-drill'].radius_visualisation_picture = {
filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png",
filename = '__base__/graphics/entity/electric-mining-drill/electric-mining-drill-radius-visualization.png',
width = 12,
height = 12
}

data.raw['mining-drill']['electric-mining-drill'].mining_speed = 2
data.raw['mining-drill']['electric-mining-drill'].energy_usage = '1MW'

data.raw.furnace["stone-furnace"].energy_usage = "200kW"
data.raw.furnace["stone-furnace"].energy_source.fuel_category = nil
data.raw.furnace["stone-furnace"].energy_source.fuel_categories = {"chemical", "biomass"}
data.raw.furnace['stone-furnace'].energy_usage = '200kW'
data.raw.furnace['stone-furnace'].energy_source.fuel_category = nil
data.raw.furnace['stone-furnace'].energy_source.fuel_categories = {'chemical', 'biomass'}

data.raw.furnace["steel-furnace"].energy_usage = "500kW"
data.raw.furnace["steel-furnace"].energy_source.fuel_category = nil
data.raw.furnace["steel-furnace"].energy_source.fuel_categories = {"chemical", "biomass"}
data.raw.furnace['steel-furnace'].energy_usage = '500kW'
data.raw.furnace['steel-furnace'].energy_source.fuel_category = nil
data.raw.furnace['steel-furnace'].energy_source.fuel_categories = {'chemical', 'biomass'}

RECIPE("steel-furnace"):replace_ingredient("stone-brick", "refined-concrete")
RECIPE('steel-furnace'):replace_ingredient('stone-brick', 'refined-concrete')


data.raw.inserter["burner-inserter"].energy_source.type = "void"
--data.raw.inserter["burner-inserter"].energy_source.fuel_category = nil
--data.raw.inserter["burner-inserter"].energy_source.fuel_categories = {"chemical", "biomass"}
data.raw.inserter['burner-inserter'].energy_source.type = 'void'
--data.raw.inserter['burner-inserter'].energy_source.fuel_category = nil
--data.raw.inserter['burner-inserter'].energy_source.fuel_categories = {'chemical', 'biomass'}

data.raw.inserter["inserter"].extension_speed = 0.035
data.raw.inserter["inserter"].rotation_speed = 0.02
data.raw.inserter['inserter'].extension_speed = 0.035
data.raw.inserter['inserter'].rotation_speed = 0.02

data.raw["mining-drill"]["burner-mining-drill"].energy_source.fuel_category = nil
data.raw["mining-drill"]["burner-mining-drill"].energy_source.fuel_categories = {"chemical", "biomass"}
data.raw['mining-drill']['burner-mining-drill'].energy_source.fuel_category = nil
data.raw['mining-drill']['burner-mining-drill'].energy_source.fuel_categories = {'chemical', 'biomass'}

data.raw.furnace["electric-furnace"].energy_usage = "1MW"
data.raw.furnace["electric-furnace"].crafting_speed = 4
data.raw.furnace["electric-furnace"].allowed_effects = nil
data.raw.furnace["electric-furnace"].module_specification = nil
data.raw.furnace['electric-furnace'].energy_usage = '1MW'
data.raw.furnace['electric-furnace'].crafting_speed = 4
data.raw.furnace['electric-furnace'].allowed_effects = nil
data.raw.furnace['electric-furnace'].module_specification = nil

-- Ash space updates
data.raw.inserter["burner-inserter"].energy_source.burnt_inventory_size = 1
data.raw["mining-drill"]["burner-mining-drill"].energy_source.burnt_inventory_size = 1
data.raw.furnace["stone-furnace"].energy_source.burnt_inventory_size = 1
data.raw.furnace["steel-furnace"].energy_source.burnt_inventory_size = 1
if mods["Companion_Drones"] then
data.raw["spider-vehicle"]["companion"].energy_source.burnt_inventory_size = 1
data.raw['mining-drill']['burner-mining-drill'].energy_source.burnt_inventory_size = 1
data.raw.furnace['stone-furnace'].energy_source.burnt_inventory_size = 1
data.raw.furnace['steel-furnace'].energy_source.burnt_inventory_size = 1
if mods['Companion_Drones'] then
data.raw['spider-vehicle']['companion'].energy_source.burnt_inventory_size = 1
end

data.raw.car.car.burner.fuel_category = nil
data.raw.car.car.burner.fuel_categories = {"jerry", "chemical", "biomass"}
data.raw.car.car.burner.fuel_categories = {'jerry', 'chemical', 'biomass'}
data.raw.car.car.burner.burnt_inventory_size = data.raw.car.car.burner.fuel_inventory_size
data.raw.car.tank.burner.fuel_category = nil
data.raw.car.tank.burner.fuel_categories = {"jerry", "chemical", "biomass"}
data.raw.car.tank.burner.fuel_categories = {'jerry', 'chemical', 'biomass'}
data.raw.car.tank.burner.burnt_inventory_size = data.raw.car.tank.burner.fuel_inventory_size
data.raw.locomotive.locomotive.burner.fuel_category = nil
data.raw.locomotive.locomotive.burner.fuel_categories = {"chemical", "biomass"}
data.raw.locomotive.locomotive.burner.fuel_categories = {'chemical', 'biomass'}
data.raw.locomotive.locomotive.burner.burnt_inventory_size = data.raw.locomotive.locomotive.burner.fuel_inventory_size

data.raw.inserter["burner-inserter"].filter_count = 1
data.raw.inserter["burner-inserter"].allow_burner_leech = true
data.raw.inserter["inserter"].filter_count = 2
data.raw.inserter["long-handed-inserter"].filter_count = 3
data.raw.inserter["fast-inserter"].filter_count = 4
data.raw.inserter["stack-inserter"].filter_count = 5
data.raw.inserter['burner-inserter'].filter_count = 1
data.raw.inserter['inserter'].filter_count = 2
data.raw.inserter['long-handed-inserter'].filter_count = 3
data.raw.inserter['fast-inserter'].filter_count = 4
data.raw.inserter['stack-inserter'].filter_count = 5

RECIPE("filter-inserter"):remove_unlock("fast-inserter")
RECIPE("stack-filter-inserter"):remove_unlock("stack-inserter")
RECIPE('filter-inserter'):remove_unlock('fast-inserter')
RECIPE('stack-filter-inserter'):remove_unlock('stack-inserter')
4 changes: 3 additions & 1 deletion scripts/wiki/statistics-page.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ local function add_statistic(gui, localised_string)
if gui[name] then
gui[name].caption = localised_string
else
gui.add{type = 'label', caption = localised_string, name = name}.style.single_line = false
local label = gui.add{type = 'label', caption = localised_string, name = name}
label.style.single_line = false
label.style.bottom_margin = 7
end
end

Expand Down

0 comments on commit ec54f4b

Please sign in to comment.