Ive made FreeER's Step By Step Guide to Modding Factorio, i have made made code modifikation to bring things to work with 0.11.5 an i searching for a code to speed up the Plain.
data:extend({
{type = "car",
name = "bomber",
icon = "__BomberTutorial__/graphics/icon_bomber.png",
flags = {"pushable", "placeable-neutral", "player-creation", "placeable-off-grid", "not-on-map"},
minable = {mining_time = 1, result = "bomber"},
max_health = 2000,
corpse = "medium-remnants",
dying_explosion = "huge-explosion",
resistances ={
{
type = "fire",
percent = 50
},
{
type = "impact",
percent = 30,
decrease = 30
}
},
selection_box = {{-1.5, -1.5}, {0.6, 0.5}},
effectivity = 2,
braking_power = "800kW",
burner ={
effectivity = 2,
fuel_inventory_size = 2,
},
consumption = "300kW",
friction =0.1,
light =
{
{
type = "oriented",
minimum_darkness = 0.3,
picture =
{
filename = "__core__/graphics/light-cone.png",
priority = "medium",
scale = 2,
width = 200,
height = 200
},
shift = {-0.6, -14},
size = 2,
intensity = 0.6
},
{
type = "oriented",
minimum_darkness = 0.3,
picture =
{
filename = "__core__/graphics/light-cone.png",
priority = "medium",
scale = 2,
width = 200,
height = 200
},
shift = {0.6, -14},
size = 2,
intensity = 0.6
}
},
animation =
{
filename = "__BomberTutorial__/graphics/sheet_bomber.png",
line_length = 8,
width = 150,
height = 150,
frame_count = 1,
shift={0, 0},
axially_symmetrical = false,
direction_count = 64
},
stop_trigger_speed = 0.2,
stop_trigger =
{
{
type = "play-sound",
sound =
{
{
filename = "__base__/sound/car-breaks.ogg",
volume = 0.6
},
}
},
},
sound_minimum_speed = 0.2;
working_sound =
{
sound =
{
filename = "__base__/sound/car-engine.ogg",
volume = 0.6
},
activate_sound =
{
filename = "__base__/sound/car-engine-start.ogg",
volume = 0.6
},
deactivate_sound =
{
filename = "__base__/sound/car-engine-stop.ogg",
volume = 0.6
},
match_speed_to_activity = true,
},
open_sound = { filename = "__base__/sound/car-door-open.ogg", volume=0.7 },
close_sound = { filename = "__base__/sound/car-door-close.ogg", volume = 0.7 },
rotation_speed = 0.01,
weight = 1400,
inventory_size = 80
},
})