Updated ambience, added game_commands, removed tons of old mods
1
mods/ambience
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit cddaf646e5e18e2b31c7aa474ce19cce9d8cdd8d
|
7
mods/game_commands/README.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Minetest Game mod: game_commands
|
||||||
|
================================
|
||||||
|
See license.txt for license information.
|
||||||
|
|
||||||
|
Authors of source code
|
||||||
|
----------------------
|
||||||
|
rubenwardy (MIT)
|
25
mods/game_commands/init.lua
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
minetest.register_chatcommand("killme", {
|
||||||
|
description = "Kill yourself to respawn",
|
||||||
|
func = function(name)
|
||||||
|
local player = minetest.get_player_by_name(name)
|
||||||
|
if player then
|
||||||
|
if minetest.settings:get_bool("enable_damage") then
|
||||||
|
player:set_hp(0)
|
||||||
|
return true
|
||||||
|
else
|
||||||
|
for _, callback in pairs(core.registered_on_respawnplayers) do
|
||||||
|
if callback(player) then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- There doesn't seem to be a way to get a default spawn pos
|
||||||
|
-- from the lua API
|
||||||
|
return false, "No static_spawnpoint defined"
|
||||||
|
end
|
||||||
|
else
|
||||||
|
-- Show error message if used when not logged in, eg: from IRC mod
|
||||||
|
return false, "You need to be online to be killed!"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
})
|
24
mods/game_commands/license.txt
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
License of source code
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
Copyright (C) 2017-2018 rubenwardy <rubenwardy@gmail.com>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||||
|
software and associated documentation files (the "Software"), to deal in the Software
|
||||||
|
without restriction, including without limitation the rights to use, copy, modify, merge,
|
||||||
|
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
||||||
|
persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or
|
||||||
|
substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||||
|
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||||
|
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
For more details:
|
||||||
|
https://opensource.org/licenses/MIT
|
@ -1,28 +0,0 @@
|
|||||||
Minetest Game mod: wool
|
|
||||||
=======================
|
|
||||||
|
|
||||||
Mostly backward-compatible with jordach's 16-color wool mod.
|
|
||||||
|
|
||||||
License of source code:
|
|
||||||
-----------------------
|
|
||||||
Copyright (C) 2012 Perttu Ahola (celeron55) <celeron55@gmail.com>
|
|
||||||
|
|
||||||
This program is free software. It comes without any warranty, to
|
|
||||||
the extent permitted by applicable law. You can redistribute it
|
|
||||||
and/or modify it under the terms of the Do What The Fuck You Want
|
|
||||||
To Public License, Version 2, as published by Sam Hocevar. See
|
|
||||||
http://sam.zoy.org/wtfpl/COPYING for more details.
|
|
||||||
|
|
||||||
License of media (textures and sounds)
|
|
||||||
--------------------------------------
|
|
||||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
|
||||||
http://creativecommons.org/licenses/by-sa/3.0/
|
|
||||||
|
|
||||||
Authors of media files
|
|
||||||
-----------------------
|
|
||||||
Cisoun:
|
|
||||||
- wool_black.png wool_brown.png wool_dark_green.png wool_green.png
|
|
||||||
- wool_magenta.png wool_pink.png wool_violet.png wool_yellow.png wool_blue.png
|
|
||||||
- wool_cyan.png wool_dark_grey.png wool_grey.png wool_orange.png wool_red.png
|
|
||||||
- wool_white.png
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
default
|
|
@ -1,50 +0,0 @@
|
|||||||
-- minetest/wool/init.lua
|
|
||||||
|
|
||||||
-- Backwards compatibility with jordach's 16-color wool mod
|
|
||||||
minetest.register_alias("wool:dark_blue", "wool:blue")
|
|
||||||
minetest.register_alias("wool:gold", "wool:yellow")
|
|
||||||
|
|
||||||
local wool = {}
|
|
||||||
-- This uses a trick: you can first define the recipes using all of the base
|
|
||||||
-- colors, and then some recipes using more specific colors for a few non-base
|
|
||||||
-- colors available. When crafting, the last recipes will be checked first.
|
|
||||||
wool.dyes = {
|
|
||||||
{"white", "White", "basecolor_white"},
|
|
||||||
{"grey", "Grey", "basecolor_grey"},
|
|
||||||
{"black", "Black", "basecolor_black"},
|
|
||||||
{"red", "Red", "basecolor_red"},
|
|
||||||
{"yellow", "Yellow", "basecolor_yellow"},
|
|
||||||
{"green", "Green", "basecolor_green"},
|
|
||||||
{"cyan", "Cyan", "basecolor_cyan"},
|
|
||||||
{"blue", "Blue", "basecolor_blue"},
|
|
||||||
{"magenta", "Magenta", "basecolor_magenta"},
|
|
||||||
{"orange", "Orange", "excolor_orange"},
|
|
||||||
{"violet", "Violet", "excolor_violet"},
|
|
||||||
{"brown", "Brown", "unicolor_dark_orange"},
|
|
||||||
{"pink", "Pink", "unicolor_light_red"},
|
|
||||||
{"dark_grey", "Dark Grey", "unicolor_darkgrey"},
|
|
||||||
{"dark_green", "Dark Green", "unicolor_dark_green"},
|
|
||||||
}
|
|
||||||
|
|
||||||
for _, row in ipairs(wool.dyes) do
|
|
||||||
local name = row[1]
|
|
||||||
local desc = row[2]
|
|
||||||
local craft_color_group = row[3]
|
|
||||||
-- Node Definition
|
|
||||||
minetest.register_node("wool:"..name, {
|
|
||||||
description = desc.." Wool",
|
|
||||||
tiles = {"wool_"..name..".png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1},
|
|
||||||
sounds = default.node_sound_defaults(),
|
|
||||||
})
|
|
||||||
if craft_color_group then
|
|
||||||
-- Crafting from dye and white wool
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = 'wool:'..name,
|
|
||||||
recipe = {'group:dye,'..craft_color_group, 'group:wool'},
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 263 B |
@ -1,13 +0,0 @@
|
|||||||
worldedge
|
|
||||||
=========
|
|
||||||
|
|
||||||
A Minetest Mod that teleports you to the other side of the map when you reach its edge.
|
|
||||||
This gives the illusion that that world is round and you can walk all the way around.
|
|
||||||
|
|
||||||
You can change the worlds edge by changing the first variable in init.lua
|
|
||||||
local edge = 30000
|
|
||||||
|
|
||||||
License of code: DWYWPL
|
|
||||||
|
|
||||||
Written by Amaz
|
|
||||||
Modified by Don
|
|
@ -1 +0,0 @@
|
|||||||
Allows you to limit the size of your world.
|
|
@ -1,143 +0,0 @@
|
|||||||
--------------
|
|
||||||
-- TODO: Check for terrain height
|
|
||||||
|
|
||||||
-- Defines the edge of a world
|
|
||||||
local edge = 4000
|
|
||||||
-- Radius which should be checked for a good teleportation place
|
|
||||||
local radius = 3
|
|
||||||
--------------
|
|
||||||
|
|
||||||
local count = 0
|
|
||||||
local waiting_list = {}
|
|
||||||
--[[ Explanation of waiting_list table
|
|
||||||
Index = Player name
|
|
||||||
Value = {
|
|
||||||
player = Player to teleport
|
|
||||||
pos = Destination
|
|
||||||
obj = Attacked entity
|
|
||||||
notified = When the player must wait longer...
|
|
||||||
}
|
|
||||||
]]
|
|
||||||
|
|
||||||
minetest.register_globalstep(function(dtime)
|
|
||||||
count = count + dtime
|
|
||||||
if count < 3 then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
count = 0
|
|
||||||
|
|
||||||
for k, v in pairs(waiting_list) do
|
|
||||||
if v.player and v.player:is_player() then
|
|
||||||
local pos = get_surface_pos(v.pos)
|
|
||||||
if pos then
|
|
||||||
v.obj:setpos(pos)
|
|
||||||
minetest.after(0.2, function(p, o)
|
|
||||||
p:set_detach()
|
|
||||||
o:remove()
|
|
||||||
end, v.player, v.obj)
|
|
||||||
waiting_list[k] = nil
|
|
||||||
elseif not v.notified then
|
|
||||||
v.notified = true
|
|
||||||
minetest.chat_send_player(k, "Sorry, we have not found a free place yet. Please be patient.")
|
|
||||||
end
|
|
||||||
else
|
|
||||||
v.obj:remove()
|
|
||||||
waiting_list[k] = nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
local newedge = edge - 5
|
|
||||||
-- Check if the players are near the edge and teleport them
|
|
||||||
local players = minetest.get_connected_players()
|
|
||||||
for i, player in ipairs(players) do
|
|
||||||
local name = player:get_player_name()
|
|
||||||
if not waiting_list[name] then
|
|
||||||
local pos = vector.round(player:getpos())
|
|
||||||
local newpos = nil
|
|
||||||
if pos.x >= edge then
|
|
||||||
newpos = {x = -newedge, y = 10, z = pos.z}
|
|
||||||
elseif pos.x <= -edge then
|
|
||||||
newpos = {x = newedge, y = 10, z = pos.z}
|
|
||||||
end
|
|
||||||
|
|
||||||
if pos.z >= edge then
|
|
||||||
newpos = {x = pos.x, y = 10, z = -newedge}
|
|
||||||
elseif pos.z <= -edge then
|
|
||||||
newpos = {x = pos.x, y = 10, z = newedge}
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Teleport the player
|
|
||||||
if newpos then
|
|
||||||
minetest.chat_send_player(name, "Please wait a few seconds. We will teleport you soon.")
|
|
||||||
local obj = minetest.add_entity(newpos, "worldedge:lock")
|
|
||||||
player:set_attach(obj, "", {x=0, y=0, z=0}, {x=0, y=0, z=0})
|
|
||||||
waiting_list[name] = {
|
|
||||||
player = player,
|
|
||||||
pos = newpos,
|
|
||||||
obj = obj
|
|
||||||
}
|
|
||||||
obj:setpos(newpos)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
|
|
||||||
function get_surface_pos(pos)
|
|
||||||
local minp = {
|
|
||||||
x = pos.x - radius - 1,
|
|
||||||
y = -10,
|
|
||||||
z = pos.z - radius - 1
|
|
||||||
}
|
|
||||||
local maxp = {
|
|
||||||
x = pos.x + radius - 1,
|
|
||||||
y = 50,
|
|
||||||
z = pos.z + radius - 1
|
|
||||||
}
|
|
||||||
|
|
||||||
local c_air = minetest.get_content_id("air")
|
|
||||||
local c_ignore = minetest.get_content_id("ignore")
|
|
||||||
|
|
||||||
local vm = minetest.get_voxel_manip()
|
|
||||||
local emin, emax = vm:read_from_map(minp, maxp)
|
|
||||||
local area = VoxelArea:new{MinEdge = emin, MaxEdge = emax}
|
|
||||||
local data = vm:get_data()
|
|
||||||
|
|
||||||
local seen_air = false
|
|
||||||
local deepest_place = vector.new(pos)
|
|
||||||
deepest_place.y = 50
|
|
||||||
|
|
||||||
for x = minp.x, maxp.x do
|
|
||||||
for z = minp.z, maxp.z do
|
|
||||||
local solid = 0
|
|
||||||
for y = deepest_place.y, -10, -1 do
|
|
||||||
local node = data[area:index(x, y, z)]
|
|
||||||
if y < deepest_place.y and node == c_air then
|
|
||||||
deepest_place = vector.new(x, y, z)
|
|
||||||
seen_air = true
|
|
||||||
end
|
|
||||||
if solid > 5 then
|
|
||||||
-- Do not find caves!
|
|
||||||
break
|
|
||||||
end
|
|
||||||
if node ~= c_air and node ~= c_ignore then
|
|
||||||
solid = solid + 1
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if seen_air then
|
|
||||||
return deepest_place
|
|
||||||
else
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_entity("worldedge:lock", {
|
|
||||||
initial_properties = {
|
|
||||||
is_visible = false
|
|
||||||
},
|
|
||||||
on_activate = function(staticdata, dtime_s)
|
|
||||||
--self.object:set_armor_groups({immortal = 1})
|
|
||||||
end
|
|
||||||
})
|
|
@ -1,13 +0,0 @@
|
|||||||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
|
||||||
or abbreviated DWYWPL
|
|
||||||
|
|
||||||
December 2nd 2015
|
|
||||||
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
|
|
||||||
www.sandboxgamemaker.com/DWYWPL/
|
|
||||||
|
|
||||||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
1. You are allowed to do whatever you want to with what content is using this license.
|
|
||||||
2. This content is provided 'as-is', without any express or implied warranty. In no event
|
|
||||||
will the authors be held liable for any damages arising from the use of this content.
|
|
@ -1 +0,0 @@
|
|||||||
name = worldedge
|
|
Before Width: | Height: | Size: 162 KiB |
@ -1,4 +0,0 @@
|
|||||||
3d_armor
|
|
||||||
shields
|
|
||||||
mobs?
|
|
||||||
xpanes?
|
|
@ -1,327 +0,0 @@
|
|||||||
minetest.register_craftitem("xtraarmor:soap", {
|
|
||||||
description = "Soap (For removing the color from dyed armor)",
|
|
||||||
inventory_image = "xtraarmor_soap.png",
|
|
||||||
groups = {flammable = 2},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:soap 5",
|
|
||||||
recipe = {"default:leaves", "dye:white"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:helmet_wool",
|
|
||||||
recipe = {"group:wool_helmet", "xtraarmor:soap"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:leggings_wool",
|
|
||||||
recipe = {"group:wool_leggings", "xtraarmor:soap"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:chestplate_wool",
|
|
||||||
recipe = {"group:wool_chestplate", "xtraarmor:soap"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:boots_wool",
|
|
||||||
recipe = {"group:wool_boots", "xtraarmor:soap"},
|
|
||||||
})
|
|
||||||
|
|
||||||
-------------------------------------------------------
|
|
||||||
|
|
||||||
local colors = {
|
|
||||||
"Green", "Red",
|
|
||||||
"Yellow", "White",
|
|
||||||
"Black", "Grey",
|
|
||||||
"Orange", "Dark Grey",
|
|
||||||
"Dark Green", "Cyan",
|
|
||||||
"Pink", "Magenta",
|
|
||||||
"Violet", "Brown",
|
|
||||||
"Blue"
|
|
||||||
}
|
|
||||||
|
|
||||||
minetest.register_alias("xtraarmor:helmet_leather", "xtraarmor:helmet_wool")
|
|
||||||
minetest.register_alias("xtraarmor:chestplate_leather", "xtraarmor:chestplate_wool")
|
|
||||||
minetest.register_alias("xtraarmor:leggings_leather", "xtraarmor:leggings_wool")
|
|
||||||
minetest.register_alias("xtraarmor:boots_leather", "xtraarmor:boots_wool")
|
|
||||||
|
|
||||||
for _, colorname in ipairs(colors) do
|
|
||||||
local color = string.gsub(string.lower(colorname), ' ', '_')
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:helmet_wool_" .. color, {
|
|
||||||
description = colorname .. " Cap",
|
|
||||||
inventory_image = "xtraarmor_inv_helmet_wool_" .. color .. ".png",
|
|
||||||
groups = {wool_helmet = 1, armor_head = 7, armor_use = 1000},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:chestplate_wool_" .. color, {
|
|
||||||
description = colorname .. " Tunic",
|
|
||||||
inventory_image = "xtraarmor_inv_chestplate_wool_" .. color .. ".png",
|
|
||||||
groups = {wool_chestplate = 1, armor_torso = 12, armor_use = 1000},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:leggings_wool_"..color, {
|
|
||||||
description = colorname .. " Trousers",
|
|
||||||
inventory_image = "xtraarmor_inv_leggings_wool_" .. color .. ".png",
|
|
||||||
groups = {wool_leggings = 1, armor_legs = 7, armor_use = 150},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:boots_wool_"..color, {
|
|
||||||
description = colorname .. " Boots",
|
|
||||||
inventory_image = "xtraarmor_inv_boots_wool_" .. color .. ".png",
|
|
||||||
groups = {wool_boots = 1, armor_feet = 7, physics_speed = 0.15, armor_use = 1000},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:helmet_wool_" .. color,
|
|
||||||
recipe = {"xtraarmor:helmet_wool", "dye:" .. color},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:chestplate_wool_" .. color,
|
|
||||||
recipe = {"xtraarmor:chestplate_wool", "dye:" .. color},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:leggings_wool_" .. color,
|
|
||||||
recipe = {"xtraarmor:leggings_wool", "dye:" .. color},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:boots_wool_" .. color,
|
|
||||||
recipe = {"xtraarmor:boots_wool", "dye:" .. color},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_alias("xtraarmor:helmet_leather_" .. color, "xtraarmor:helmet_wool_" .. color)
|
|
||||||
minetest.register_alias("xtraarmor:chestplate_leather_" .. color, "xtraarmor:chestplate_wool_" .. color)
|
|
||||||
minetest.register_alias("xtraarmor:leggings_leather_" .. color, "xtraarmor:chestplate_wool_" .. color)
|
|
||||||
minetest.register_alias("xtraarmor:boots_leather_" .. color, "xtraarmor:boots_wool_" .. color)
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:helmet_wool", {
|
|
||||||
description = "Wool Cap",
|
|
||||||
inventory_image = "xtraarmor_inv_helmet_wool.png",
|
|
||||||
groups = {armor_head = 5, armor_use = 1000},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:chestplate_wool", {
|
|
||||||
description = "Wool Tunic",
|
|
||||||
inventory_image = "xtraarmor_inv_chestplate_wool.png",
|
|
||||||
groups = {armor_torso = 10, armor_use = 1000},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:leggings_wool", {
|
|
||||||
description = "Wool Trousers",
|
|
||||||
inventory_image = "xtraarmor_inv_leggings_wool.png",
|
|
||||||
groups = {armor_legs = 5, armor_use = 150},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:boots_wool", {
|
|
||||||
description = "Wool Boots",
|
|
||||||
inventory_image = "xtraarmor_inv_boots_wool.png",
|
|
||||||
groups = {armor_feet = 5, physics_speed = 0.15, armor_use = 1000},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:helmet_wool',
|
|
||||||
recipe = {
|
|
||||||
{'group:wool', 'group:wool', 'group:wool'},
|
|
||||||
{'group:wool', '', 'group:wool'},
|
|
||||||
{'', '', ''},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:chestplate_wool',
|
|
||||||
recipe = {
|
|
||||||
{'group:wool', '', 'group:wool'},
|
|
||||||
{'group:wool', 'group:wool', 'group:wool'},
|
|
||||||
{'group:wool', 'group:wool', 'group:wool'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:leggings_wool',
|
|
||||||
recipe = {
|
|
||||||
{'group:wool', 'group:wool', 'group:wool'},
|
|
||||||
{'group:wool', '', 'group:wool'},
|
|
||||||
{'group:wool', '', 'group:wool'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:boots_wool',
|
|
||||||
recipe = {
|
|
||||||
{'', '', ''},
|
|
||||||
{'group:wool', '', 'group:wool'},
|
|
||||||
{'group:wool', '', 'group:wool'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:helmet_chainmail", {
|
|
||||||
description = "Chainmail Helmet",
|
|
||||||
inventory_image = "xtraarmor_inv_helmet_chainmail.png",
|
|
||||||
groups = {armor_head = 7, armor_heal = 0, armor_use = 750, physics_speed = -0.02},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:chestplate_chainmail", {
|
|
||||||
description = "Chainmail Chestplate",
|
|
||||||
inventory_image = "xtraarmor_inv_chestplate_chainmail.png",
|
|
||||||
groups = {armor_torso = 10, armor_heal = 0, armor_use = 750, physics_speed = -0.05},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:leggings_chainmail", {
|
|
||||||
description = "Chainmail Leggings",
|
|
||||||
inventory_image = "xtraarmor_inv_leggings_chainmail.png",
|
|
||||||
groups = {armor_legs = 10, armor_heal = 0, armor_use = 750, physics_speed = -0.05},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:boots_chainmail", {
|
|
||||||
description = "Chainmail Boots",
|
|
||||||
inventory_image = "xtraarmor_inv_boots_chainmail.png",
|
|
||||||
groups = {armor_feet = 7, armor_heal = 0, armor_use = 750, physics_speed = -0.02},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:shield_chainmail", {
|
|
||||||
description = "Chainmail Shield",
|
|
||||||
inventory_image = "xtraarmor_inv_shield_chainmail.png",
|
|
||||||
groups = {armor_shield = 7, armor_heal = 0, armor_use = 750},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:helmet_chainmail',
|
|
||||||
recipe = {
|
|
||||||
{'xpanes:bar', 'xpanes:bar', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', '', 'xpanes:bar'},
|
|
||||||
{'', '', ''},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:chestplate_chainmail',
|
|
||||||
recipe = {
|
|
||||||
{'xpanes:bar', '', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', 'xpanes:bar', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', 'xpanes:bar', 'xpanes:bar'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:leggings_chainmail',
|
|
||||||
recipe = {
|
|
||||||
{'xpanes:bar', 'xpanes:bar', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', '', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', '', 'xpanes:bar'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:boots_chainmail',
|
|
||||||
recipe = {
|
|
||||||
{'', '', ''},
|
|
||||||
{'xpanes:bar', '', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', '', 'xpanes:bar'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:shield_chainmail',
|
|
||||||
recipe = {
|
|
||||||
{'xpanes:bar', 'xpanes:bar', 'xpanes:bar'},
|
|
||||||
{'xpanes:bar', 'xpanes:bar', 'xpanes:bar'},
|
|
||||||
{'', 'xpanes:bar', ''},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:helmet_studded", {
|
|
||||||
description = "Studded Helmet",
|
|
||||||
inventory_image = "xtraarmor_inv_helmet_studded.png",
|
|
||||||
groups = {armor_head = 8, armor_heal = 0, armor_use = 400, physics_speed = -0.03},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:chestplate_studded", {
|
|
||||||
description = "Studded Chestplate",
|
|
||||||
inventory_image = "xtraarmor_inv_chestplate_studded.png",
|
|
||||||
groups = {armor_torso = 14, armor_heal = 0, armor_use = 400, physics_speed = -0.06},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:leggings_studded", {
|
|
||||||
description = "Studded Leggings",
|
|
||||||
inventory_image = "xtraarmor_inv_leggings_studded.png",
|
|
||||||
groups = {armor_legs = 14, armor_heal = 0, armor_use = 400, physics_speed = -0.06},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:boots_studded", {
|
|
||||||
description = "Studded Boots",
|
|
||||||
inventory_image = "xtraarmor_inv_boots_studded.png",
|
|
||||||
groups = {armor_feet = 8, armor_heal = 0, armor_use = 400, physics_speed = -0.03},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_tool("xtraarmor:shield_studded", {
|
|
||||||
description = "Studded Shield",
|
|
||||||
inventory_image = "xtraarmor_inv_shield_studded.png",
|
|
||||||
groups = {armor_shield = 8, armor_heal = 0, armor_use = 400},
|
|
||||||
wear = 0,
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:helmet_studded",
|
|
||||||
recipe = {"xtraarmor:helmet_chainmail", "xtraarmor:helmet_wool"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:chestplate_studded",
|
|
||||||
recipe = {"xtraarmor:chestplate_chainmail", "xtraarmor:chestplate_wool"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:leggings_studded",
|
|
||||||
recipe = {"xtraarmor:leggings_chainmail", "xtraarmor:leggings_wool"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "xtraarmor:boots_studded",
|
|
||||||
recipe = {"xtraarmor:boots_chainmail", "xtraarmor:boots_wool"},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = 'xtraarmor:shield_studded',
|
|
||||||
recipe = {
|
|
||||||
{'group:wool', 'group:wool', 'group:wool'},
|
|
||||||
{'group:wool', 'xtraarmor:shield_chainmail', 'group:wool'},
|
|
||||||
{'', 'group:wool', ''},
|
|
||||||
}
|
|
||||||
})
|
|
@ -1 +0,0 @@
|
|||||||
cc-by-sa 3.0
|
|
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.3 KiB |