-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.lua
37 lines (32 loc) · 1020 Bytes
/
data.lua
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
-- require('prototypes.entity.projectiles');
-- require('prototypes.item')
-- require('prototypes.recipe.recipe')
-- require('prototypes.ammo-category')
require('prototypes.sounds')
require('prototypes.technology.technology')
local m = '__tony_hacks_pro_rails__'
local skatetrain = table.deepcopy(data.raw.locomotive.locomotive)
skatetrain.name = 'skatetrain'
skatetrain.order = "sk"
-- for _, l in pairs( skatetrain.pictures.layers ) do
-- if l.apply_runtime_tint == true then
-- for i = 1, 8 do
-- l.filenames[i] = m .. "/graphics/battle_loco/mask-" .. i .. ".png"
-- end
-- for i = 1, 16 do
-- l.hr_version.filenames[i] = m .. "/graphics/battle_loco/hr-mask-" .. i .. ".png"
-- end
-- break
-- end
-- end
-- local layer = {
-- direction_count = 1,
-- height = 58,
-- width = 46,
-- lines_per_file = 1,
-- scale = 1,
-- slice = 0,
-- filename = m .. '/graphics/character/' .. '1_1.png'
-- }
-- skatetrain.pictures.layers = { layer }
data:extend({ skatetrain })