some random stuff
@ -1,4 +1,4 @@
|
|||||||
Minetest Game mod: boats
|
Minetestia: boats
|
||||||
========================
|
========================
|
||||||
See license.txt for license information.
|
See license.txt for license information.
|
||||||
|
|
||||||
@ -9,7 +9,5 @@ Various Minetest developers and contributors (MIT)
|
|||||||
|
|
||||||
Authors of media (textures and model)
|
Authors of media (textures and model)
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
Textures: Zeg9 (CC BY-SA 3.0)
|
Textures: tobyplowy(aka toby109tt)
|
||||||
Model: thetoon and Zeg9 (CC BY-SA 3.0),
|
Model: tobyplowy(aka toby109tt)
|
||||||
modified by PavelS(SokolovPavel) (CC BY-SA 3.0),
|
|
||||||
modified by sofar (CC BY-SA 3.0)
|
|
@ -38,8 +38,8 @@ local boat = {
|
|||||||
-- lowering it causes the boat to fall through the world if underwater
|
-- lowering it causes the boat to fall through the world if underwater
|
||||||
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5},
|
collisionbox = {-0.5, -0.35, -0.5, 0.5, 0.3, 0.5},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "boats_boat.obj",
|
mesh = "boat.obj",
|
||||||
textures = {"default_wood.png"},
|
textures = {"boat.png"},
|
||||||
|
|
||||||
driver = nil,
|
driver = nil,
|
||||||
v = 0,
|
v = 0,
|
||||||
@ -218,8 +218,8 @@ minetest.register_entity("boats:boat", boat)
|
|||||||
|
|
||||||
minetest.register_craftitem("boats:boat", {
|
minetest.register_craftitem("boats:boat", {
|
||||||
description = "Boat",
|
description = "Boat",
|
||||||
inventory_image = "boats_inventory.png",
|
inventory_image = "boat_item.png",
|
||||||
wield_image = "boats_wield.png",
|
wield_image = "boat_item.png",
|
||||||
wield_scale = {x = 2, y = 2, z = 1},
|
wield_scale = {x = 2, y = 2, z = 1},
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = {flammable = 2},
|
groups = {flammable = 2},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
License of source code
|
License of source code
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
@ -28,11 +28,7 @@ https://opensource.org/licenses/MIT
|
|||||||
Licenses of media (textures and model)
|
Licenses of media (textures and model)
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
tobyplowy(aka toby109tt)
|
||||||
Copyright (C) 2012-2016 Zeg9
|
|
||||||
Copyright (C) 2012-2016 thetoon
|
|
||||||
Copyright (C) 2012-2016 PavelS(SokolovPavel)
|
|
||||||
Copyright (C) 2016 sofar (sofar@foo-projects.org)
|
|
||||||
|
|
||||||
You are free to:
|
You are free to:
|
||||||
Share — copy and redistribute the material in any medium or format.
|
Share — copy and redistribute the material in any medium or format.
|
||||||
|
72
mods/boats/models/boat.obj
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# Blender v2.78 (sub 0) OBJ File: ''
|
||||||
|
# www.blender.org
|
||||||
|
mtllib boat.mtl
|
||||||
|
o Cube_Cube.001
|
||||||
|
v 4.162934 5.033307 -5.943008
|
||||||
|
v 4.162934 5.033303 5.943011
|
||||||
|
v -4.162934 5.033303 5.943011
|
||||||
|
v -4.162934 5.033307 -5.943008
|
||||||
|
v -4.162934 0.161425 -5.943009
|
||||||
|
v -4.162934 0.161422 5.943009
|
||||||
|
v 4.162934 0.161422 5.943009
|
||||||
|
v 4.162934 0.161425 -5.943009
|
||||||
|
v -5.819413 -1.046157 7.637051
|
||||||
|
v -5.819413 5.033302 7.637053
|
||||||
|
v -5.819413 5.033308 -7.637049
|
||||||
|
v -5.819413 -1.046152 -7.637051
|
||||||
|
v 5.819413 5.033308 -7.637049
|
||||||
|
v 5.819413 -1.046152 -7.637051
|
||||||
|
v 5.819413 5.033302 7.637053
|
||||||
|
v 5.819413 -1.046157 7.637051
|
||||||
|
vt 0.2188 0.3750
|
||||||
|
vt 0.2188 0.5938
|
||||||
|
vt 0.3750 0.5938
|
||||||
|
vt 0.3750 0.3750
|
||||||
|
vt 0.3750 0.3750
|
||||||
|
vt 0.3750 0.5938
|
||||||
|
vt 0.5312 0.5938
|
||||||
|
vt 0.5312 0.3750
|
||||||
|
vt 0.7500 0.2656
|
||||||
|
vt 0.5938 0.2656
|
||||||
|
vt 0.5938 0.3750
|
||||||
|
vt 0.7500 0.3750
|
||||||
|
vt 0.2188 0.2656
|
||||||
|
vt 0.0000 0.2656
|
||||||
|
vt 0.0000 0.3750
|
||||||
|
vt 0.3750 0.2656
|
||||||
|
vt 0.7812 0.5938
|
||||||
|
vt 0.7812 0.7188
|
||||||
|
vt 0.5000 0.7188
|
||||||
|
vt 0.5000 0.5938
|
||||||
|
vt 0.2812 0.7188
|
||||||
|
vt 0.2812 0.5938
|
||||||
|
vt -0.0000 0.7188
|
||||||
|
vt 0.0000 0.5938
|
||||||
|
vt 1.0000 0.5938
|
||||||
|
vt 1.0000 0.7188
|
||||||
|
vt 0.5000 0.7188
|
||||||
|
vt 0.7188 0.7188
|
||||||
|
vt 0.7188 1.0000
|
||||||
|
vt 0.5000 1.0000
|
||||||
|
vt 0.5000 1.0000
|
||||||
|
vt 0.2812 1.0000
|
||||||
|
vn 0.0000 -1.0000 -0.0000
|
||||||
|
vn 0.0000 1.0000 0.0000
|
||||||
|
vn 0.0000 0.0000 -1.0000
|
||||||
|
vn -1.0000 0.0000 0.0000
|
||||||
|
vn 0.0000 -0.0000 1.0000
|
||||||
|
vn 1.0000 0.0000 0.0000
|
||||||
|
usemtl None
|
||||||
|
s 1
|
||||||
|
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||||
|
f 5/5/2 6/6/2 7/7/2 8/8/2
|
||||||
|
f 7/9/3 6/10/3 3/11/3 2/12/3
|
||||||
|
f 8/13/4 7/14/4 2/15/4 1/1/4
|
||||||
|
f 5/16/5 8/13/5 1/1/5 4/4/5
|
||||||
|
f 6/10/6 5/16/6 4/4/6 3/11/6
|
||||||
|
f 9/17/4 10/18/4 11/19/4 12/20/4
|
||||||
|
f 12/20/3 11/19/3 13/21/3 14/22/3
|
||||||
|
f 14/22/6 13/21/6 15/23/6 16/24/6
|
||||||
|
f 16/25/5 15/26/5 10/18/5 9/17/5
|
||||||
|
f 12/27/1 14/28/1 16/29/1 9/30/1
|
||||||
|
f 13/21/2 11/19/2 10/31/2 15/32/2
|
@ -1,358 +0,0 @@
|
|||||||
# Blender v2.76 (sub 11) OBJ File: 'boat.blend'
|
|
||||||
# www.blender.org
|
|
||||||
mtllib boat.mtl
|
|
||||||
o boats_boat
|
|
||||||
v -6.786140 -3.033999 -9.415440
|
|
||||||
v -6.786140 -1.967150 -9.415440
|
|
||||||
v -6.786140 -1.967150 8.793510
|
|
||||||
v -6.786140 -3.033999 8.793510
|
|
||||||
v 5.732520 -1.967150 -9.415440
|
|
||||||
v 5.732520 -3.033999 -9.415440
|
|
||||||
v 5.732520 -3.033999 8.793510
|
|
||||||
v 5.732520 -1.967150 8.793510
|
|
||||||
v -2.233900 -3.033999 -9.415440
|
|
||||||
v -2.233900 -1.967150 -9.415440
|
|
||||||
v -2.233900 -1.967150 8.793510
|
|
||||||
v -2.233900 -3.033999 8.793510
|
|
||||||
v 2.318340 -3.033999 -9.415440
|
|
||||||
v 2.318340 -1.967150 -9.415440
|
|
||||||
v 2.318340 -1.967150 8.793510
|
|
||||||
v 2.318340 -3.033999 8.793510
|
|
||||||
v -3.371960 -3.033999 8.793510
|
|
||||||
v -3.371960 -1.967150 8.793510
|
|
||||||
v -3.371960 -1.967150 -9.415440
|
|
||||||
v -3.371960 -3.033999 -9.415440
|
|
||||||
v 2.318340 0.276645 8.793510
|
|
||||||
v 1.180280 -1.967150 8.793510
|
|
||||||
v 5.732520 0.276645 8.793510
|
|
||||||
v 5.732520 1.039180 8.793510
|
|
||||||
v 6.870580 0.276645 8.793510
|
|
||||||
v 6.870580 -1.967150 8.793510
|
|
||||||
v 2.318340 1.039180 8.793510
|
|
||||||
v 1.180280 0.276645 8.793510
|
|
||||||
v 1.180280 1.039180 8.793510
|
|
||||||
v 1.180280 -3.033999 8.793510
|
|
||||||
v -2.233900 0.276645 8.793510
|
|
||||||
v -3.371960 0.276645 8.793510
|
|
||||||
v -2.233900 1.039180 8.793510
|
|
||||||
v -3.371960 1.039180 8.793510
|
|
||||||
v -6.786140 0.276645 8.793510
|
|
||||||
v -7.786200 0.276645 8.793510
|
|
||||||
v -7.786200 -1.967150 8.793510
|
|
||||||
v -6.786140 1.039180 8.793510
|
|
||||||
v 1.180280 -1.967150 -9.415440
|
|
||||||
v 1.180280 -3.033999 -9.415440
|
|
||||||
v 2.318340 0.276645 -9.415440
|
|
||||||
v 1.180280 0.276645 -9.415440
|
|
||||||
v 2.318340 1.039180 -9.415440
|
|
||||||
v 5.732520 0.276645 -9.415440
|
|
||||||
v 6.870580 -1.967150 -9.415440
|
|
||||||
v 5.732520 1.039180 -9.415440
|
|
||||||
v 6.870580 0.276645 -9.415440
|
|
||||||
v 0.042220 1.039180 -9.415440
|
|
||||||
v 1.180280 1.039180 -9.415440
|
|
||||||
v 0.042220 -1.967150 -9.415440
|
|
||||||
v -1.095840 -1.967150 -9.415440
|
|
||||||
v -2.233900 0.276645 -9.415440
|
|
||||||
v -3.371960 0.276645 -9.415440
|
|
||||||
v -2.233900 1.039180 -9.415440
|
|
||||||
v -1.095840 1.039180 -9.415440
|
|
||||||
v -3.371960 1.039180 -9.415440
|
|
||||||
v -6.786140 0.276645 -9.415440
|
|
||||||
v -6.786140 1.039180 -9.415440
|
|
||||||
v -7.786200 -1.967150 -9.415440
|
|
||||||
v -7.786200 0.276645 -9.415440
|
|
||||||
v -1.095840 0.156645 -12.044100
|
|
||||||
v -1.095840 -4.601110 -9.415440
|
|
||||||
v -1.095840 1.039181 -10.802900
|
|
||||||
v -1.095840 2.868579 -10.802900
|
|
||||||
v -1.095840 2.868580 -7.883420
|
|
||||||
v -1.095840 3.746069 -12.034100
|
|
||||||
v -1.095840 3.746070 -7.883420
|
|
||||||
v -1.095840 0.156645 -14.294900
|
|
||||||
v -1.095840 -4.601110 -14.284900
|
|
||||||
v 0.042220 -4.601110 -14.284900
|
|
||||||
v 0.042220 -4.601110 -9.415440
|
|
||||||
v 0.042220 1.039181 -10.802900
|
|
||||||
v 0.042220 0.156645 -12.044100
|
|
||||||
v 0.042220 2.868579 -10.802900
|
|
||||||
v 0.042220 0.156645 -14.294900
|
|
||||||
v 0.042220 3.746069 -12.034100
|
|
||||||
v 0.042220 3.746070 -7.883420
|
|
||||||
v 0.042220 2.868580 -7.883420
|
|
||||||
v -1.096322 -3.033999 -9.415440
|
|
||||||
v 0.044046 -3.035397 -9.415440
|
|
||||||
vt 1.000000 0.187500
|
|
||||||
vt -1.000000 0.312500
|
|
||||||
vt 1.000000 0.312500
|
|
||||||
vt 0.687500 1.000000
|
|
||||||
vt 0.500000 0.875000
|
|
||||||
vt 0.500000 0.625000
|
|
||||||
vt -1.000000 0.062500
|
|
||||||
vt 1.000000 0.062500
|
|
||||||
vt 1.000000 -0.000000
|
|
||||||
vt -1.000000 0.125000
|
|
||||||
vt 1.000000 0.125000
|
|
||||||
vt 0.437500 0.125000
|
|
||||||
vt 0.312500 0.500000
|
|
||||||
vt 0.312500 0.125000
|
|
||||||
vt 1.000000 0.625000
|
|
||||||
vt -1.000000 0.500000
|
|
||||||
vt 1.000000 0.500000
|
|
||||||
vt 0.187500 0.687500
|
|
||||||
vt -0.187500 0.687500
|
|
||||||
vt -0.187500 0.312500
|
|
||||||
vt 1.000000 0.812500
|
|
||||||
vt -1.000000 0.937500
|
|
||||||
vt -1.000000 0.812500
|
|
||||||
vt 0.812500 0.687500
|
|
||||||
vt 1.187500 0.687500
|
|
||||||
vt 0.812500 0.312500
|
|
||||||
vt 1.000000 0.562500
|
|
||||||
vt 0.312500 0.437500
|
|
||||||
vt 1.000000 0.437500
|
|
||||||
vt 1.000000 0.750000
|
|
||||||
vt -1.000000 0.875000
|
|
||||||
vt -1.000000 0.750000
|
|
||||||
vt -1.000000 1.000000
|
|
||||||
vt 1.000000 1.000000
|
|
||||||
vt 0.437500 0.625000
|
|
||||||
vt 0.562500 0.437500
|
|
||||||
vt 0.562500 0.625000
|
|
||||||
vt -1.000000 0.437500
|
|
||||||
vt -1.000000 0.000000
|
|
||||||
vt 0.500000 0.062500
|
|
||||||
vt 0.375000 0.750000
|
|
||||||
vt 0.500000 0.750000
|
|
||||||
vt -1.000000 0.250000
|
|
||||||
vt -1.000000 0.687500
|
|
||||||
vt 1.000000 0.687500
|
|
||||||
vt 0.625000 0.375000
|
|
||||||
vt 1.000000 0.375000
|
|
||||||
vt 1.000000 0.250000
|
|
||||||
vt 1.000000 0.937500
|
|
||||||
vt 0.437500 0.812500
|
|
||||||
vt 0.312500 0.312500
|
|
||||||
vt 0.312500 0.812500
|
|
||||||
vt 0.437500 0.312500
|
|
||||||
vt 0.437500 0.437500
|
|
||||||
vt 0.687500 0.812500
|
|
||||||
vt 0.000000 0.687500
|
|
||||||
vt 0.000000 0.812500
|
|
||||||
vt -1.000000 0.562500
|
|
||||||
vt 0.875000 0.812500
|
|
||||||
vt 0.875000 0.687500
|
|
||||||
vt 0.250000 0.312500
|
|
||||||
vt 0.562500 0.187500
|
|
||||||
vt 0.250000 0.187500
|
|
||||||
vt -1.000000 0.187500
|
|
||||||
vt 0.312500 0.625000
|
|
||||||
vt 0.312500 0.187500
|
|
||||||
vt 0.312500 -0.187500
|
|
||||||
vt 1.000000 -0.187500
|
|
||||||
vt 0.687500 0.500000
|
|
||||||
vt -0.000000 1.000000
|
|
||||||
vt 0.000000 0.875000
|
|
||||||
vt 0.437500 0.500000
|
|
||||||
vt -1.000000 0.625000
|
|
||||||
vt 0.812500 0.187500
|
|
||||||
vt 1.187500 0.187500
|
|
||||||
vt 1.187500 0.312500
|
|
||||||
vt 1.312500 0.312500
|
|
||||||
vt 1.312500 0.687500
|
|
||||||
vt 0.687500 0.187500
|
|
||||||
vt 0.687500 0.312500
|
|
||||||
vt 1.187500 0.812500
|
|
||||||
vt 0.812500 0.812500
|
|
||||||
vt 0.187500 0.312500
|
|
||||||
vt 0.312500 0.687500
|
|
||||||
vt 0.687500 0.687500
|
|
||||||
vt -0.187500 0.187500
|
|
||||||
vt 0.187500 0.187500
|
|
||||||
vt -0.312500 0.687500
|
|
||||||
vt -0.312500 0.312500
|
|
||||||
vt 0.187500 0.812500
|
|
||||||
vt -0.187500 0.812500
|
|
||||||
vt 0.437500 0.687500
|
|
||||||
vt 0.437500 0.187500
|
|
||||||
vt 0.562500 0.812500
|
|
||||||
vt 0.562500 0.687500
|
|
||||||
vt 0.312500 0.562500
|
|
||||||
vt 1.000000 0.875000
|
|
||||||
vt 0.375000 0.062500
|
|
||||||
vt -1.000000 0.375000
|
|
||||||
vt 0.625000 0.500000
|
|
||||||
vt 0.875000 0.562500
|
|
||||||
vt 0.937500 0.812500
|
|
||||||
vt 0.937500 0.687500
|
|
||||||
vt 0.875000 0.937500
|
|
||||||
vt 0.562500 0.312500
|
|
||||||
vn -1.000000 0.000000 0.000000
|
|
||||||
vn 1.000000 0.000000 0.000000
|
|
||||||
vn 0.000000 0.000000 1.000000
|
|
||||||
vn 0.000000 0.000000 -1.000000
|
|
||||||
vn 0.000000 -1.000000 0.000000
|
|
||||||
vn 0.000000 1.000000 0.000000
|
|
||||||
vn 0.000000 -0.002100 -1.000000
|
|
||||||
vn 0.001200 -1.000000 0.000000
|
|
||||||
vn 0.000000 0.002800 -1.000000
|
|
||||||
vn -0.001200 -1.000000 0.000200
|
|
||||||
g boats_boat_boats_boat_None
|
|
||||||
usemtl None
|
|
||||||
s off
|
|
||||||
f 41/1/1 27/2/1 43/3/1
|
|
||||||
f 76/4/2 74/5/2 72/6/2
|
|
||||||
f 8/7/2 6/1/2 5/8/2
|
|
||||||
f 15/9/1 13/10/1 16/11/1
|
|
||||||
f 51/12/3 71/13/3 50/14/3
|
|
||||||
f 56/15/2 32/16/2 53/17/2
|
|
||||||
f 15/18/3 8/19/3 23/20/3
|
|
||||||
f 22/21/2 40/22/2 39/23/2
|
|
||||||
f 19/24/4 2/25/4 53/26/4
|
|
||||||
f 70/27/5 62/28/5 69/29/5
|
|
||||||
f 11/30/5 19/31/5 10/32/5
|
|
||||||
f 4/15/5 20/33/5 17/34/5
|
|
||||||
f 72/35/3 64/36/3 63/37/3
|
|
||||||
f 13/8/5 7/38/5 16/7/5
|
|
||||||
f 23/39/6 47/11/6 44/9/6
|
|
||||||
f 68/40/7 70/41/7 69/42/7
|
|
||||||
f 80/43/8 40/10/8 30/11/8
|
|
||||||
f 3/15/1 1/32/1 4/30/1
|
|
||||||
f 20/44/2 18/27/2 17/45/2
|
|
||||||
f 74/17/5 65/46/5 64/47/5
|
|
||||||
f 31/43/1 54/47/1 52/48/1
|
|
||||||
f 22/47/5 14/43/5 15/48/5
|
|
||||||
f 46/1/2 23/7/2 44/8/2
|
|
||||||
f 57/21/1 38/22/1 58/49/1
|
|
||||||
f 61/50/9 76/51/9 73/52/9
|
|
||||||
f 37/45/5 2/23/5 3/21/5
|
|
||||||
f 78/28/3 67/53/3 65/54/3
|
|
||||||
f 64/5/1 66/4/1 63/6/1
|
|
||||||
f 76/55/6 67/56/6 77/57/6
|
|
||||||
f 47/17/2 26/10/2 45/11/2
|
|
||||||
f 5/16/5 26/47/5 8/17/5
|
|
||||||
f 33/58/6 48/59/6 55/60/6
|
|
||||||
f 29/38/2 42/3/2 49/29/2
|
|
||||||
f 32/44/6 52/21/6 53/45/6
|
|
||||||
f 58/15/6 34/33/6 56/34/6
|
|
||||||
f 27/7/6 46/29/6 43/8/6
|
|
||||||
f 73/61/6 68/62/6 61/63/6
|
|
||||||
f 21/58/6 42/29/6 28/38/6
|
|
||||||
f 11/29/1 9/58/1 12/27/1
|
|
||||||
f 59/45/1 36/2/1 60/3/1
|
|
||||||
f 60/9/6 35/10/6 57/11/6
|
|
||||||
f 41/1/1 21/64/1 27/2/1
|
|
||||||
f 72/6/2 48/65/2 50/66/2
|
|
||||||
f 50/66/2 71/67/2 70/68/2
|
|
||||||
f 70/68/2 75/17/2 73/69/2
|
|
||||||
f 76/4/2 77/70/2 74/5/2
|
|
||||||
f 77/70/2 78/71/2 74/5/2
|
|
||||||
f 50/66/2 70/68/2 73/69/2
|
|
||||||
f 73/69/2 76/4/2 72/6/2
|
|
||||||
f 72/6/2 50/66/2 73/69/2
|
|
||||||
f 8/7/2 7/64/2 6/1/2
|
|
||||||
f 15/9/1 14/39/1 13/10/1
|
|
||||||
f 51/12/3 62/72/3 71/13/3
|
|
||||||
f 56/15/2 34/73/2 32/16/2
|
|
||||||
f 32/26/3 34/74/3 38/75/3
|
|
||||||
f 35/76/3 36/77/3 37/78/3
|
|
||||||
f 32/26/3 38/75/3 35/76/3
|
|
||||||
f 29/66/3 33/79/3 31/80/3
|
|
||||||
f 32/26/3 35/76/3 3/25/3
|
|
||||||
f 28/51/3 29/66/3 31/80/3
|
|
||||||
f 31/80/3 32/26/3 18/24/3
|
|
||||||
f 3/25/3 4/81/3 17/82/3
|
|
||||||
f 35/76/3 37/78/3 3/25/3
|
|
||||||
f 21/83/3 28/51/3 22/84/3
|
|
||||||
f 3/25/3 17/82/3 18/24/3
|
|
||||||
f 11/85/3 12/55/3 30/52/3
|
|
||||||
f 32/26/3 3/25/3 18/24/3
|
|
||||||
f 11/85/3 30/52/3 22/84/3
|
|
||||||
f 31/80/3 18/24/3 11/85/3
|
|
||||||
f 24/86/3 27/87/3 21/83/3
|
|
||||||
f 28/51/3 31/80/3 11/85/3
|
|
||||||
f 11/85/3 22/84/3 28/51/3
|
|
||||||
f 24/86/3 21/83/3 23/20/3
|
|
||||||
f 26/88/3 25/89/3 23/20/3
|
|
||||||
f 23/20/3 21/83/3 15/18/3
|
|
||||||
f 15/18/3 16/90/3 7/91/3
|
|
||||||
f 21/83/3 22/84/3 15/18/3
|
|
||||||
f 8/19/3 26/88/3 23/20/3
|
|
||||||
f 15/18/3 7/91/3 8/19/3
|
|
||||||
f 22/21/2 30/49/2 40/22/2
|
|
||||||
f 47/89/4 45/88/4 5/19/4
|
|
||||||
f 5/19/4 6/91/4 13/90/4
|
|
||||||
f 5/19/4 13/90/4 14/18/4
|
|
||||||
f 44/20/4 47/89/4 5/19/4
|
|
||||||
f 43/87/4 46/86/4 44/20/4
|
|
||||||
f 41/83/4 43/87/4 44/20/4
|
|
||||||
f 44/20/4 5/19/4 14/18/4
|
|
||||||
f 39/84/4 40/52/4 80/50/4
|
|
||||||
f 44/20/4 14/18/4 41/83/4
|
|
||||||
f 42/51/4 41/83/4 39/84/4
|
|
||||||
f 39/84/4 80/50/4 50/92/4
|
|
||||||
f 41/83/4 14/18/4 39/84/4
|
|
||||||
f 48/93/4 49/66/4 42/51/4
|
|
||||||
f 50/92/4 48/93/4 42/51/4
|
|
||||||
f 80/50/4 79/94/4 50/92/4
|
|
||||||
f 50/92/4 42/51/4 39/84/4
|
|
||||||
f 54/79/4 55/62/4 52/80/4
|
|
||||||
f 50/92/4 79/94/4 51/95/4
|
|
||||||
f 52/80/4 55/62/4 51/95/4
|
|
||||||
f 51/95/4 79/94/4 10/85/4
|
|
||||||
f 79/94/4 9/55/4 10/85/4
|
|
||||||
f 53/26/4 52/80/4 10/85/4
|
|
||||||
f 58/75/4 56/74/4 53/26/4
|
|
||||||
f 59/78/4 60/77/4 57/76/4
|
|
||||||
f 57/76/4 58/75/4 53/26/4
|
|
||||||
f 52/80/4 51/95/4 10/85/4
|
|
||||||
f 19/24/4 20/82/4 1/81/4
|
|
||||||
f 53/26/4 10/85/4 19/24/4
|
|
||||||
f 59/78/4 57/76/4 2/25/4
|
|
||||||
f 19/24/4 1/81/4 2/25/4
|
|
||||||
f 2/25/4 57/76/4 53/26/4
|
|
||||||
f 70/27/5 71/96/5 62/28/5
|
|
||||||
f 11/30/5 18/97/5 19/31/5
|
|
||||||
f 4/15/5 1/73/5 20/33/5
|
|
||||||
f 72/35/3 74/54/3 64/36/3
|
|
||||||
f 13/8/5 6/29/5 7/38/5
|
|
||||||
f 23/39/6 25/10/6 47/11/6
|
|
||||||
f 68/40/7 75/98/7 70/41/7
|
|
||||||
f 30/11/5 12/17/5 79/99/5
|
|
||||||
f 79/99/10 80/43/10 30/11/10
|
|
||||||
f 12/17/5 9/16/5 79/99/5
|
|
||||||
f 3/15/1 2/73/1 1/32/1
|
|
||||||
f 20/44/2 19/58/2 18/27/2
|
|
||||||
f 74/17/5 78/100/5 65/46/5
|
|
||||||
f 31/43/1 33/99/1 54/47/1
|
|
||||||
f 22/47/5 39/99/5 14/43/5
|
|
||||||
f 46/1/2 24/64/2 23/7/2
|
|
||||||
f 57/21/1 35/23/1 38/22/1
|
|
||||||
f 61/50/9 66/53/9 76/51/9
|
|
||||||
f 37/45/5 59/44/5 2/23/5
|
|
||||||
f 78/28/3 77/51/3 67/53/3
|
|
||||||
f 62/67/1 51/66/1 69/68/1
|
|
||||||
f 51/66/1 55/65/1 63/6/1
|
|
||||||
f 68/17/1 69/68/1 61/69/1
|
|
||||||
f 61/69/1 69/68/1 51/66/1
|
|
||||||
f 61/69/1 51/66/1 63/6/1
|
|
||||||
f 65/71/1 67/70/1 64/5/1
|
|
||||||
f 61/69/1 63/6/1 66/4/1
|
|
||||||
f 64/5/1 67/70/1 66/4/1
|
|
||||||
f 76/55/6 66/85/6 67/56/6
|
|
||||||
f 47/17/2 25/16/2 26/10/2
|
|
||||||
f 5/16/5 45/99/5 26/47/5
|
|
||||||
f 55/60/6 54/101/6 33/58/6
|
|
||||||
f 33/58/6 29/22/6 48/59/6
|
|
||||||
f 48/59/6 72/102/6 63/103/6
|
|
||||||
f 29/22/6 49/104/6 48/59/6
|
|
||||||
f 48/59/6 63/103/6 55/60/6
|
|
||||||
f 29/38/2 28/2/2 42/3/2
|
|
||||||
f 32/44/6 31/23/6 52/21/6
|
|
||||||
f 58/15/6 38/73/6 34/33/6
|
|
||||||
f 27/7/6 24/38/6 46/29/6
|
|
||||||
f 73/61/6 75/105/6 68/62/6
|
|
||||||
f 21/58/6 41/27/6 42/29/6
|
|
||||||
f 11/29/1 10/38/1 9/58/1
|
|
||||||
f 59/45/1 37/44/1 36/2/1
|
|
||||||
f 60/9/6 36/39/6 35/10/6
|
|
BIN
mods/boats/textures/boat.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
mods/boats/textures/boat_item.png
Normal file
After Width: | Height: | Size: 758 B |
Before Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 546 B |
@ -1,17 +1,15 @@
|
|||||||
Carts (formerly boost_cart)
|
Carts (formerly boost_cart)
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
Carts, based almost entirely on the mod boost_cart [1], which
|
Cleaned up for merge based almost entirely on SmallJoker's boost_cart
|
||||||
itself is based on (and fully compatible with) the carts mod [2].
|
mod (github.com/smalljoker/boost_cart).
|
||||||
|
|
||||||
The model was originally designed by stujones11 [3] (CC-0).
|
That in turn was based on (and fully compatible with) the mod "carts"
|
||||||
|
by PilzAdam
|
||||||
|
|
||||||
Cart textures are based on original work from PixelBOX (WTFPL).
|
The model was redone, but based on github.com/stujones11/railcart, CC-0
|
||||||
|
|
||||||
|
Cart Textures are based on original work from PixelBOX (WTFPL).
|
||||||
[1] https://github.com/SmallJoker/boost_cart/
|
|
||||||
[2] https://github.com/PilzAdam/carts/
|
|
||||||
[3] https://github.com/stujones11/railcart/
|
|
||||||
|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
@ -359,8 +359,8 @@ minetest.register_entity("carts:cart", cart_entity)
|
|||||||
|
|
||||||
minetest.register_craftitem("carts:cart", {
|
minetest.register_craftitem("carts:cart", {
|
||||||
description = "Cart (Sneak+Click to pick up)",
|
description = "Cart (Sneak+Click to pick up)",
|
||||||
inventory_image = minetest.inventorycube("carts_cart_top.png", "carts_cart_side.png", "carts_cart_side.png"),
|
inventory_image = "carts_cart_item.png",
|
||||||
wield_image = "carts_cart_side.png",
|
wield_image = "carts_cart_item.png",
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if not pointed_thing.type == "node" then
|
if not pointed_thing.type == "node" then
|
||||||
return
|
return
|
||||||
|
@ -20,6 +20,7 @@ function carts:manage_attachment(player, obj)
|
|||||||
if status then
|
if status then
|
||||||
player:set_attach(obj, "", {x=0, y=6, z=0}, {x=0, y=0, z=0})
|
player:set_attach(obj, "", {x=0, y=6, z=0}, {x=0, y=0, z=0})
|
||||||
player:set_eye_offset({x=0, y=-4, z=0},{x=0, y=-4, z=0})
|
player:set_eye_offset({x=0, y=-4, z=0},{x=0, y=-4, z=0})
|
||||||
|
player:set_animation({x=81, y=160}, 30, 0)
|
||||||
else
|
else
|
||||||
player:set_detach()
|
player:set_detach()
|
||||||
player:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0})
|
player:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0})
|
||||||
|
@ -42,13 +42,15 @@ Originally from PixelBOX (Gambit):
|
|||||||
carts_cart_side.png
|
carts_cart_side.png
|
||||||
carts_cart_top.png
|
carts_cart_top.png
|
||||||
carts_cart_front.png*
|
carts_cart_front.png*
|
||||||
carts_cart.png*
|
carts_cart2.png*
|
||||||
|
|
||||||
sofar + stujones11:
|
sofar + stujones11:
|
||||||
carts_cart.b3d and carts_cart.blend
|
carts_cart2.b3d and carts_cart2.blend
|
||||||
|
|
||||||
hexafraction, modified by sofar
|
hexafraction, modified by sofar
|
||||||
carts_rail_*.png
|
carts_rail_*.png
|
||||||
|
|
||||||
http://www.freesound.org/people/YleArkisto/sounds/253159/ - YleArkisto - CC-BY-3.0
|
http://www.freesound.org/people/YleArkisto/sounds/253159/ - YleArkisto - CC-BY-3.0
|
||||||
carts_cart_moving.*.ogg
|
carts_cart_moving.*.ogg
|
||||||
|
|
||||||
|
carts_cart.b3d, carts_cart.blend, carts_cart_item.png, carts_cart.png(modified from Gambits texture above) - CC BY-SA 3.0 by toby109tt(aka tobyplowy)
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
BIN
mods/carts/textures/carts_cart_item.png
Normal file
After Width: | Height: | Size: 840 B |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB |
@ -1,3 +1,17 @@
|
|||||||
tobyplowy(aka toby109tt) for textures and copy pacte code original code made by minetest core devs
|
all textures and models are made by tobyplowy(aka toby109tt) and code is by D00med and tobyplowy(aka toby109tt) please give credit if used!
|
||||||
|
|
||||||
D00med for being awesome!!!!!!
|
textures made by tobyplowy(aka toby109tt)
|
||||||
|
|
||||||
|
decoblocks_skull_item.png
|
||||||
|
decoblocks_old_stone_tiles.png
|
||||||
|
decoblocks_old_stone_tiles_with_dirt.png
|
||||||
|
hanging_flower_item.png
|
||||||
|
decoblocks_scarecrow_item.png
|
||||||
|
|
||||||
|
models and textures for those models made by tobyplowy(aka toby109tt)
|
||||||
|
|
||||||
|
hangingflower.obj and hanging_flower.png
|
||||||
|
human_skull.obj and human_skull.png
|
||||||
|
scarecrow.obj and decoblocks_scarecrow.png
|
||||||
|
|
||||||
|
thanks D00med for being awesome!!!!!!
|
BIN
mods/decoblocks/models/hanging_flower.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
60
mods/decoblocks/models/hangingflower.obj
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# Blender v2.78 (sub 0) OBJ File: ''
|
||||||
|
# www.blender.org
|
||||||
|
mtllib hangingflower.mtl
|
||||||
|
o Cube_Cube.002
|
||||||
|
v 0.000000 -3.030434 0.999999
|
||||||
|
v 0.000000 0.946624 1.000000
|
||||||
|
v 0.000000 0.946624 -1.000000
|
||||||
|
v 0.000000 -3.030434 -1.000001
|
||||||
|
v -0.373949 0.598353 0.373949
|
||||||
|
v -0.373949 0.967142 0.373949
|
||||||
|
v -0.373949 0.967142 -0.373949
|
||||||
|
v -0.373949 0.598353 -0.373949
|
||||||
|
v 0.373949 0.967142 -0.373949
|
||||||
|
v 0.373949 0.598353 -0.373949
|
||||||
|
v 0.373949 0.967142 0.373949
|
||||||
|
v 0.373949 0.598353 0.373949
|
||||||
|
v -1.000000 -3.030434 -0.000001
|
||||||
|
v -1.000000 0.946624 -0.000000
|
||||||
|
v 1.000000 0.946624 -0.000000
|
||||||
|
v 1.000000 -3.030434 -0.000001
|
||||||
|
vt 0.5000 -0.0000
|
||||||
|
vt 0.5000 1.0000
|
||||||
|
vt -0.0000 1.0000
|
||||||
|
vt 0.0000 -0.0000
|
||||||
|
vt 0.8750 0.8125
|
||||||
|
vt 0.8750 0.8750
|
||||||
|
vt 0.7500 0.8750
|
||||||
|
vt 0.7500 0.8125
|
||||||
|
vt 0.6250 0.8750
|
||||||
|
vt 0.6250 0.8125
|
||||||
|
vt 0.5000 0.8750
|
||||||
|
vt 0.5000 0.8125
|
||||||
|
vt 1.0000 0.8125
|
||||||
|
vt 1.0000 0.8750
|
||||||
|
vt 0.7500 0.8750
|
||||||
|
vt 0.8750 0.8750
|
||||||
|
vt 0.8750 1.0000
|
||||||
|
vt 0.7500 1.0000
|
||||||
|
vt 0.7500 1.0000
|
||||||
|
vt 0.6250 1.0000
|
||||||
|
vt 0.5000 0.0000
|
||||||
|
vt 0.5000 1.0000
|
||||||
|
vt -0.0000 1.0000
|
||||||
|
vt 0.0000 -0.0000
|
||||||
|
vn -1.0000 0.0000 0.0000
|
||||||
|
vn 0.0000 0.0000 -1.0000
|
||||||
|
vn 1.0000 -0.0000 0.0000
|
||||||
|
vn 0.0000 -0.0000 1.0000
|
||||||
|
vn 0.0000 -1.0000 -0.0000
|
||||||
|
vn 0.0000 1.0000 0.0000
|
||||||
|
usemtl None
|
||||||
|
s 1
|
||||||
|
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||||
|
f 5/5/1 6/6/1 7/7/1 8/8/1
|
||||||
|
f 8/8/2 7/7/2 9/9/2 10/10/2
|
||||||
|
f 10/10/3 9/9/3 11/11/3 12/12/3
|
||||||
|
f 12/13/4 11/14/4 6/6/4 5/5/4
|
||||||
|
f 8/15/5 10/16/5 12/17/5 5/18/5
|
||||||
|
f 9/9/6 7/7/6 6/19/6 11/20/6
|
||||||
|
f 13/21/2 14/22/2 15/23/2 16/24/2
|
72
mods/decoblocks/models/human_skull.obj
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# Blender v2.78 (sub 0) OBJ File: ''
|
||||||
|
# www.blender.org
|
||||||
|
mtllib human_skull.mtl
|
||||||
|
o Cube_Cube.001
|
||||||
|
v 0.504590 -0.000291 -0.504590
|
||||||
|
v -0.504590 -0.000291 -0.504590
|
||||||
|
v -0.504590 -0.000291 0.504590
|
||||||
|
v 0.504590 -0.000291 0.504590
|
||||||
|
v -0.504590 -1.009471 -0.504590
|
||||||
|
v 0.504590 -1.009471 -0.504590
|
||||||
|
v 0.504590 -1.009471 0.504590
|
||||||
|
v -0.504590 -1.009471 0.504590
|
||||||
|
v -0.498597 -0.987070 0.498596
|
||||||
|
v -0.498597 -0.987070 -0.498597
|
||||||
|
v -0.498597 -0.006284 -0.498597
|
||||||
|
v -0.498597 -0.006285 0.498597
|
||||||
|
v 0.498597 -0.987070 -0.498597
|
||||||
|
v 0.498597 -0.006284 -0.498597
|
||||||
|
v 0.498597 -0.987070 0.498596
|
||||||
|
v 0.498597 -0.006285 0.498597
|
||||||
|
vt 0.2500 0.7500
|
||||||
|
vt 0.5000 0.7500
|
||||||
|
vt 0.5000 1.0000
|
||||||
|
vt 0.2500 1.0000
|
||||||
|
vt 0.7500 0.7500
|
||||||
|
vt 0.5000 0.7500
|
||||||
|
vt 0.5000 1.0000
|
||||||
|
vt 0.7500 1.0000
|
||||||
|
vt 1.0000 0.5000
|
||||||
|
vt 1.0000 0.7500
|
||||||
|
vt 0.7500 0.7500
|
||||||
|
vt 0.7500 0.5000
|
||||||
|
vt 0.2500 0.5000
|
||||||
|
vt -0.0000 0.7500
|
||||||
|
vt -0.0000 0.5000
|
||||||
|
vt 0.5000 0.5000
|
||||||
|
vt 0.7500 0.0000
|
||||||
|
vt 0.5000 0.0000
|
||||||
|
vt 0.5000 0.2500
|
||||||
|
vt 0.7500 0.2500
|
||||||
|
vt 0.2500 0.0000
|
||||||
|
vt 0.2500 0.2500
|
||||||
|
vt -0.0000 0.0000
|
||||||
|
vt -0.0000 0.2500
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vt 1.0000 0.2500
|
||||||
|
vt 0.7500 0.2500
|
||||||
|
vt 0.7500 0.5000
|
||||||
|
vt 0.5000 0.5000
|
||||||
|
vt 0.5000 0.2500
|
||||||
|
vt 0.2500 0.5000
|
||||||
|
vt 0.5000 0.5000
|
||||||
|
vn 0.0000 1.0000 0.0000
|
||||||
|
vn 0.0000 -1.0000 -0.0000
|
||||||
|
vn 0.0000 -0.0000 1.0000
|
||||||
|
vn 1.0000 -0.0000 0.0000
|
||||||
|
vn 0.0000 0.0000 -1.0000
|
||||||
|
vn -1.0000 0.0000 0.0000
|
||||||
|
usemtl None
|
||||||
|
s 1
|
||||||
|
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||||
|
f 5/5/2 6/6/2 7/7/2 8/8/2
|
||||||
|
f 7/9/3 4/10/3 3/11/3 8/12/3
|
||||||
|
f 6/13/4 1/1/4 4/14/4 7/15/4
|
||||||
|
f 5/16/5 2/2/5 1/1/5 6/13/5
|
||||||
|
f 8/12/6 3/11/6 2/2/6 5/16/6
|
||||||
|
f 9/17/4 10/18/4 11/19/4 12/20/4
|
||||||
|
f 10/18/3 13/21/3 14/22/3 11/19/3
|
||||||
|
f 13/21/6 15/23/6 16/24/6 14/22/6
|
||||||
|
f 15/25/5 9/17/5 12/20/5 16/26/5
|
||||||
|
f 10/27/1 9/28/1 15/29/1 13/30/1
|
||||||
|
f 14/22/2 16/31/2 12/32/2 11/19/2
|
BIN
mods/decoblocks/models/human_skull.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
@ -35,3 +35,52 @@ minetest.register_node("decoblocks:scarecrow", {
|
|||||||
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||||
sounds = default.node_sound_wood_defaults()
|
sounds = default.node_sound_wood_defaults()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("decoblocks:hanging_flower", {
|
||||||
|
description = "Hanging Flower",
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "hangingflower.obj",
|
||||||
|
tiles = {
|
||||||
|
"hanging_flower.png",
|
||||||
|
},
|
||||||
|
visual_scale = 0.5,
|
||||||
|
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||||
|
paramtype = "light",
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.3, -0.5, -0.3, 0.3, 1, 0.3}
|
||||||
|
},
|
||||||
|
collision_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.3, -0.5, -0.3, 0.3, 1, 0.3}
|
||||||
|
},
|
||||||
|
inventory_image = "hanging_flower_item.png",
|
||||||
|
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||||
|
sounds = default.node_sound_wood_defaults()
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("decoblocks:human_skull", {
|
||||||
|
description = "Human Skull",
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "human_skull.obj",
|
||||||
|
tiles = {
|
||||||
|
"human_skull.png",
|
||||||
|
},
|
||||||
|
visual_scale = 0.5,
|
||||||
|
wield_image = "decoblocks_skull_item.png",
|
||||||
|
wield_scale = {x=1.0, y=1.0, z=1.0},
|
||||||
|
paramtype = "light",
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.0, 0.3}
|
||||||
|
},
|
||||||
|
collision_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.3, -0.5, -0.3, 0.3, 1, 0.3}
|
||||||
|
},
|
||||||
|
inventory_image = "decoblocks_skull_item.png",
|
||||||
|
groups = {choppy = 1, oddly_breakable_by_hand = 1},
|
||||||
|
sounds = default.node_sound_wood_defaults()
|
||||||
|
})
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 383 B |
BIN
mods/decoblocks/textures/decoblocks_skull_item.png
Normal file
After Width: | Height: | Size: 869 B |
BIN
mods/decoblocks/textures/hanging_flower_item.png
Normal file
After Width: | Height: | Size: 770 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 1001 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 771 B |
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 685 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 670 B |