aboutsummaryrefslogtreecommitdiff
path: root/assets/blender
ModeNameSize
-rw-r--r--engine-with-animation.blend599504logplain
-rw-r--r--engine-with-animation_newtry.blend638904logplain
d---------gleis597logplain
d---------industrial254logplain
d---------ks2044logplain
-rw-r--r--locomotive.blend459600logplain
-rw-r--r--magnet_track.blend516836logplain
d---------mbb1932logplain
-rw-r--r--newlocomotive.blend603376logplain
-rw-r--r--newlocomotive_uvs.png175030logplain
-rw-r--r--newwagon.blend542188logplain
-rw-r--r--newwagon.png108762logplain
-rw-r--r--subway-train.blend518888logplain
-rw-r--r--subway-train.png96773logplain
-rw-r--r--subway-train.xcf92558logplain
-rw-r--r--subway-train_animate.blend568668logplain
-rw-r--r--subway-train_animate_mirrored.blend798328logplain
-rw-r--r--subway-train_animate_mirrored_solidify.blend879916logplain
-rw-r--r--subway-train_animate_mirrored_solidify_uv.blend836620logplain
-rw-r--r--subway-train_animate_mirrored_solidify_uv.png177111logplain
-rw-r--r--subway-train_animate_mirrored_solidify_uv.xcf369791logplain
-rw-r--r--trackplane.blend462200logplain
-rw-r--r--trackvertical1.blend453656logplain
-rw-r--r--trackvertical1.png59146logplain
-rw-r--r--trackvertical2.blend459216logplain
-rw-r--r--trackvertical2.png66755logplain
= b and -1 or 0, shunt = false, proceed_as_main = true, dst = false, info = {} } end local suppasp = { main = {0, -1}, dst = {false}, shunt = nil, proceed_as_main = true, info = { call_on = false, dead_end = false, w_speed = nil, } } for r,f in pairs({on={as="off", ls="green", als="red"}, off={as="on", ls="red", als="green"}}) do advtrains.trackplacer.register_tracktype("advtrains:retrosignal", "") advtrains.trackplacer.register_tracktype("advtrains:signal", "") for rotid, rotation in ipairs({"", "_30", "_45", "_60"}) do local crea=1 if rotid==1 and r=="off" then crea=0 end minetest.register_node("advtrains:retrosignal_"..r..rotation, { drawtype = "mesh", paramtype="light", paramtype2="facedir", walkable = false, selection_box = { type = "fixed", fixed = {-1/4, -1/2, -1/4, 1/4, 2, 1/4}, }, mesh = "advtrains_retrosignal_"..r..rotation..".b3d", tiles = {"advtrains_retrosignal.png"}, inventory_image="advtrains_retrosignal_inv.png", drop="advtrains:retrosignal_off", description=attrans("Lampless Signal (@1)", attrans(r..rotation)), sunlight_propagates=true, groups = { cracky=3, not_blocking_trains=1, not_in_creative_inventory=crea, save_in_at_nodedb=1, advtrains_signal = 2, }, mesecons = {effector = { rules=advtrains.meseconrules, ["action_"..f.as] = function (pos, node) advtrains.ndb.swap_node(pos, {name = "advtrains:retrosignal_"..f.as..rotation, param2 = node.param2}, true) if advtrains.interlocking then advtrains.interlocking.signal_on_aspect_changed(pos) end