Compare commits

..

2 Commits

Author SHA1 Message Date
aff9c28eed Improve stair placement rotation for bridging (#2979)
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-18 11:02:24 +02:00
e903b1f6d0 Make default an optional dependency for the creative mod 2022-08-18 10:16:22 +02:00
52 changed files with 11 additions and 80 deletions

View File

@ -1,3 +1,3 @@
title = Notre Ami Le Cube 1.6
author = Minetest and Sys4
title = Minetest Game
author = Minetest
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.

View File

@ -1,76 +0,0 @@
# 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

View File

@ -1,3 +1,4 @@
name = creative
description = Minetest Game mod: creative
depends = default, sfinv
depends = sfinv
optional_depends = default

BIN
mods/default/sounds/default_break_glass.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_break_glass.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_break_glass.3.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_cool_lava.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_cool_lava.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_cool_lava.3.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_dig_crumbly.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_dig_dig_immediate.ogg Executable file → Normal file

Binary file not shown.

Binary file not shown.

BIN
mods/default/sounds/default_dirt_footstep.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_dirt_footstep.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_dug_node.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_dug_node.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_glass_footstep.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_grass_footstep.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_grass_footstep.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_grass_footstep.3.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_gravel_footstep.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_gravel_footstep.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_gravel_footstep.3.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_gravel_footstep.4.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_place_node.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_place_node.2.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_place_node.3.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_place_node_hard.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_place_node_hard.2.ogg Executable file → Normal file

Binary file not shown.

0
mods/default/sounds/default_snow_footstep.1.ogg Executable file → Normal file
View File

0
mods/default/sounds/default_snow_footstep.2.ogg Executable file → Normal file
View File

0
mods/default/sounds/default_snow_footstep.3.ogg Executable file → Normal file
View File

0
mods/default/sounds/default_snow_footstep.4.ogg Executable file → Normal file
View File

BIN
mods/default/sounds/default_wood_footstep.1.ogg Executable file → Normal file

Binary file not shown.

BIN
mods/default/sounds/default_wood_footstep.2.ogg Executable file → Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -32,7 +32,13 @@ local function rotate_and_place(itemstack, placer, pointed_thing)
if placer then
local placer_pos = placer:get_pos()
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
local finepos = minetest.pointed_thing_to_face_pos(placer, pointed_thing)