mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-28 20:56:02 +02:00
Compare commits
54 Commits
Author | SHA1 | Date | |
---|---|---|---|
a0c658f4d1 | |||
9585eef042 | |||
8678265125 | |||
df387e2394 | |||
2db0287652 | |||
806b29c2a1 | |||
3aa1117f4a | |||
630f24e747 | |||
d6a66860af | |||
6d850f23a5 | |||
2c1af0861f | |||
d2ae721235 | |||
01db55cee5 | |||
4ba2b5179e | |||
a5092c0df6 | |||
575c098bae | |||
cddd59b578 | |||
7a4b1e0ce1 | |||
0216fa08ec | |||
ca3e807d35 | |||
ca38bb2390 | |||
7d07c52d09 | |||
532013a032 | |||
a52622669f | |||
ce5e668681 | |||
6530fa914b | |||
86eb0e1617 | |||
93fb9b36ce | |||
09e3505ea1 | |||
cecbfc1676 | |||
fba6f6a4cf | |||
6053456af1 | |||
cc2f75b2f9 | |||
b6ef71c92e | |||
876da2fbc6 | |||
ea45ca57a5 | |||
6fa3ebfa75 | |||
efe6fb6dfb | |||
1aeb2baa91 | |||
e4d6425846 | |||
81f885795d | |||
f3e29bc2cc | |||
3a72f7b84b | |||
20bd4560f8 | |||
8991b9fe54 | |||
aea6c5dd1d | |||
da41caca66 | |||
103af98864 | |||
26606b0520 | |||
706844e8bf | |||
a56274c230 | |||
3512226867 | |||
d5b9fee6fe | |||
437860feff |
@ -1,3 +1,3 @@
|
||||
name = Minetest Game
|
||||
author = minetest
|
||||
description = Bundled by default with Minetest, and aims to be lightweight, moddable, and fairly playable without mods.
|
||||
name = Notre Ami Le Cube 1.1
|
||||
author = minetest and sys4
|
||||
description = Minetest game modified by sys4
|
||||
|
@ -343,5 +343,6 @@ minetest.register_craftitem("default:flint", {
|
||||
minetest.register_craftitem("default:blueberries", {
|
||||
description = "Blueberries",
|
||||
inventory_image = "default_blueberries.png",
|
||||
groups = {food_blueberries = 1, food_berry = 1},
|
||||
on_use = minetest.item_eat(2),
|
||||
})
|
||||
|
BIN
mods/default/sounds/default_break_glass.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_break_glass.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_break_glass.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_break_glass.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_break_glass.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_break_glass.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_breathless.ogg
Executable file
BIN
mods/default/sounds/default_breathless.ogg
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_cool_lava.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_cool_lava.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_cool_lava.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_cool_lava.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_cool_lava.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_cool_lava.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dig_choppy.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dig_choppy.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dig_cracky.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dig_cracky.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dig_crumbly.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dig_crumbly.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dig_dig_immediate.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dig_dig_immediate.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dig_oddly_breakable_by_hand.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dig_oddly_breakable_by_hand.ogg
Normal file → Executable file
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_dirt_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dirt_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dirt_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dirt_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dirt_footstep.3.ogg
Executable file
BIN
mods/default/sounds/default_dirt_footstep.3.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dirt_footstep.4.ogg
Executable file
BIN
mods/default/sounds/default_dirt_footstep.4.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dug_node.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dug_node.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_dug_node.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_dug_node.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_glass_footstep.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_glass_footstep.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_grass_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_grass_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_grass_footstep.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.4.ogg
Executable file
BIN
mods/default/sounds/default_grass_footstep.4.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_gravel_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_gravel_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_gravel_footstep.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.4.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_gravel_footstep.4.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_hard_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_hard_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_hard_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_hard_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_hard_footstep.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_hard_footstep.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_hard_footstep.4.ogg
Executable file
BIN
mods/default/sounds/default_hard_footstep.4.ogg
Executable file
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_metal_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_metal_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_metal_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_metal_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_metal_footstep.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_metal_footstep.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_metal_footstep.4.ogg
Executable file
BIN
mods/default/sounds/default_metal_footstep.4.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_place_node.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_place_node.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_place_node.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_place_node.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_place_node.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_place_node.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_place_node_hard.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_place_node_hard.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_place_node_hard.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_place_node_hard.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_sand_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_sand_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_sand_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_sand_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_sand_footstep.3.ogg
Executable file
BIN
mods/default/sounds/default_sand_footstep.3.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_sand_footstep.4.ogg
Executable file
BIN
mods/default/sounds/default_sand_footstep.4.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_snow_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_snow_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_snow_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_snow_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_snow_footstep.3.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_snow_footstep.3.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_snow_footstep.4.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_snow_footstep.4.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_wood_footstep.1.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_wood_footstep.1.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_wood_footstep.2.ogg
Normal file → Executable file
BIN
mods/default/sounds/default_wood_footstep.2.ogg
Normal file → Executable file
Binary file not shown.
BIN
mods/default/sounds/default_wood_footstep.3.ogg
Executable file
BIN
mods/default/sounds/default_wood_footstep.3.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/default_wood_footstep.4.ogg
Executable file
BIN
mods/default/sounds/default_wood_footstep.4.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/health_gain.ogg
Executable file
BIN
mods/default/sounds/health_gain.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/lava.ogg
Executable file
BIN
mods/default/sounds/lava.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/player_damage.1.ogg
Executable file
BIN
mods/default/sounds/player_damage.1.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/player_damage.2.ogg
Executable file
BIN
mods/default/sounds/player_damage.2.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/player_falling_damage.ogg
Executable file
BIN
mods/default/sounds/player_falling_damage.ogg
Executable file
Binary file not shown.
BIN
mods/default/sounds/waterfall.ogg
Executable file
BIN
mods/default/sounds/waterfall.ogg
Executable file
Binary file not shown.
@ -88,18 +88,20 @@ local function populate_chest(pos, rand, dungeontype)
|
||||
amount = rand:next(loot.count[1], loot.count[2])
|
||||
end
|
||||
|
||||
if itemdef.tool_capabilities then
|
||||
for n = 1, amount do
|
||||
local wear = rand:next(0.20 * 65535, 0.75 * 65535) -- 20% to 75% wear
|
||||
table.insert(items, ItemStack({name = loot.name, wear = wear}))
|
||||
if itemdef then
|
||||
if itemdef.tool_capabilities then
|
||||
for n = 1, amount do
|
||||
local wear = rand:next(0.20 * 65535, 0.75 * 65535) -- 20% to 75% wear
|
||||
table.insert(items, ItemStack({name = loot.name, wear = wear}))
|
||||
end
|
||||
elseif itemdef.stack_max == 1 then
|
||||
-- not stackable, add separately
|
||||
for n = 1, amount do
|
||||
table.insert(items, loot.name)
|
||||
end
|
||||
else
|
||||
table.insert(items, ItemStack({name = loot.name, count = amount}))
|
||||
end
|
||||
elseif itemdef.stack_max == 1 then
|
||||
-- not stackable, add separately
|
||||
for n = 1, amount do
|
||||
table.insert(items, loot.name)
|
||||
end
|
||||
else
|
||||
table.insert(items, ItemStack({name = loot.name, count = amount}))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user