Minor game cleanup

This commit is contained in:
MoNTE48 2019-07-06 00:57:04 +02:00
parent c5c71d90aa
commit 5ecff2d57a
11 changed files with 10710 additions and 10766 deletions

View File

@ -1,5 +1,5 @@
MultiCraft Game mod: bucket MultiCraft Game mod: bucket
========================= ===========================
License of source code: License of source code:
----------------------- -----------------------
@ -15,5 +15,5 @@ http://www.gnu.org/licenses/lgpl-3.0.html
License of media (textures and sounds) License of media (textures and sounds)
-------------------------------------- --------------------------------------
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/

View File

@ -158,4 +158,4 @@ Shara RedCat (CC BY-SA 3.0):
pine_log.mts pine_log.mts
TumeniNodes (CC BY-SA 3.0): TumeniNodes (CC BY-SA 3.0):
pine_bush.mts pine_bush.mts

View File

@ -688,7 +688,7 @@ function doors.register_fencegate(name, def)
local fence_closed = table.copy(fence) local fence_closed = table.copy(fence)
fence_closed.node_box = { fence_closed.node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{-1/2, -1/2+5/16, -1/16, -1/2+2/16, 1/2, 1/16}, -- Left completion {-1/2, -1/2+5/16, -1/16, -1/2+2/16, 1/2, 1/16}, -- Left completion
{1/2-2/16, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, -- Right completion {1/2-2/16, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, -- Right completion
{-2/16, -1/2+6/16, -1/16, 0, 1/2-1/16, 1/16}, -- Center Left {-2/16, -1/2+6/16, -1/16, 0, 1/2-1/16, 1/16}, -- Center Left
@ -711,14 +711,14 @@ function doors.register_fencegate(name, def)
fence_closed.sound = "doors_fencegate_open" fence_closed.sound = "doors_fencegate_open"
fence_closed.selection_box = { fence_closed.selection_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{-1/2, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, -- Gate {-1/2, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, -- Gate
} }
} }
local fence_open = table.copy(fence) local fence_open = table.copy(fence)
fence_open.node_box = { fence_open.node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{-1/2, -1/2+5/16, -1/16, -1/2+2/16, 1/2, 1/16}, -- Left completion {-1/2, -1/2+5/16, -1/16, -1/2+2/16, 1/2, 1/16}, -- Left completion
{1/2-2/16, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, -- Right completion {1/2-2/16, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, -- Right completion
{-1/2, 1/2-4/16, 1/16, -1/2+2/16, 1/2-1/16, 1/2-2/16}, -- Top-left (transverse) x {-1/2, 1/2-4/16, 1/16, -1/2+2/16, 1/2-1/16, 1/2-2/16}, -- Top-left (transverse) x
@ -734,7 +734,7 @@ function doors.register_fencegate(name, def)
fence_open.groups.not_in_creative_inventory = 1 fence_open.groups.not_in_creative_inventory = 1
fence_open.selection_box = { fence_open.selection_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{-1/2, -1/2+5/16, -1/16, -1/2+2/16, 1/2, 1/2}, -- Left {-1/2, -1/2+5/16, -1/16, -1/2+2/16, 1/2, 1/2}, -- Left
{1/2-2/16, -1/2+5/16, -1/16, 1/2, 1/2, 1/2}, -- Right {1/2-2/16, -1/2+5/16, -1/16, 1/2, 1/2, 1/2}, -- Right
} }
@ -755,8 +755,8 @@ end
doors.register_fencegate("doors:gate_wood", { doors.register_fencegate("doors:gate_wood", {
description = "Apple Wood Fence Gate", description = "Apple Wood Fence Gate",
texture = "default_wood.png", texture = "default_wood.png",
inventory_image = "default_wood_fencegate.png", inventory_image = "default_wood_fencegate.png",
wield_image = "default_wood_fencegate.png", wield_image = "default_wood_fencegate.png",
material = "default:wood", material = "default:wood",
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2} groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}
}) })

View File

@ -1,5 +1,5 @@
local age = 0.5 -- How old an item has to be before collecting local radius = 2 -- Radius of item magnet
local radius_magnet = 2 -- Radius of item magnet local age = 0.5 -- How old an item has to be before collecting
local function collect_items(player) local function collect_items(player)
local pos = player:get_pos() local pos = player:get_pos()
@ -8,7 +8,7 @@ local function collect_items(player)
end end
-- Detect -- Detect
local col_pos = vector.add(pos, {x = 0, y = 1.3, z = 0}) local col_pos = vector.add(pos, {x = 0, y = 1.3, z = 0})
local objects = minetest.get_objects_inside_radius(col_pos, radius_magnet) local objects = minetest.get_objects_inside_radius(col_pos, radius)
for _, object in ipairs(objects) do for _, object in ipairs(objects) do
local entity = object:get_luaentity() local entity = object:get_luaentity()
if entity and not object:is_player() and if entity and not object:is_player() and

View File

@ -15,7 +15,7 @@ http://www.gnu.org/licenses/lgpl-3.0.html
License of media (textures and sounds) License of media (textures and sounds)
-------------------------------------- --------------------------------------
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 Authors of media files

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +1,25 @@
MultiCraft game mod: throwing MultiCraft Game mod: throwing
=============================
by PilzAdam by PilzAdam
Inroduction: Inroduction:
This mod adds bows and arrows to Minetest. This mod adds bows and arrows to Minetest.
How to use the mod: How to use the mod:
Craft a bow with the strings from the farming mod: Craft a bow with the strings from the farming mod:
stick string stick string
stick string stick string
stick string stick string
Craft arrows with: Craft arrows with:
flint flint
stick stick
paper paper
Select the bow and shoot with left mouse click. Every shoot will take 1 Select the bow and shoot with left mouse click. Every shoot will take 1
arrow from your inventory and wears out the bow (you have around 385 arrow from your inventory and wears out the bow (you have around 385
shoots). shoots).
License: License:
This mod was originally published by Jeija. Source code: PilzAdam and Jeija. WTFPL
Sourcecode: WTFPL (see below)
See also:
http://minetest.net/
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -1,18 +1,8 @@
=== TNT-MOD for multicraft-C55 === MultiCraft Game mod: tnt
by PilzAdam ========================
Introduction: Introduction:
This mod adds TNT to minetest. TNT is a tool to help the player This mod adds TNT. TNT is a tool to help the player in mining.
in mining.
How to install:
Unzip the archive an place it in multicraft-base-directory/mods/multicraft/
if you have a windows client or a linux run-in-place client. If you have
a linux system-wide instalation place it in ~/.multicraft/mods/multicraft/.
If you want to install this mod only in one world create the folder
worldmods/ in your worlddirectory.
For further information or help see:
http://wiki.minetest.com/wiki/Installing_Mods
How to use the mod: How to use the mod:
Craft gunpowder by placing coal and gravel in the crafting area. The Craft gunpowder by placing coal and gravel in the crafting area. The
@ -25,21 +15,4 @@ There are different ways to blow up TNT:
Be aware of the damage radius of 7 blocks! Be aware of the damage radius of 7 blocks!
License: License:
WTFPL (see below) Source code: PilzAdam. WTFPL
See also:
http://minetest.net/
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -1,4 +0,0 @@
[mod] visible wielded items [wieldview]
=======================================
License Source Code: Copyright (C) 2013-2018 Stuart Jones - LGPLv3.0+ (with the permission of the author)

View File

@ -1,23 +1,14 @@
[mod] visible wielded items [wieldview] MultiCraft Game mod: wieldview
======================================= ===========================
Authors of source code
----------------------
Copyright (C) 2013-2019 Stuart Jones - LGPLv3.0+ (with the permission of the author)
Depends on: 3d_armor
Makes hand wielded items visible to other players. Makes hand wielded items visible to other players.
default settings: [minetest.conf]
# Set number of seconds between visible wielded item updates.
wieldview_update_time = 2
# Show nodes as tiles, disabled by default
wieldview_node_tiles = false
Info for modders
################
Wield image transformation: To apply a simple transformation to the item in Wield image transformation: To apply a simple transformation to the item in
hand, add the group “wieldview_transform” to the item definition. The group hand, add the group "wieldview_transform" to the item definition. The group
rating equals one of the numbers used for the [transform texture modifier rating equals one of the numbers used for the [transform texture modifier
of the Lua API. of the Lua API.