summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dreambuilder_mp_extras/init.lua6
-rw-r--r--dreambuilder_mp_extras/models/default_apple.obj393
-rw-r--r--dreambuilder_mp_extras/textures/default_apple_3d.pngbin0 -> 1494 bytes
3 files changed, 399 insertions, 0 deletions
diff --git a/dreambuilder_mp_extras/init.lua b/dreambuilder_mp_extras/init.lua
index 05fa712..65c352f 100644
--- a/dreambuilder_mp_extras/init.lua
+++ b/dreambuilder_mp_extras/init.lua
@@ -57,3 +57,9 @@ minetest.register_abm({
default.cool_lava(...)
end,
})
+
+minetest.override_item("default:apple", {
+ drawtype = "mesh",
+ mesh = "default_apple.obj",
+ tiles = {"default_apple_3d.png"}
+})
diff --git a/dreambuilder_mp_extras/models/default_apple.obj b/dreambuilder_mp_extras/models/default_apple.obj
new file mode 100644
index 0000000..b305278
--- /dev/null
+++ b/dreambuilder_mp_extras/models/default_apple.obj
@@ -0,0 +1,393 @@
+# Blender v2.69 (sub 0) OBJ File: 'apple.blend'
+# www.blender.org
+o Icosphere_Icosphere.002
+v 0.000000 -0.400842 0.000000
+v 0.144721 -0.339444 0.105145
+v -0.055278 -0.339444 0.170130
+v -0.178885 -0.339443 0.000000
+v -0.055278 -0.339444 -0.170130
+v 0.144721 -0.339444 -0.105145
+v 0.055278 -0.160556 0.170130
+v -0.144721 -0.160556 0.105145
+v -0.144721 -0.160556 -0.105145
+v 0.055278 -0.160556 -0.170130
+v 0.178885 -0.160557 0.000000
+v -0.032491 -0.418319 0.099999
+v 0.085065 -0.418319 0.061802
+v 0.052574 -0.355148 0.161802
+v 0.170130 -0.355147 0.000000
+v 0.085065 -0.418319 -0.061802
+v -0.105146 -0.418318 0.000000
+v -0.137638 -0.355147 0.099999
+v -0.032491 -0.418319 -0.099999
+v -0.137638 -0.355147 -0.099999
+v 0.052574 -0.355148 -0.161802
+v 0.190212 -0.250000 0.061803
+v 0.190212 -0.250000 -0.061803
+v 0.000000 -0.250000 0.200000
+v 0.117557 -0.250000 0.161803
+v -0.190212 -0.250000 0.061803
+v -0.117557 -0.250000 0.161803
+v -0.117557 -0.250000 -0.161803
+v -0.190212 -0.250000 -0.061803
+v 0.117557 -0.250000 -0.161803
+v 0.000000 -0.250000 -0.200000
+v 0.137638 -0.144853 0.099999
+v -0.052574 -0.144852 0.161802
+v -0.170130 -0.144853 0.000000
+v -0.052574 -0.144852 -0.161802
+v 0.137638 -0.144853 -0.099999
+v 0.009687 -0.099347 0.044790
+v 0.048737 -0.099347 0.000000
+v -0.038857 -0.099347 0.028197
+v -0.042458 -0.099347 -0.023996
+v 0.012688 -0.099347 -0.040590
+v -0.016246 -0.425452 0.050000
+v -0.052573 -0.425452 0.000000
+v -0.016246 -0.425452 -0.050000
+v 0.042532 -0.425452 0.030901
+v 0.042532 -0.425452 -0.030901
+v 0.015091 -0.107438 -0.003228
+v 0.002701 -0.107438 0.010984
+v -0.012702 -0.107438 0.005719
+v -0.013845 -0.107438 -0.010842
+v 0.003653 -0.107438 -0.016107
+v 0.029212 -0.099347 0.022395
+v -0.014585 -0.099347 0.036494
+v -0.040657 -0.099347 0.002100
+v -0.014885 -0.099347 -0.032293
+v 0.030712 -0.099347 -0.020295
+v 0.015092 -0.077511 -0.003228
+v 0.002701 -0.077510 0.010984
+v -0.012702 -0.077510 0.005719
+v -0.013844 -0.077510 -0.010842
+v 0.003653 -0.077510 -0.016107
+v 0.015092 -0.058676 -0.015508
+v 0.002701 -0.058676 -0.001296
+v -0.012702 -0.058676 -0.006561
+v -0.013844 -0.058676 -0.023122
+v 0.003653 -0.058676 -0.028387
+v 0.007173 -0.048549 -0.021201
+v 0.000872 -0.048549 -0.013974
+v -0.006961 -0.048549 -0.016651
+v -0.007542 -0.048549 -0.025073
+v 0.001356 -0.048549 -0.027750
+v -0.108675 -0.054386 -0.056250
+v -0.206943 -0.056320 -0.003236
+v -0.109310 -0.075273 0.051569
+v 0.004258 -0.111407 -0.002341
+v 0.032483 -0.120213 0.107460
+v -0.091789 -0.120213 0.066671
+v -0.093590 -0.120213 -0.064571
+v 0.033983 -0.120213 -0.105360
+v 0.113811 -0.120213 0.000000
+v 0.073663 -0.112361 0.072395
+v 0.093187 -0.112361 0.050000
+v -0.045715 -0.112361 0.095000
+v -0.021443 -0.112361 0.103296
+v -0.106294 -0.112361 -0.011998
+v -0.104493 -0.112361 0.014098
+v -0.019943 -0.112361 -0.101196
+v -0.047516 -0.112361 -0.092899
+v 0.093187 -0.112361 -0.050000
+v 0.075163 -0.112361 -0.070294
+v 0.021085 -0.100041 0.076125
+v -0.065323 -0.100041 0.047434
+v -0.068024 -0.100041 -0.044283
+v 0.023335 -0.100041 -0.072975
+v 0.081274 -0.100041 0.000000
+v 0.041675 -0.096115 0.058593
+v 0.070962 -0.096115 0.025000
+v -0.042286 -0.096115 0.061598
+v -0.005878 -0.096115 0.074043
+v -0.074376 -0.096115 -0.017997
+v -0.071675 -0.096115 0.021148
+v -0.003627 -0.096115 -0.070893
+v -0.044987 -0.096115 -0.058448
+v 0.070962 -0.096115 -0.025000
+v 0.043925 -0.096115 -0.055442
+v -0.008123 -0.409577 0.025000
+v -0.026286 -0.409577 0.000000
+v -0.008123 -0.409577 -0.025000
+v 0.021266 -0.409577 0.015451
+v 0.021266 -0.409577 -0.015451
+v -0.108675 -0.054808 -0.056250
+v -0.206943 -0.056742 -0.003236
+v -0.109310 -0.075694 0.051569
+v 0.004258 -0.111829 -0.002341
+vt 0.289705 0.228174
+vt 0.289705 0.302602
+vt 0.144853 0.302602
+vt 0.144853 0.228174
+vt 0.289705 0.455440
+vt 0.362131 0.430395
+vt 0.000000 0.302604
+vt 0.000000 0.228174
+vt 0.724262 0.228174
+vt 0.724262 0.302604
+vt 0.579409 0.302602
+vt 0.579409 0.228173
+vt 0.434556 0.302602
+vt 0.434556 0.228174
+vt 0.325918 0.584572
+vt 0.144853 0.455440
+vt 0.217279 0.430395
+vt 0.181065 0.584572
+vt 0.000000 0.455441
+vt 0.072426 0.430395
+vt 0.036213 0.584572
+vt 0.579409 0.455440
+vt 0.651836 0.430395
+vt 0.615622 0.584572
+vt 0.434556 0.455440
+vt 0.506983 0.430394
+vt 0.470770 0.584572
+vt 0.253492 0.584572
+vt 0.108639 0.584572
+vt 0.724262 0.455441
+vt 0.760474 0.584572
+vt 0.688049 0.584572
+vt 0.543196 0.584572
+vt 0.398343 0.584572
+vt 0.033072 0.896143
+vt 0.072396 0.884511
+vt 0.111719 0.896164
+vt 0.072359 0.936130
+vt 0.618812 0.897573
+vt 0.657742 0.883879
+vt 0.696895 0.893530
+vt 0.664964 0.934857
+vt 0.465964 0.902055
+vt 0.507521 0.890502
+vt 0.549089 0.901679
+vt 0.508273 0.945427
+vt 0.323087 0.895401
+vt 0.362131 0.883726
+vt 0.401175 0.895401
+vt 0.362131 0.934911
+vt 0.289705 0.192561
+vt 0.127621 0.147092
+vt 0.434556 0.192561
+vt 0.362131 0.713702
+vt 0.217278 0.713703
+vt 0.072425 0.713703
+vt 0.651836 0.713703
+vt 0.506984 0.713703
+vt 0.289705 0.738748
+vt 0.144852 0.738748
+vt 0.724262 0.738748
+vt 0.000000 0.738748
+vt 0.579410 0.738748
+vt 0.434557 0.738748
+vt 0.137239 0.950981
+vt 0.208861 1.000000
+vt 0.048762 0.994923
+vt 0.272599 0.842762
+vt 0.305365 0.839590
+vt 0.730211 0.948544
+vt 0.773024 0.994923
+vt 0.647679 0.987870
+vt 0.129366 0.840006
+vt 0.157472 0.839915
+vt 0.592982 0.957496
+vt 0.517488 0.989927
+vt 0.711305 0.838051
+vt 0.739721 0.839989
+vt 0.429440 0.955305
+vt 0.386423 0.992018
+vt 0.565625 0.842943
+vt 0.597694 0.841390
+vt 0.286737 0.955311
+vt 0.205618 0.939811
+vt 0.418896 0.839590
+vt 0.448807 0.843243
+vt 0.144853 0.192561
+vt 0.000000 0.192562
+vt 0.724262 0.192562
+vt 0.579409 0.192561
+vt 0.005949 0.948544
+vt 0.767451 0.404977
+vt 0.872589 0.209706
+vt 0.985565 0.404823
+vt 0.853830 0.682518
+vt 0.903146 0.685113
+vt 0.896929 0.770357
+vt 0.850527 0.762064
+vt 0.890812 0.826286
+vt 0.860909 0.811163
+vt 0.954056 0.688302
+vt 0.950898 0.776662
+vt 1.000000 0.689191
+vt 0.999543 0.774642
+vt 0.755093 0.687754
+vt 0.800762 0.682518
+vt 0.806209 0.759291
+vt 0.764716 0.771747
+vt 0.889296 0.850213
+vt 0.865584 0.843783
+vt 0.928044 0.828413
+vt 0.968027 0.830186
+vt 0.820614 0.807692
+vt 0.786350 0.832977
+vt 0.876499 0.886345
+vt 0.897919 0.899823
+vt 0.888199 0.920805
+vt 0.863675 0.920805
+vt 0.858739 0.899072
+vt 0.914231 0.854536
+vt 0.937825 0.860954
+vt 0.838067 0.846931
+vt 0.819828 0.862512
+vt 0.171934 0.896808
+vt 0.212212 0.887025
+vt 0.252331 0.900314
+vt 0.214902 0.823441
+vt 0.072412 0.821993
+vt 0.654646 0.821682
+vt 0.507231 0.825364
+vt 0.362131 0.821550
+vt 0.757334 0.896143
+vt 0.015459 0.839989
+vt 0.796621 0.936130
+vt 0.851883 0.147092
+vt 0.892905 0.647492
+s 1
+f 45/1 13/2 12/3 42/4
+f 2/5 13/2 15/6
+f 42/4 12/3 17/7 43/8
+f 43/9 17/10 19/11 44/12
+f 44/12 19/11 16/13 46/14
+f 2/5 15/6 22/15
+f 3/16 14/17 24/18
+f 4/19 18/20 26/21
+f 5/22 20/23 28/24
+f 6/25 21/26 30/27
+f 2/5 22/15 25/28
+f 3/16 24/18 27/29
+f 4/30 26/31 29/32
+f 5/22 28/24 31/33
+f 6/25 30/27 23/34
+f 101/35 92/36 98/37 39/38
+f 103/39 93/40 100/41 40/42
+f 105/43 94/44 102/45 41/46
+f 97/47 95/48 104/49 38/50
+f 12/3 14/17 3/16
+f 12/3 13/2 14/17
+f 13/2 2/5 14/17
+f 15/6 16/13 6/25
+f 15/6 13/2 16/13
+f 109/51 1/52 110/53
+f 17/7 18/20 4/19
+f 17/7 12/3 18/20
+f 12/3 3/16 18/20
+f 19/11 20/23 5/22
+f 19/11 17/10 20/23
+f 17/10 4/30 20/23
+f 16/13 21/26 6/25
+f 16/13 19/11 21/26
+f 19/11 5/22 21/26
+f 22/15 23/34 11/54
+f 22/15 15/6 23/34
+f 15/6 6/25 23/34
+f 24/18 25/28 7/55
+f 24/18 14/17 25/28
+f 14/17 2/5 25/28
+f 26/21 27/29 8/56
+f 26/21 18/20 27/29
+f 18/20 3/16 27/29
+f 28/24 29/32 9/57
+f 28/24 20/23 29/32
+f 20/23 4/30 29/32
+f 30/27 31/33 10/58
+f 30/27 21/26 31/33
+f 21/26 5/22 31/33
+f 25/28 32/59 7/55
+f 25/28 22/15 32/59
+f 22/15 11/54 32/59
+f 27/29 33/60 8/56
+f 27/29 24/18 33/60
+f 24/18 7/55 33/60
+f 29/32 34/61 9/57
+f 29/32 26/31 34/61
+f 26/21 8/56 34/62
+f 31/33 35/63 10/58
+f 31/33 28/24 35/63
+f 28/24 9/57 35/63
+f 23/34 36/64 11/54
+f 23/34 30/27 36/64
+f 30/27 10/58 36/64
+f 53/65 48/66 49/67 39/38
+f 81/68 32/59 82/69
+f 54/70 49/71 50/72 40/42
+f 83/73 33/60 84/74
+f 55/75 50/72 51/76 41/46
+f 85/77 34/61 86/78
+f 56/79 41/46 51/76 47/80
+f 87/81 35/63 88/82
+f 52/83 47/80 48/66 37/84
+f 89/85 36/64 90/86
+f 109/51 45/1 42/4 106/87
+f 106/87 42/4 43/8 107/88
+f 107/89 43/9 44/12 108/90
+f 108/90 44/12 46/14 110/53
+f 13/2 45/1 46/14 16/13
+f 53/65 37/84 48/66
+f 54/91 39/38 49/67
+f 55/75 40/42 50/72
+f 72/92 73/93 74/94
+f 47/95 51/96 61/97 57/98
+f 57/98 61/97 66/99 62/100
+f 51/96 50/101 60/102 61/97
+f 50/101 49/103 59/104 60/102
+f 49/105 48/106 58/107 59/108
+f 48/106 47/95 57/98 58/107
+f 62/100 66/99 71/109 67/110
+f 61/97 60/102 65/111 66/99
+f 60/102 59/104 64/112 65/111
+f 59/108 58/107 63/113 64/114
+f 58/107 57/98 62/100 63/113
+f 68/115 67/116 71/117 70/118 69/119
+f 66/99 65/111 70/120 71/109
+f 65/111 64/112 69/121 70/120
+f 64/114 63/113 68/122 69/123
+f 63/113 62/100 67/110 68/122
+f 99/124 91/125 96/126 37/84
+f 7/55 32/59 81/68 76/127
+f 8/56 33/60 83/73 77/128
+f 9/57 34/61 85/77 78/129
+f 10/58 35/63 87/81 79/130
+f 11/54 36/64 89/85 80/131
+f 96/126 81/68 82/69 97/47
+f 32/59 11/54 80/131 82/69
+f 98/37 83/73 84/74 99/124
+f 33/60 7/55 76/127 84/74
+f 100/41 85/77 86/78 101/132
+f 34/62 8/56 77/128 86/133
+f 102/45 87/81 88/82 103/39
+f 35/63 9/57 78/129 88/82
+f 104/49 89/85 90/86 105/43
+f 36/64 10/58 79/130 90/86
+f 76/127 81/68 96/126 91/125
+f 77/128 83/73 98/37 92/36
+f 78/129 85/77 100/41 93/40
+f 79/130 87/81 102/45 94/44
+f 80/131 89/85 104/49 95/48
+f 82/69 80/131 95/48 97/47
+f 84/74 76/127 91/125 99/124
+f 86/133 77/128 92/36 101/35
+f 88/82 78/129 93/40 103/39
+f 90/86 79/130 94/44 105/43
+f 37/84 96/126 97/47 38/50 52/83
+f 39/38 98/37 99/124 37/84 53/65
+f 40/42 100/41 101/132 39/134 54/70
+f 41/46 102/45 103/39 40/42 55/75
+f 38/50 104/49 105/43 41/46 56/79
+f 45/1 109/51 110/53 46/14
+f 1/52 109/51 106/87
+f 1/52 106/87 107/88
+f 1/135 107/89 108/90
+f 1/135 108/90 110/53
+f 52/83 38/50 56/79 47/80
+f 75/136 72/92 74/94
+f 111/92 113/94 112/93
+f 114/136 113/94 111/92
diff --git a/dreambuilder_mp_extras/textures/default_apple_3d.png b/dreambuilder_mp_extras/textures/default_apple_3d.png
new file mode 100644
index 0000000..3f26575
--- /dev/null
+++ b/dreambuilder_mp_extras/textures/default_apple_3d.png
Binary files differ