new wagon in progress - missing loaded variants
This commit is contained in:
parent
4437ba5f43
commit
97212db34f
Binary file not shown.
Binary file not shown.
BIN
moretrains_gondola/blend/moretrains_wagon_gondola.blend
Normal file
BIN
moretrains_gondola/blend/moretrains_wagon_gondola.blend
Normal file
Binary file not shown.
BIN
moretrains_gondola/blend/moretrains_wagon_gondola.blend1
Normal file
BIN
moretrains_gondola/blend/moretrains_wagon_gondola.blend1
Normal file
Binary file not shown.
2
moretrains_gondola/depends.txt
Executable file
2
moretrains_gondola/depends.txt
Executable file
@ -0,0 +1,2 @@
|
||||
advtrains
|
||||
intllib?
|
34
moretrains_gondola/init.lua
Normal file
34
moretrains_gondola/init.lua
Normal file
@ -0,0 +1,34 @@
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end
|
||||
end
|
||||
|
||||
|
||||
advtrains.register_wagon("moretrains_wagon_gondola", {
|
||||
mesh="moretrains_wagon_gondola.obj",
|
||||
textures = {"moretrains_wagon_gondola.png"},
|
||||
seats = {},
|
||||
drives_on={default=true},
|
||||
max_speed=20,
|
||||
visual_size = {x=1, y=1},
|
||||
wagon_span=2.784,
|
||||
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
||||
drops={"default:steelblock"},
|
||||
has_inventory = true,
|
||||
get_inventory_formspec = function(self, pname, invname)
|
||||
return "size[8,11]"..
|
||||
"list["..invname..";box;0,0;8,3;]"..
|
||||
"list[current_player;main;0,5;8,4;]"..
|
||||
"listring[]"
|
||||
end,
|
||||
inventory_list_sizes = {
|
||||
box=8*3,
|
||||
},
|
||||
}, S("Gondola wagon (empty)"), "moretrains_wagon_gondola_inv.png")
|
||||
|
||||
|
||||
|
||||
|
||||
|
13
moretrains_gondola/models/moretrains_wagon_gondola.mtl
Normal file
13
moretrains_gondola/models/moretrains_wagon_gondola.mtl
Normal file
@ -0,0 +1,13 @@
|
||||
# Blender MTL File: 'moretrains_wagon_gondola.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl gondola_wagon
|
||||
Ns 0.000000
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.800000 0.800000 0.800000
|
||||
Ks 0.000000 0.000000 0.000000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 1
|
||||
map_Kd /home/linux/minetest/mods/moretrains/moretrains_gondola/textures/moretrains_wagon_gondola.png
|
3088
moretrains_gondola/models/moretrains_wagon_gondola.obj
Normal file
3088
moretrains_gondola/models/moretrains_wagon_gondola.obj
Normal file
File diff suppressed because it is too large
Load Diff
BIN
moretrains_gondola/textures/moretrains_wagon_gondola.png
Normal file
BIN
moretrains_gondola/textures/moretrains_wagon_gondola.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
BIN
moretrains_gondola/textures/moretrains_wagon_gondola.xcf
Normal file
BIN
moretrains_gondola/textures/moretrains_wagon_gondola.xcf
Normal file
Binary file not shown.
BIN
moretrains_gondola/textures/moretrains_wagon_gondola_inv.png
Normal file
BIN
moretrains_gondola/textures/moretrains_wagon_gondola_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Loading…
x
Reference in New Issue
Block a user