Compare commits
182 Commits
0.4.dev-20
...
0.4.6
Author | SHA1 | Date | |
---|---|---|---|
|
c43718a434 | ||
|
3db7bafb39 | ||
|
d8c6a4f2ea | ||
|
d2550ab761 | ||
|
7e843c92a6 | ||
|
d6ec56811b | ||
|
c809fc9655 | ||
|
b4e9ef269b | ||
|
4e20ed6153 | ||
|
79856c914d | ||
|
648a11263b | ||
|
467e2029e2 | ||
|
3a617bcb6e | ||
|
d5c373e290 | ||
|
4c5cb106c3 | ||
|
9ff8f8038e | ||
|
a4426e4bd4 | ||
|
e82c122822 | ||
|
e43573b46b | ||
|
2f91ec0f73 | ||
|
57980cb49d | ||
|
034010a371 | ||
|
4b9914fdcb | ||
|
0d924e7e4d | ||
|
90aaa1fb62 | ||
|
6c70e0295a | ||
|
230747c748 | ||
|
86cff038a4 | ||
|
0823f16acb | ||
|
e1d17b1747 | ||
|
2817db19d4 | ||
|
716397819d | ||
|
67fa74ac01 | ||
|
d5cc51a396 | ||
|
cd604fa9c8 | ||
|
686c0d087c | ||
|
c27afe7ee8 | ||
|
9e23e9ecbf | ||
|
97db50a2fe | ||
|
a0ba7cf973 | ||
|
c1b1f2aa49 | ||
|
0beabfc755 | ||
|
5fa8852115 | ||
|
0eb46a01ff | ||
|
de8726a9f7 | ||
|
33ec25caed | ||
|
deb39ddcd4 | ||
|
2d1e7463d3 | ||
|
7505fbce51 | ||
|
9232734a48 | ||
|
1bf62bbad4 | ||
|
95cbfc50d8 | ||
|
61e60724f6 | ||
|
8c977451a8 | ||
|
73d078fd27 | ||
|
0636d574af | ||
|
c4f2bee9a6 | ||
|
4763fa635a | ||
|
3928eccf74 | ||
|
5311c6ec96 | ||
|
91937acf76 | ||
|
e7b4b2ba57 | ||
|
89fb5aed7f | ||
|
df54836ea0 | ||
|
f2a67871d2 | ||
|
c3eaa9cd64 | ||
|
d39044a2a7 | ||
|
8a6b2df6b1 | ||
|
bed848f68a | ||
|
24939c299b | ||
|
24d8d79ea1 | ||
|
cb4bfa51a1 | ||
|
7a01de2f36 | ||
|
c7a4a68d28 | ||
|
91da5d1308 | ||
|
39e4bf0346 | ||
|
dce87664d2 | ||
|
b97400d71d | ||
|
abaf4c5121 | ||
|
609646b9b5 | ||
|
04d40a5ce4 | ||
|
24781813fa | ||
|
0057a87b99 | ||
|
dfa0f096ce | ||
|
e9ad8d06c8 | ||
|
0495f9e209 | ||
|
2ff55cf6cc | ||
|
d0638d7284 | ||
|
6687b5504d | ||
|
c455ba9b68 | ||
|
165da9348a | ||
|
fb8144f703 | ||
|
df2fdba2b4 | ||
|
3a7cbfc531 | ||
|
2768d4974b | ||
|
d317d7b80b | ||
|
91ee23d61b | ||
|
df3a694099 | ||
|
d75b39683a | ||
|
68020d2e93 | ||
|
f1a447d1fe | ||
|
30d582296b | ||
|
36c17b04fe | ||
|
ff9e2a75ee | ||
|
5497db98de | ||
|
4a68126a2b | ||
|
5ce918059d | ||
|
e0fe1a08c5 | ||
|
25a6cd866b | ||
|
0ed7ccfc1f | ||
|
e5502c9415 | ||
|
e5e62f9085 | ||
|
a8a204ae39 | ||
|
a399f648e7 | ||
|
87a1e37d34 | ||
|
6ad1d56b3d | ||
|
d3d3e76447 | ||
|
794c68b32b | ||
|
0722c8064b | ||
|
d98eab6a84 | ||
|
61a9bb2b47 | ||
|
32ee20ebe7 | ||
|
937ec64ee6 | ||
|
7db7ea543f | ||
|
319ac40fa5 | ||
|
cd4e86773f | ||
|
8643caac3c | ||
|
81afea1c00 | ||
|
a29819ebee | ||
|
6de625c67f | ||
|
e550a0e26f | ||
|
8739c4e737 | ||
|
3ea6096a7a | ||
|
f2916c0a31 | ||
|
c7b624d67c | ||
|
6ba4f01d0b | ||
|
a9da19c590 | ||
|
b1dcbe72aa | ||
|
8c8b4b005e | ||
|
537344bc62 | ||
|
274f280e10 | ||
|
3c8d4879a1 | ||
|
d05002ecc0 | ||
|
d817c9babe | ||
|
4e996ffa35 | ||
|
1dd62938c1 | ||
|
9a624d85d0 | ||
|
a93527dfb6 | ||
|
fcaacdb4ad | ||
|
dd9b33db67 | ||
|
894f98d878 | ||
|
3a1a7d511d | ||
|
53e9b0e107 | ||
|
216227bac3 | ||
|
1a62348e44 | ||
|
3aac1adb15 | ||
|
2302e55dbb | ||
|
279eff9a7f | ||
|
df2037b886 | ||
|
ccf3b71c28 | ||
|
5296dc1518 | ||
|
51fce37fc1 | ||
|
9207e9af46 | ||
|
befc604af3 | ||
|
5f6039bc3c | ||
|
4abfcda81f | ||
|
95f4ccab51 | ||
|
dee4b328a3 | ||
|
60c16eb57b | ||
|
68504124d7 | ||
|
fe315ac1eb | ||
|
ab84afd071 | ||
|
48a76211a8 | ||
|
de13e8f1fa | ||
|
5bd33df1a3 | ||
|
1d4ae73e0d | ||
|
492e86050c | ||
|
0b157335d1 | ||
|
8fece11cc7 | ||
|
fa06d11909 | ||
|
b4d659d8ae | ||
|
ad58e41580 |
33
README.txt
@@ -6,38 +6,45 @@ To build the wholeness of the Minetest project, insert this repository as
|
|||||||
in the Minetest Engine.
|
in the Minetest Engine.
|
||||||
|
|
||||||
The Minetest Engine can be found in:
|
The Minetest Engine can be found in:
|
||||||
https://github.com/celeron55/minetest/
|
https://github.com/minetest/minetest/
|
||||||
|
|
||||||
This has been tested to work with the version tagged 0.4.dev-20120326.
|
Compatibility
|
||||||
|
--------------
|
||||||
|
The minetest_game github master HEAD is generally compatible with the github
|
||||||
|
master HEAD of minetest.
|
||||||
|
|
||||||
|
Additionally, when the minetest engine is tagged to be a certain version (eg.
|
||||||
|
0.4.dev-20120326), minetest_game is tagged with the version too.
|
||||||
|
|
||||||
|
When stable releases are made, minetest_game is packaged and made available in
|
||||||
|
http://minetest.net/download.php
|
||||||
|
and in case the repository has grown too much, it may be reset. In that sense,
|
||||||
|
this is not a "real" git repository. (Package maintainers please note!)
|
||||||
|
|
||||||
License of source code
|
License of source code
|
||||||
----------------------
|
----------------------
|
||||||
Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
|
Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
|
||||||
|
See README.txt in each mod directory for information about other authors.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2.1 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU Lesser General Public License along
|
||||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
License of media (textures and sounds)
|
License of media (textures and sounds)
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
|
Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
|
||||||
|
See README.txt in each mod directory for information about other authors.
|
||||||
|
|
||||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||||
http://creativecommons.org/licenses/by-sa/3.0/
|
http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
|
|
||||||
Authors of media files
|
|
||||||
-----------------------
|
|
||||||
Everything not mentioned in here - Perttu Ahola <celeron55@gmail.com>
|
|
||||||
default_grass_footstep.{1,2,3}.ogg - Modified versions of sounds by kddekadenz/Dogers
|
|
||||||
default_dig_crumbly.{1,2}.ogg - Modified versions of sounds by kddekadenz/Dogers
|
|
||||||
|
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
name = Minetest
|
name = Minetest
|
||||||
|
common_mods = default, bucket, creative, doors, dye, fire, stairs, vessels, wool
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
default
|
|
||||||
|
|
@@ -1,95 +0,0 @@
|
|||||||
-- bucket (Minetest 0.4 mod)
|
|
||||||
-- A bucket, which can pick up water and lava
|
|
||||||
|
|
||||||
minetest.register_alias("bucket", "bucket:bucket_empty")
|
|
||||||
minetest.register_alias("bucket_water", "bucket:bucket_water")
|
|
||||||
minetest.register_alias("bucket_lava", "bucket:bucket_lava")
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'bucket:bucket_empty 1',
|
|
||||||
recipe = {
|
|
||||||
{'default:steel_ingot', '', 'default:steel_ingot'},
|
|
||||||
{'', 'default:steel_ingot', ''},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
bucket = {}
|
|
||||||
bucket.liquids = {}
|
|
||||||
|
|
||||||
-- Register a new liquid
|
|
||||||
-- source = name of the source node
|
|
||||||
-- flowing = name of the flowing node
|
|
||||||
-- itemname = name of the new bucket item (or nil if liquid is not takeable)
|
|
||||||
-- inventory_image = texture of the new bucket item (ignored if itemname == nil)
|
|
||||||
-- This function can be called from any mod (that depends on bucket).
|
|
||||||
function bucket.register_liquid(source, flowing, itemname, inventory_image)
|
|
||||||
bucket.liquids[source] = {
|
|
||||||
source = source,
|
|
||||||
flowing = flowing,
|
|
||||||
itemname = itemname,
|
|
||||||
}
|
|
||||||
bucket.liquids[flowing] = bucket.liquids[source]
|
|
||||||
|
|
||||||
if itemname ~= nil then
|
|
||||||
minetest.register_craftitem(itemname, {
|
|
||||||
inventory_image = inventory_image,
|
|
||||||
stack_max = 1,
|
|
||||||
liquids_pointable = true,
|
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
|
||||||
-- Must be pointing to node
|
|
||||||
if pointed_thing.type ~= "node" then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
-- Check if pointing to a liquid
|
|
||||||
n = minetest.env:get_node(pointed_thing.under)
|
|
||||||
if bucket.liquids[n.name] == nil then
|
|
||||||
-- Not a liquid
|
|
||||||
minetest.env:add_node(pointed_thing.above, {name=source})
|
|
||||||
elseif n.name ~= source then
|
|
||||||
-- It's a liquid
|
|
||||||
minetest.env:add_node(pointed_thing.under, {name=source})
|
|
||||||
end
|
|
||||||
return {name="bucket:bucket_empty"}
|
|
||||||
end
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_craftitem("bucket:bucket_empty", {
|
|
||||||
inventory_image = "bucket.png",
|
|
||||||
stack_max = 1,
|
|
||||||
liquids_pointable = true,
|
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
|
||||||
-- Must be pointing to node
|
|
||||||
if pointed_thing.type ~= "node" then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
-- Check if pointing to a liquid source
|
|
||||||
n = minetest.env:get_node(pointed_thing.under)
|
|
||||||
liquiddef = bucket.liquids[n.name]
|
|
||||||
if liquiddef ~= nil and liquiddef.source == n.name and liquiddef.itemname ~= nil then
|
|
||||||
minetest.env:add_node(pointed_thing.under, {name="air"})
|
|
||||||
return {name=liquiddef.itemname}
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
bucket.register_liquid(
|
|
||||||
"default:water_source",
|
|
||||||
"default:water_flowing",
|
|
||||||
"bucket:bucket_water",
|
|
||||||
"bucket_water.png"
|
|
||||||
)
|
|
||||||
|
|
||||||
bucket.register_liquid(
|
|
||||||
"default:lava_source",
|
|
||||||
"default:lava_flowing",
|
|
||||||
"bucket:bucket_lava",
|
|
||||||
"bucket_lava.png"
|
|
||||||
)
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "default:bucket_lava",
|
|
||||||
burntime = 60,
|
|
||||||
})
|
|
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 597 B |
Before Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 933 B |
Before Width: | Height: | Size: 830 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 874 B |
Before Width: | Height: | Size: 856 B |
Before Width: | Height: | Size: 878 B |
Before Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 936 B |
Before Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 395 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 952 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 965 B |
Before Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 545 B |
Before Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 772 B |
Before Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 233 B |
Before Width: | Height: | Size: 489 B |
Before Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 182 B |
Before Width: | Height: | Size: 806 B |
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 186 B |
Before Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 927 B |
Before Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 216 B |
Before Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 931 B |
Before Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 927 B |
Before Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 925 B |