mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-16 14:12:55 -06:00
48 lines
1.7 KiB
Lua
48 lines
1.7 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/combinator.png",
|
|
tint = {r = 1, g = 1, b = .25, a = 1},
|
|
height = 64,
|
|
width = 64,
|
|
},
|
|
distance = 1,
|
|
}
|
|
|
|
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
|
|
}
|