@@ -20,27 +20,18 @@ local crossover_states = {
20
20
21
21
minetest .register_node (" mesecons_extrawires:crossover_off" , {
22
22
description = " Insulated Crossover" ,
23
- drawtype = " nodebox" ,
23
+ drawtype = " mesh" ,
24
+ mesh = " mesecons_extrawires_crossover.b3d" ,
24
25
tiles = {
25
- " jeija_insulated_wire_crossing_tb_off.png" ,
26
- " jeija_insulated_wire_crossing_tb_off.png" ,
26
+ " jeija_insulated_wire_ends_off.png" ,
27
+ " jeija_insulated_wire_sides_off.png" ,
28
+ " jeija_insulated_wire_sides_off.png" ,
27
29
" jeija_insulated_wire_ends_off.png"
28
30
},
29
31
paramtype = " light" ,
30
32
walkable = false ,
31
33
stack_max = 99 ,
32
34
selection_box = {type = " fixed" , fixed = {- 16 / 32 - 0.0001 , - 18 / 32 , - 16 / 32 - 0.001 , 16 / 32 + 0.001 , - 5 / 32 , 16 / 32 + 0.001 }},
33
- node_box = {
34
- type = " fixed" ,
35
- fixed = {
36
- { - 16 / 32 - 0.001 , - 17 / 32 , - 3 / 32 , 16 / 32 + 0.001 , - 13 / 32 , 3 / 32 },
37
- { - 3 / 32 , - 17 / 32 , - 16 / 32 - 0.001 , 3 / 32 , - 13 / 32 , - 6 / 32 },
38
- { - 3 / 32 , - 13 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , - 6 / 32 },
39
- { - 3 / 32 , - 9 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
40
- { - 3 / 32 , - 13 / 32 , 6 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
41
- { - 3 / 32 , - 17 / 32 , 6 / 32 , 3 / 32 , - 13 / 32 , 16 / 32 + 0.001 },
42
- },
43
- },
44
35
groups = {dig_immediate = 3 , mesecon = 3 },
45
36
mesecons = {
46
37
conductor = {
@@ -53,30 +44,18 @@ minetest.register_node("mesecons_extrawires:crossover_off", {
53
44
minetest .register_node (" mesecons_extrawires:crossover_01" , {
54
45
description = " You hacker you!" ,
55
46
drop = " mesecons_extrawires:crossover_off" ,
56
- drawtype = " nodebox" ,
47
+ drawtype = " mesh" ,
48
+ mesh = " mesecons_extrawires_crossover.b3d" ,
57
49
tiles = {
58
- " jeija_insulated_wire_crossing_tb_01.png" ,
59
- " jeija_insulated_wire_crossing_tb_01.png" ,
60
- " jeija_insulated_wire_ends_01x.png" ,
61
- " jeija_insulated_wire_ends_01x.png" ,
62
- " jeija_insulated_wire_ends_01z.png" ,
63
- " jeija_insulated_wire_ends_01z.png"
50
+ " jeija_insulated_wire_ends_on.png" ,
51
+ " jeija_insulated_wire_sides_on.png" ,
52
+ " jeija_insulated_wire_sides_off.png" ,
53
+ " jeija_insulated_wire_ends_off.png"
64
54
},
65
55
paramtype = " light" ,
66
56
walkable = false ,
67
57
stack_max = 99 ,
68
58
selection_box = {type = " fixed" , fixed = {- 16 / 32 - 0.0001 , - 18 / 32 , - 16 / 32 - 0.001 , 16 / 32 + 0.001 , - 5 / 32 , 16 / 32 + 0.001 }},
69
- node_box = {
70
- type = " fixed" ,
71
- fixed = {
72
- { - 16 / 32 - 0.001 , - 17 / 32 , - 3 / 32 , 16 / 32 + 0.001 , - 13 / 32 , 3 / 32 },
73
- { - 3 / 32 , - 17 / 32 , - 16 / 32 - 0.001 , 3 / 32 , - 13 / 32 , - 6 / 32 },
74
- { - 3 / 32 , - 13 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , - 6 / 32 },
75
- { - 3 / 32 , - 9 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
76
- { - 3 / 32 , - 13 / 32 , 6 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
77
- { - 3 / 32 , - 17 / 32 , 6 / 32 , 3 / 32 , - 13 / 32 , 16 / 32 + 0.001 },
78
- },
79
- },
80
59
groups = {dig_immediate = 3 , mesecon = 3 , not_in_creative_inventory = 1 },
81
60
mesecons = {
82
61
conductor = {
@@ -89,30 +68,18 @@ minetest.register_node("mesecons_extrawires:crossover_01", {
89
68
minetest .register_node (" mesecons_extrawires:crossover_10" , {
90
69
description = " You hacker you!" ,
91
70
drop = " mesecons_extrawires:crossover_off" ,
92
- drawtype = " nodebox" ,
71
+ drawtype = " mesh" ,
72
+ mesh = " mesecons_extrawires_crossover.b3d" ,
93
73
tiles = {
94
- " jeija_insulated_wire_crossing_tb_10.png" ,
95
- " jeija_insulated_wire_crossing_tb_10.png" ,
96
- " jeija_insulated_wire_ends_10x.png" ,
97
- " jeija_insulated_wire_ends_10x.png" ,
98
- " jeija_insulated_wire_ends_10z.png" ,
99
- " jeija_insulated_wire_ends_10z.png"
74
+ " jeija_insulated_wire_ends_off.png" ,
75
+ " jeija_insulated_wire_sides_off.png" ,
76
+ " jeija_insulated_wire_sides_on.png" ,
77
+ " jeija_insulated_wire_ends_on.png"
100
78
},
101
79
paramtype = " light" ,
102
80
walkable = false ,
103
81
stack_max = 99 ,
104
82
selection_box = {type = " fixed" , fixed = {- 16 / 32 - 0.0001 , - 18 / 32 , - 16 / 32 - 0.001 , 16 / 32 + 0.001 , - 5 / 32 , 16 / 32 + 0.001 }},
105
- node_box = {
106
- type = " fixed" ,
107
- fixed = {
108
- { - 16 / 32 - 0.001 , - 17 / 32 , - 3 / 32 , 16 / 32 + 0.001 , - 13 / 32 , 3 / 32 },
109
- { - 3 / 32 , - 17 / 32 , - 16 / 32 - 0.001 , 3 / 32 , - 13 / 32 , - 6 / 32 },
110
- { - 3 / 32 , - 13 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , - 6 / 32 },
111
- { - 3 / 32 , - 9 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
112
- { - 3 / 32 , - 13 / 32 , 6 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
113
- { - 3 / 32 , - 17 / 32 , 6 / 32 , 3 / 32 , - 13 / 32 , 16 / 32 + 0.001 },
114
- },
115
- },
116
83
groups = {dig_immediate = 3 , mesecon = 3 , not_in_creative_inventory = 1 },
117
84
mesecons = {
118
85
conductor = {
@@ -125,30 +92,18 @@ minetest.register_node("mesecons_extrawires:crossover_10", {
125
92
minetest .register_node (" mesecons_extrawires:crossover_on" , {
126
93
description = " You hacker you!" ,
127
94
drop = " mesecons_extrawires:crossover_off" ,
128
- drawtype = " nodebox" ,
95
+ drawtype = " mesh" ,
96
+ mesh = " mesecons_extrawires_crossover.b3d" ,
129
97
tiles = {
130
- " jeija_insulated_wire_crossing_tb_on.png" ,
131
- " jeija_insulated_wire_crossing_tb_on.png" ,
132
- " jeija_insulated_wire_ends_on.png" ,
133
- " jeija_insulated_wire_ends_on.png" ,
134
98
" jeija_insulated_wire_ends_on.png" ,
99
+ " jeija_insulated_wire_sides_on.png" ,
100
+ " jeija_insulated_wire_sides_on.png" ,
135
101
" jeija_insulated_wire_ends_on.png"
136
102
},
137
103
paramtype = " light" ,
138
104
walkable = false ,
139
105
stack_max = 99 ,
140
106
selection_box = {type = " fixed" , fixed = {- 16 / 32 - 0.0001 , - 18 / 32 , - 16 / 32 - 0.001 , 16 / 32 + 0.001 , - 5 / 32 , 16 / 32 + 0.001 }},
141
- node_box = {
142
- type = " fixed" ,
143
- fixed = {
144
- { - 16 / 32 - 0.001 , - 17 / 32 , - 3 / 32 , 16 / 32 + 0.001 , - 13 / 32 , 3 / 32 },
145
- { - 3 / 32 , - 17 / 32 , - 16 / 32 - 0.001 , 3 / 32 , - 13 / 32 , - 6 / 32 },
146
- { - 3 / 32 , - 13 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , - 6 / 32 },
147
- { - 3 / 32 , - 9 / 32 , - 9 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
148
- { - 3 / 32 , - 13 / 32 , 6 / 32 , 3 / 32 , - 6 / 32 , 9 / 32 },
149
- { - 3 / 32 , - 17 / 32 , 6 / 32 , 3 / 32 , - 13 / 32 , 16 / 32 + 0.001 },
150
- },
151
- },
152
107
groups = {dig_immediate = 3 , mesecon = 3 , not_in_creative_inventory = 1 },
153
108
mesecons = {
154
109
conductor = {
0 commit comments