i tried this:
Code: Select all
type = "resource",
name = "lava-1",
icon = "__DyTech-Graphics__/graphics/fluid/lava-1.png",
flags = {"placeable-neutral"},
category = "lava",
order="lava-1",
infinite = true,
minimum = 750,
normal = 7500,
minable =
{
hardness = 1,
mining_time = 1,
results =
{
{
type = "fluid",
name = "lava-1",
amount_min = 1,
amount_max = 1,
probability = 1
}
}
},
collision_box = {{ -1.4, -1.4}, {1.4, 1.4}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
light =
{
{
type = "oriented",
minimum_darkness = 0.0,
picture =
{
filename = "__core__/graphics/light-small.png",
priority = "medium",
scale = 2,
width = 150,
height = 150
},
size = 2,
intensity = 0.6
},
{
type = "oriented",
minimum_darkness = 0.3,
picture =
{
filename = "__core__/graphics/light-medium.png",
priority = "medium",
scale = 2,
width = 300,
height = 300
},
size = 2,
intensity = 0.6
}
},

also tried:
Code: Select all
light = {intensity = 0.9, size = 40},
anyway we can do give light to resource types?