-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsamp-tech.lua
More file actions
93 lines (93 loc) · 1.76 KB
/
samp-tech.lua
File metadata and controls
93 lines (93 loc) · 1.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# A sample of prototypes/technology/technology.lua to run tests on
data:extend(
{
{
type = "technology",
name = "steel-processing",
icon_size = 128,
icon = "__base__/graphics/technology/steel-processing.png",
effects =
{
{
type = "unlock-recipe",
recipe = "steel-plate"
},
{
type = "unlock-recipe",
recipe = "steel-chest"
},
{
type = "unlock-recipe",
recipe = "steel-axe"
}
},
unit =
{
count = 50,
ingredients = {{"science-pack-1", 1}},
time = 5
},
order = "c-a"
},
{
type = "technology",
name = "military",
icon_size = 128,
icon = "__base__/graphics/technology/military.png",
effects =
{
{
type = "unlock-recipe",
recipe = "submachine-gun"
},
{
type = "unlock-recipe",
recipe = "shotgun"
},
{
type = "unlock-recipe",
recipe = "shotgun-shell"
}
},
unit =
{
count = 10,
ingredients = {{"science-pack-1", 1}},
time = 15
},
order = "e-a-a"
},
{
type = "technology",
name = "military-4",
icon_size = 128,
icon = "__base__/graphics/technology/military.png",
effects =
{
{
type = "unlock-recipe",
recipe = "piercing-shotgun-shell"
},
{
type = "unlock-recipe",
recipe = "cluster-grenade"
}
},
prerequisites = {"military-3"},
unit =
{
count = 150,
ingredients =
{
{"science-pack-1", 1},
{"science-pack-2", 1},
{"science-pack-3", 1},
{"military-science-pack", 1},
{"high-tech-science-pack", 1}
},
time = 45
},
order = "e-a-e"
},
}
)