-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdata-updates.lua
17 lines (14 loc) · 900 Bytes
/
data-updates.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- Copyright (c) 2024 Kirazy
-- Part of Artisanal Reskins: Library
--
-- See LICENSE.md in the project directory for license information.
-- Assign icons deferred to data-updates at the beginning of the stage.
reskins.internal.assign_icons_deferred_to_stage(reskins.lib.defines.stage.data_updates)
----------------------------------------------------------------------------------------------------
-- ENTITIES
----------------------------------------------------------------------------------------------------
require("prototypes.entity.base.nuclear-reactor")
-- Reskin the vanilla pipes
data.raw["pipe"]["pipe"].pictures = reskins.lib.sprites.pipes.get_pipe("iron")
data.raw["pipe-to-ground"]["pipe-to-ground"].pictures = reskins.lib.sprites.pipes.get_pipe_to_ground("iron")
data.raw["pipe-to-ground"]["pipe-to-ground"].fluid_box.pipe_covers = reskins.lib.sprites.pipes.get_pipe_covers("iron")