mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-10 10:08:18 -06:00
52 lines
1.8 KiB
Lua
52 lines
1.8 KiB
Lua
--By Mami
|
|
combinator_entity = flib.copy_prototype(data.raw["arithmetic-combinator"]["arithmetic-combinator"], COMBINATOR_NAME)
|
|
combinator_entity.icon = "__cybersyn__/graphics/icons/combinator.png"
|
|
combinator_entity.radius_visualisation_specification = {
|
|
sprite = {
|
|
filename = "__cybersyn__/graphics/icons/area-of-effect.png",
|
|
tint = {r = 1, g = 1, b = 0, a = .5},
|
|
height = 64,
|
|
width = 64,
|
|
},
|
|
--offset = {0, .5},
|
|
distance = 1.5,
|
|
}
|
|
combinator_entity.active_energy_usage = "10KW"
|
|
combinator_entity.allow_copy_paste = false
|
|
|
|
|
|
combinator_out_entity = flib.copy_prototype(data.raw["constant-combinator"]["constant-combinator"], COMBINATOR_OUT_NAME)
|
|
combinator_out_entity.icon = nil
|
|
combinator_out_entity.icon_size = nil
|
|
combinator_out_entity.icon_mipmaps = nil
|
|
combinator_out_entity.next_upgrade = nil
|
|
combinator_out_entity.minable = nil
|
|
combinator_out_entity.selection_box = nil
|
|
combinator_out_entity.collision_box = nil
|
|
combinator_out_entity.collision_mask = {}
|
|
combinator_out_entity.item_slot_count = 500
|
|
combinator_out_entity.circuit_wire_max_distance = 3
|
|
combinator_out_entity.flags = {"not-blueprintable", "not-deconstructable", "placeable-off-grid"}
|
|
|
|
local origin = {0.0, 0.0}
|
|
local invisible_sprite = {filename = "__cybersyn__/graphics/invisible.png", width = 1, height = 1}
|
|
local wire_con1 = {
|
|
red = origin,
|
|
green = origin
|
|
}
|
|
local wire_con0 = {wire = wire_con1, shadow = wire_con1}
|
|
combinator_out_entity.sprites = invisible_sprite
|
|
combinator_out_entity.activity_led_sprites = invisible_sprite
|
|
combinator_out_entity.activity_led_light = {
|
|
intensity = 0,
|
|
size = 0,
|
|
}
|
|
combinator_out_entity.activity_led_light_offsets = {origin, origin, origin, origin}
|
|
combinator_out_entity.draw_circuit_wires = false
|
|
combinator_out_entity.circuit_wire_connection_points = {
|
|
wire_con0,
|
|
wire_con0,
|
|
wire_con0,
|
|
wire_con0
|
|
}
|