mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-28 20:56:02 +02:00
Compare commits
85 Commits
5.6.0
...
nalc-1.6.1
Author | SHA1 | Date | |
---|---|---|---|
0c40684377 | |||
a18b189e01 | |||
08057e8e0f | |||
f7f90d8a29 | |||
3fa03057f3 | |||
8c9c50e590 | |||
3151f8f3cf | |||
aff9c28eed | |||
e903b1f6d0 | |||
b55329d3e1 | |||
7588085a09 | |||
e86d0dff94 | |||
5549b9585d | |||
d294ef757e | |||
0ad8222b97 | |||
a5d810bc78 | |||
a23819f4fe | |||
44d859d011 | |||
bb2876eebf | |||
41c2045fb0 | |||
250ef99721 | |||
dd7eed952e | |||
5e35fdc2a9 | |||
3f064d5ed4 | |||
b3e660e897 | |||
cb2c416b51 | |||
2fc9a68aa6 | |||
dcb3df0a38 | |||
19d903e8b3 | |||
721c598fbd | |||
0a9e24622f | |||
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 @@
|
|||||||
title = Minetest Game
|
title = Notre Ami Le Cube 1.6
|
||||||
author = Minetest
|
author = Minetest and Sys4
|
||||||
description = A basic exploration, mining, crafting, and building, sandbox game with no NPCs, monsters, or animals. Minetest Game is usually used with mods added, and many mods are available for this game. Reliably maintained by Minetest Engine core developers.
|
description = A basic exploration, mining, crafting, and building, sandbox game with no NPCs, monsters, or animals. Minetest Game is usually used with mods added, and many mods are available for this game. Reliably maintained by Minetest Engine core developers.
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
# This file contains settings of Minetest Game that can be changed in
|
||||||
|
# minetest.conf.
|
||||||
|
# By default, all the settings are commented and not functional.
|
||||||
|
# Uncomment settings by removing the preceding #.
|
||||||
|
|
||||||
|
# Whether creative mode (fast digging of all blocks, unlimited resources) should
|
||||||
|
# be enabled.
|
||||||
|
creative_mode = false
|
||||||
|
|
||||||
|
# Sets the behaviour of the inventory items when a player dies.
|
||||||
|
# bones: Store items in a bone node but drop items if inside protected area.
|
||||||
|
# drop: Drop items on the ground.
|
||||||
|
# keep: Player keeps items.
|
||||||
|
bones_mode = bones
|
||||||
|
|
||||||
|
# The time in seconds after which the bones of a dead player can be looted by
|
||||||
|
# everyone.
|
||||||
|
# 0 to disable.
|
||||||
|
share_bones_time = 1200
|
||||||
|
|
||||||
|
# How much earlier the bones of a dead player can be looted by
|
||||||
|
# everyone if the player dies in a protected area they don't own.
|
||||||
|
# 0 to disable. By default it is "share_bones_time" divide by four.
|
||||||
|
share_bones_time_early = 300
|
||||||
|
|
||||||
|
# Inform player of condition and location of new bones.
|
||||||
|
bones_position_message = true
|
||||||
|
|
||||||
|
# Whether fire should be enabled. If disabled, 'basic_flame' nodes will
|
||||||
|
# disappear.
|
||||||
|
# 'permanent_flame' nodes will remain with either setting.
|
||||||
|
enable_fire = false
|
||||||
|
|
||||||
|
# Enable flame sound.
|
||||||
|
flame_sound = true
|
||||||
|
|
||||||
|
# Whether lavacooling should be enabled.
|
||||||
|
enable_lavacooling = true
|
||||||
|
|
||||||
|
# Whether the stuff in initial_stuff should be given to new players.
|
||||||
|
give_initial_stuff = true
|
||||||
|
initial_stuff = default:axe_wood,default:torch 9,default:sapling 2,default:apple 5
|
||||||
|
|
||||||
|
# Whether the TNT mod should be enabled.
|
||||||
|
enable_tnt = true
|
||||||
|
|
||||||
|
# The radius of a TNT explosion.
|
||||||
|
tnt_radius = 3
|
||||||
|
|
||||||
|
# Enable the stairs mod ABM that replaces the old 'upside down'
|
||||||
|
# stair and slab nodes in old maps with the new param2 versions.
|
||||||
|
enable_stairs_replace_abm = false
|
||||||
|
|
||||||
|
# Whether to allow respawning in beds.
|
||||||
|
# Default value is true.
|
||||||
|
enable_bed_respawn = true
|
||||||
|
|
||||||
|
# Whether players can skip night by sleeping.
|
||||||
|
# Default value is true.
|
||||||
|
enable_bed_night_skip = true
|
||||||
|
|
||||||
|
# If enabled, fences and walls cannot be jumped over.
|
||||||
|
enable_fence_tall = true
|
||||||
|
|
||||||
|
# Whether the engine's spawn search, which does not check for a suitable
|
||||||
|
# starting biome, is used.
|
||||||
|
# Default value is false.
|
||||||
|
engine_spawn = false
|
||||||
|
|
||||||
|
# Whether river water source nodes create flowing sounds.
|
||||||
|
# Helps rivers create more sound, especially on level sections.
|
||||||
|
river_source_sounds = true
|
||||||
|
|
||||||
|
# Enable cloud variation by the 'weather' mod.
|
||||||
|
# Non-functional in V6 or Singlenode mapgens.
|
||||||
|
enable_weather = false
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
name = creative
|
name = creative
|
||||||
description = Minetest Game mod: creative
|
description = Minetest Game mod: creative
|
||||||
depends = default, sfinv
|
depends = sfinv
|
||||||
|
optional_depends = default
|
||||||
|
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_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.
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.
0
mods/default/sounds/default_snow_footstep.1.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.1.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.2.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.2.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.3.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.3.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.4.ogg
Normal file → Executable file
0
mods/default/sounds/default_snow_footstep.4.ogg
Normal file → Executable file
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.
@ -32,7 +32,13 @@ local function rotate_and_place(itemstack, placer, pointed_thing)
|
|||||||
if placer then
|
if placer then
|
||||||
local placer_pos = placer:get_pos()
|
local placer_pos = placer:get_pos()
|
||||||
if placer_pos then
|
if placer_pos then
|
||||||
param2 = minetest.dir_to_facedir(vector.subtract(p1, placer_pos))
|
local diff = vector.subtract(p1, placer_pos)
|
||||||
|
param2 = minetest.dir_to_facedir(diff)
|
||||||
|
-- The player places a node on the side face of the node he is standing on
|
||||||
|
if p0.y == p1.y and math.abs(diff.x) <= 0.5 and math.abs(diff.z) <= 0.5 and diff.y < 0 then
|
||||||
|
-- reverse node direction
|
||||||
|
param2 = (param2 + 2) % 4
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local finepos = minetest.pointed_thing_to_face_pos(placer, pointed_thing)
|
local finepos = minetest.pointed_thing_to_face_pos(placer, pointed_thing)
|
||||||
|
Reference in New Issue
Block a user