-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.lua
More file actions
75 lines (73 loc) · 1.86 KB
/
data.lua
File metadata and controls
75 lines (73 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
require "prototypes/pipes-overlay"
require "prototypes/item-recipe-groups"
require "prototypes/liquids"
require "SJT_library"
require "prototypes/technologies"
--TODO: add settings for infinite ore types.:DONE
--TODO: add settings to and non normal ores types to spawn:DONE
--TODO: compatibilty. pymods compatibilty will be in pycoaltbaa. angels and bobs will remain as internal to dirty-ores:DONE AND LIES
--TODO: create infinite ore gen code :DONE
--TODO: adjust ore spawn to lower spawn rate of normal ores
if dev_mode then
data:extend(
{
{
type = "resource",
name = "sjt-crude-oil",
icon = "__base__/graphics/icons/crude-oil.png",
icon_size = 32,
flags = {"placeable-neutral"},
category = "basic-fluid",
order="a-b-a",
infinite = false,
minimum = 1500,
normal = 15000,
minable =
{
hardness = 1,
mining_time = 1,
results =
{
{
type = "fluid",
name = "sjtfluid",
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}},
stage_counts = {0},
stages =
{
sheet =
{
filename = "__base__/graphics/entity/crude-oil/crude-oil.png",
priority = "extra-high",
width = 75,
height = 61,
frame_count = 4,
variation_count = 1
}
},
map_color = {r=0.8, g=0.1, b=0.8},
map_grid = false
},
{
type = "fluid",
name = "sjtfluid",
default_temperature = 25,
heat_capacity = "1KJ",
base_color = {r=0, g=0, b=0},
flow_color = {r=0.5, g=0.5, b=0.5},
max_temperature = 100,
icon = "__base__/graphics/icons/fluid/crude-oil.png",
icon_size = 32,
pressure_to_speed_ratio = 0.4,
flow_to_energy_ratio = 0.59,
order = "a[fluid]-b[crude-oil]"
},
})
end