다른 모드 기반으로 ultra fast inserter 비슷하게 만들고 있는데
투입기가 작동할때 팔이나 집게 없애는데 성공했는데
들고 옮기는 아이템은 어떻게 없애나요??
이거는 코드임
data:extend({
{
type = "inserter",
name = "uranium-inserter",
icon = "__Uranium_Inserter_T__/graphics/icon.png",
icon_size = 32,
flags = {"placeable-neutral", "placeable-player", "player-creation"},
bulk = true,
stack_size_bonus = 6,
minable = { mining_time = 0.2, result = "uranium-inserter" },
max_health = 300,
corpse = "bulk-inserter-remnants",
resistances =
{
{
type = "fire",
percent = 95
}
},
collision_box = {{-0.15, -0.15}, {0.15, 0.15}},
selection_box = {{-0.4, -0.35}, {0.4, 0.45}},
pickup_position = {0, -1},
insert_position = {0, 1.2},
energy_source =
{
type = "void",
},
extension_speed = 0.28,
rotation_speed = 0.06,
fast_replaceable_group = "inserter",
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 1.0 },
working_sound =
{
match_progress_to_activity = true,
sound =
{
{
filename = "__base__/sound/inserter-fast-1.ogg",
volume = 0.75
},
{
filename = "__base__/sound/inserter-fast-2.ogg",
volume = 0.75
},
{
filename = "__base__/sound/inserter-fast-3.ogg",
volume = 0.75
},
{
filename = "__base__/sound/inserter-fast-4.ogg",
volume = 0.75
},
{
filename = "__base__/sound/inserter-fast-5.ogg",
volume = 0.75
}
}
},
hand_base_picture = {
filename = "__base__/graphics/entity/fast-inserter/fast-inserter-hand-base.png",
height = 1,
hr_version = {
filename = "__base__/graphics/entity/fast-inserter/hr-fast-inserter-hand-base.png",
height = 1,
priority = "extra-high",
scale = 0.25,
width = 1,
visible = false
},
priority = "extra-high",
width = 1,
visible = false
},
hand_base_shadow = {
filename = "__base__/graphics/entity/fast-inserter/fast-inserter-hand-base.png",
height = 1,
hr_version = {
filename = "__base__/graphics/entity/fast-inserter/hr-fast-inserter-hand-base.png",
height = 1,
priority = "extra-high",
scale = 0.25,
width = 1,
visible = false
},
priority = "extra-high",
width = 1,
visible = false
},
hand_closed_picture = {
filename = "__base__/graphics/entity/fast-inserter/fast-inserter-hand-base.png",
height = 1,
hr_version = {
filename = "__base__/graphics/entity/fast-inserter/hr-fast-inserter-hand-base.png",
height = 1,
priority = "extra-high",
scale = 0.25,
width = 1,
visible = false
},
priority = "extra-high",
width = 1,
visible = false
},
hand_closed_shadow = {
filename = "__base__/graphics/entity/fast-inserter/fast-inserter-hand-base.png",
height = 1,
hr_version = {
filename = "__base__/graphics/entity/fast-inserter/hr-fast-inserter-hand-base.png",
height = 1,
priority = "extra-high",
scale = 0.25,
width = 1,
visible = false
},
priority = "extra-high",
width = 1,
visible = false
},
hand_open_picture = {
filename = "__base__/graphics/entity/fast-inserter/fast-inserter-hand-base.png",
height = 1,
hr_version = {
filename = "__base__/graphics/entity/fast-inserter/hr-fast-inserter-hand-base.png",
height = 1,
priority = "extra-high",
scale = 0.25,
width = 1,
visible = false
},
priority = "extra-high",
width = 1,
visible = false
},
hand_open_shadow = {
filename = "__base__/graphics/entity/fast-inserter/fast-inserter-hand-base.png",
height = 1,
hr_version = {
filename = "__base__/graphics/entity/fast-inserter/hr-fast-inserter-hand-base.png",
height = 1,
priority = "extra-high",
scale = 0.25,
width = 1,
visible = false
},
priority = "extra-high",
width = 1,
visible = false
},
platform_picture =
{
sheet =
{
filename = "__Uranium_Inserter_T__/graphics/uranium/fast-inserter-platform.png",
priority = "extra-high",
width = 46,
height = 46,
shift = {0.09375, 0},
visible = false,
hr_version =
{
filename = "__Uranium_Inserter_T__/graphics/uranium/hr-fast-inserter-platform.png",
priority = "extra-high",
width = 105,
height = 79,
shift = util.by_pixel(1.5, 7.5-1),
scale = 0.5,
visible = false
}
}
},
circuit_wire_connection_points = circuit_connector_definitions["inserter"].points,
circuit_connector_sprites = circuit_connector_definitions["inserter"].sprites,
circuit_wire_max_distance = inserter_circuit_wire_max_distance,
default_fast_control_input_signal = inserter_default_fast_control_input_signal
}
})
https://lua-api.factorio.com/latest/prototypes/InserterPrototype.html#draw_held_item
draw_held_item=false 걸어봐
소용없는듯합니다