textures shrinked
@ -16,6 +16,8 @@
|
||||
local S = function(pos) if pos then return minetest.pos_to_string(pos) end end
|
||||
local P = minetest.string_to_pos
|
||||
local M = minetest.get_meta
|
||||
-- Techage Related Data
|
||||
local TRD = function(pos) return (minetest.registered_nodes[minetest.get_node(pos).name] or {}).techage end
|
||||
|
||||
-- Load support for intllib.
|
||||
local MP = minetest.get_modpath("tubelib2")
|
||||
@ -103,9 +105,9 @@ end
|
||||
local function node_timer(pos, elapsed)
|
||||
local mem = tubelib2.get_mem(pos)
|
||||
if mem.running then
|
||||
local this = TP({x=pos.x, y=pos.y+2, z=pos.z})
|
||||
if this and this.trigger_boiler then
|
||||
this.trigger_boiler({x=pos.x, y=pos.y+2, z=pos.z})
|
||||
local trd = TRD({x=pos.x, y=pos.y+2, z=pos.z})
|
||||
if trd and trd.trigger_boiler then
|
||||
trd.trigger_boiler({x=pos.x, y=pos.y+2, z=pos.z})
|
||||
end
|
||||
mem.burn_cycles = (mem.burn_cycles or 0) - 1
|
||||
if mem.burn_cycles <= 0 then
|
||||
|
@ -193,23 +193,23 @@ minetest.register_node("techage:flywheel_on", {
|
||||
},
|
||||
"techage_filling_ta2.png^techage_appl_open.png^techage_frame_ta2.png",
|
||||
{
|
||||
image = "techage_filling4_ta2.png^techage_frame4_ta2.png^techage_flywheel4.png",
|
||||
image = "techage_filling8_ta2.png^techage_frame8_ta2.png^techage_flywheel8.png",
|
||||
backface_culling = false,
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 32,
|
||||
aspect_h = 32,
|
||||
length = 0.6,
|
||||
length = 1.2,
|
||||
},
|
||||
},
|
||||
{
|
||||
image = "techage_filling4_ta2.png^techage_frame4_ta2.png^techage_flywheel4.png^[transformFX]",
|
||||
image = "techage_filling8_ta2.png^techage_frame8_ta2.png^techage_flywheel8.png^[transformFX]",
|
||||
backface_culling = false,
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 32,
|
||||
aspect_h = 32,
|
||||
length = 0.6,
|
||||
length = 1.2,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 938 B After Width: | Height: | Size: 478 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 743 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 508 B |
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 254 B |
BIN
textures/techage_filling8_ta2.png
Normal file
After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 216 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 704 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 8.4 KiB |
BIN
textures/techage_flywheel8.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 469 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 428 B |
BIN
textures/techage_frame8_ta2.png
Normal file
After Width: | Height: | Size: 431 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 609 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 233 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 256 B |