Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- type = "boiler",
- name = "Lava-boiler",
- icon = "__reactor__/graphics/icons/lava-boiler.png",
- flags = {"placeable-player", "player-creation"},
- minable = {hardness = 0.4, mining_time = 2, result = "Lava-boiler"},
- max_health = 250,
- corpse = "small-remnants",
- resistances =
- {
- {
- type = "fire",
- percent = 100
- }
- },
- -- fast_replaceable_group = "pipe",
- collision_box = {{-0.29, -0.29}, {0.29, 0.29}},
- selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
- fluid_box =
- {
- base_area = 4,
- pipe_covers = pipecoverspictures(),
- pipe_connections =
- {
- { position = {0, -1} },
- { position = {1, 0} },
- { position = {0, 1} },
- { position = {-1, 0} }
- },
- },
- energy_consumption = "780kW",
- burner =
- {
- effectivity = 1.0,
- fuel_inventory_size = 1,
- emissions = 0.15/6.5,
- },
- structure =
- {
- left =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-left.png",
- priority = "extra-high",
- width = 46,
- height = 46,
- shift = {0.03125, 0}
- },
- down =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-down.png",
- priority = "extra-high",
- width = 66,
- height = 72 --, shift = {0.05, 0}
- },
- left_down =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-left-down.png",
- priority = "extra-high",
- width = 60,
- height = 50 --, shift = {0, -0.02}
- },
- right_down =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-right-down.png",
- priority = "extra-high",
- width = 44,
- height = 50
- },
- left_up =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-left-up.png",
- priority = "extra-high",
- width = 66,
- height = 74 --, shift = {0.05, 0}
- },
- right_up =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-right-up.png",
- priority = "extra-high",
- width = 46,
- height = 72 --, shift = {0.15, 0}
- },
- t_down =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-t-down.png",
- priority = "extra-high",
- width = 44,
- height = 50 --, shift = {0, 0}
- },
- t_up =
- {
- filename = "__reactor__/graphics/entity/lava-boiler/Lava-boiler-t-up.png",
- priority = "extra-high",
- width = 46,
- height = 70 --, shift = {0, 0}
- }
- },
- fire =
- {
- left = boilerfires.down,
- down = boilerfires.left,
- left_down = boilerfires.right,
- right_down = boilerfires.left,
- left_up = boilerfires.down,
- right_up = boilerfires.down,
- t_up = boilerfires.down
- },
- burning_cooldown = 20,
- pictures = pipepictures()
- },
- ------
- data:extend(
- {
- {
- type = "resource",
- name = "Nature-Gas",
- icon = "__reactor__/graphics/icons/Nature-Gas.png",
- flags = {"placeable-neutral"},
- category = "Nature-Gas",
- order="r-n-g",
- infinite = true,
- minimum = 1000,
- normal = 15000,
- minable =
- {
- hardness = 1,
- mining_time = 1,
- results =
- {
- {
- type = "fluid",
- name = "Nature-Gas",
- amount_min = 1,
- amount_max = 10,
- probability = 1
- }
- }
- },
- collision_box = {{ -1.4, -1.4}, {1.4, 1.4}},
- selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
- autoplace =
- {
- control = "Nature-Gas",
- sharpness = 0.8,
- max_probability = 0.03,
- richness_multiplier = 19006,
- richness_base = 15006,
- size_control_multiplier = 0.06,
- peaks =
- {
- {
- influence = 0.1
- },
- {
- influence = 0.075,
- starting_area_weight_optimal = 0.3,
- starting_area_weight_range = 0,
- starting_area_weight_max_range = 2,
- },
- {
- influence = 0.58,
- noise_layer = "Nature-Gas",
- noise_octaves_difference = -2.7,
- noise_persistence = 0.3
- },
- }
- },
- stage_counts = {0},
- stages =
- {
- --the Folder was named Nature-gas not Nature-Gas
- sheet = {
- filename = "__reactor__/graphics/entity/Nature-gas/Nature-Gas.png",
- priority = "extra-high",
- width = 75,
- height = 61,
- frame_count = 4,
- variation_count = 1
- },
- },
- map_color = {r=0.8, g=0.77, b=0.77},
- map_grid = false
- }
- })
Add Comment
Please, Sign In to add comment