diff options
author | gpcf <gpcf@gpcf.eu> | 2023-05-14 15:46:51 +0200 |
---|---|---|
committer | gpcf <gpcf@gpcf.eu> | 2023-05-14 15:46:51 +0200 |
commit | 636bcacee9cf127f9bd59944b6364a5d2e6d19ab (patch) | |
tree | 1f71fdb8460a6f34ca544acdeaec9481c8598802 | |
parent | 5ca195f42598b137765c56bc270470d7240b7738 (diff) | |
download | departureboards-636bcacee9cf127f9bd59944b6364a5d2e6d19ab.tar.gz departureboards-636bcacee9cf127f9bd59944b6364a5d2e6d19ab.tar.bz2 departureboards-636bcacee9cf127f9bd59944b6364a5d2e6d19ab.zip |
rename textures, index palette and replace signs textures with
textures from default
-rw-r--r-- | init.lua | 8 | ||||
-rw-r--r-- | textures/animation_frames.png | bin | 1497 -> 0 bytes | |||
-rw-r--r-- | textures/departureboards_animation_frames.png | bin | 0 -> 851 bytes | |||
-rw-r--r-- | textures/departureboards_line_bg.png (renamed from textures/line_bg.png) | bin | 629 -> 629 bytes | |||
-rw-r--r-- | textures/departureboards_station_sign.png | bin | 0 -> 682 bytes | |||
-rw-r--r-- | textures/station_sign.png | bin | 740 -> 0 bytes |
6 files changed, 4 insertions, 4 deletions
@@ -41,7 +41,7 @@ local function render_depboard(pos, objref) delay = 1 -- add here splitflap sound end objref:set_properties({ is_visible=false }) - minetest.after(delay, function () objref:set_properties({ textures= {"[combine:256x256:0,0=station_sign.png\\^(line_bg.png\\^\\[colorize\\:"..line_color.."\\:150)\\^\\[resize\\:256x256:200,100="..escape_texture(line)..":10,100="..escape_texture(dest)..":200,127="..escape_texture(m)..":228,127="..escape_texture(s)..":10,127="..escape_texture(remark)}, + minetest.after(delay, function () objref:set_properties({ textures= {"[combine:256x256:0,0=departureboards_station_sign.png\\^(departureboards_line_bg.png\\^\\[colorize\\:"..line_color.."\\:150)\\^\\[resize\\:256x256:200,100="..escape_texture(line)..":10,100="..escape_texture(dest)..":200,127="..escape_texture(m)..":228,127="..escape_texture(s)..":10,127="..escape_texture(remark)}, visual_size = {x=3, y=3}, is_visible=true }) end) end @@ -68,9 +68,9 @@ minetest.register_node("departureboards:departureboard", { type = "fixed", fixed={-1.5,-1/2, 0.5, 1.5, 1/2, 0.5-0.1}}, visual_scale=3, - tiles = { "signs_road_sides.png", "signs_road_sides.png", - "signs_road_sides.png", "signs_road_sides.png", "signs_road_sides.png", - {name="animation_frames.png", animation={type="vertical_frames", aspect_w=96, aspect_h=96, length=1.0}}}, + tiles = { "default_steel_block.png", "default_steel_block.png", + "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", + {name="departureboards_animation_frames.png", animation={type="vertical_frames", aspect_w=96, aspect_h=96, length=1.0}}}, groups = {choppy=2, dig_immediate=2, not_blocking_trains=1, display_api=1}, sounds = default.node_sound_defaults(), display_entities = { diff --git a/textures/animation_frames.png b/textures/animation_frames.png Binary files differdeleted file mode 100644 index 2a2bffe..0000000 --- a/textures/animation_frames.png +++ /dev/null diff --git a/textures/departureboards_animation_frames.png b/textures/departureboards_animation_frames.png Binary files differnew file mode 100644 index 0000000..751dac4 --- /dev/null +++ b/textures/departureboards_animation_frames.png diff --git a/textures/line_bg.png b/textures/departureboards_line_bg.png Binary files differindex 9adc772..9adc772 100644 --- a/textures/line_bg.png +++ b/textures/departureboards_line_bg.png diff --git a/textures/departureboards_station_sign.png b/textures/departureboards_station_sign.png Binary files differnew file mode 100644 index 0000000..160871e --- /dev/null +++ b/textures/departureboards_station_sign.png diff --git a/textures/station_sign.png b/textures/station_sign.png Binary files differdeleted file mode 100644 index fede238..0000000 --- a/textures/station_sign.png +++ /dev/null |