Initial commit, working Titanium mod
This commit is contained in:
commit
8508a04f51
46 changed files with 447 additions and 0 deletions
79
titanium-ore.lua
Normal file
79
titanium-ore.lua
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
local resource_autoplace = require('resource-autoplace');
|
||||
|
||||
data:extend(
|
||||
{
|
||||
{
|
||||
type = "autoplace-control",
|
||||
category = "resource",
|
||||
name = "titanium-ore",
|
||||
richness = true,
|
||||
order = "b-e"
|
||||
},
|
||||
{
|
||||
type = "noise-layer",
|
||||
name = "titanium-ore"
|
||||
},
|
||||
{
|
||||
type = "resource",
|
||||
icon_size = 32,
|
||||
name = "titanium-ore",
|
||||
icon = "__bztitanium__/graphics/icons/titanium-ore.png",
|
||||
flags = {"placeable-neutral"},
|
||||
order="a-b-a",
|
||||
map_color = {r=0.65, g=0.80, b=0.80},
|
||||
minable =
|
||||
{
|
||||
hardness = 1,
|
||||
mining_particle = "titanium-ore-particle",
|
||||
mining_time = 2,
|
||||
fluid_amount=10,
|
||||
required_fluid= "lubricant",
|
||||
result = "titanium-ore"
|
||||
},
|
||||
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
|
||||
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
|
||||
|
||||
autoplace = resource_autoplace.resource_autoplace_settings{
|
||||
name = "titanium-ore",
|
||||
order = "b-z",
|
||||
base_density = 6,
|
||||
has_starting_area_placement = false,
|
||||
random_spot_size_minimum = 1,
|
||||
random_spot_size_maximum = 3,
|
||||
regular_rq_factor_multiplier = 1
|
||||
},
|
||||
|
||||
stage_counts = {15000, 9500, 5500, 2900, 1300, 400, 150, 80},
|
||||
stages =
|
||||
{
|
||||
sheet =
|
||||
{
|
||||
filename = "__bztitanium__/graphics/entity/ores/titanium-ore.png",
|
||||
priority = "extra-high",
|
||||
size = 64,
|
||||
frame_count = 8,
|
||||
variation_count = 8,
|
||||
hr_version =
|
||||
{
|
||||
filename = "__bztitanium__/graphics/entity/ores/hr-titanium-ore.png",
|
||||
priority = "extra-high",
|
||||
size = 128,
|
||||
frame_count = 8,
|
||||
variation_count = 8,
|
||||
scale = 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
type = "item",
|
||||
name = "titanium-ore",
|
||||
icon_size = 32,
|
||||
icon = "__bztitanium__/graphics/icons/titanium-ore.png",
|
||||
subgroup = "raw-resource",
|
||||
order = "t-c-a",
|
||||
stack_size = 50
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue