Browse Source

patch nftools with new recipes and graphics, excluding unused

resolves #22 and resolves #224
master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
45b339cd06
  1. 13
      patches/Bucket_Game-basis/mods/coderbuild/nftools/LICENSE
  2. 1
      patches/Bucket_Game-basis/mods/coderbuild/nftools/depends.txt
  3. 332
      patches/Bucket_Game-basis/mods/coderbuild/nftools/init.lua
  4. 7
      patches/Bucket_Game-basis/mods/coderbuild/nftools/oldcoder.txt
  5. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_alexandrite.png
  6. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_alexandriteore.png
  7. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amber.png
  8. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amberchip.png
  9. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amethyst.png
  10. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amethystore.png
  11. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_aquamarine.png
  12. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_aquamarineore.png
  13. BIN
      patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_quartz_crystal.png
  14. 67
      patches/Bucket_Game-patched/mods/coderbuild/nftools/LICENSE
  15. 2
      patches/Bucket_Game-patched/mods/coderbuild/nftools/depends.txt
  16. 385
      patches/Bucket_Game-patched/mods/coderbuild/nftools/init.lua
  17. 43
      patches/Bucket_Game-patched/mods/coderbuild/nftools/oldcoder.txt
  18. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_blackopal.xcf
  19. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_stool 2a (full size).png
  20. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_battleaxe 1a (rendered).png
  21. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_battleaxe 2a (full size, photomanip to stone).png
  22. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_battleaxe(small).png
  23. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_mace (small).png
  24. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_mace 1a (rendered).png
  25. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_mace 2a (full size).png
  26. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe (low-fi).png
  27. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe (small).png
  28. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe 1a (rendered).png
  29. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe 2a (full size).png
  30. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_amber_block.png
  31. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_amberchip.png
  32. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_bismuth.png
  33. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_blackopal.png
  34. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_debug.png
  35. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mesepick.png
  36. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mesepick_wield.png
  37. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_amber.png
  38. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_bismuth.png
  39. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_blackopal.png
  40. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_turquoise.png
  41. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_quartz_crystal.png
  42. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_stool.png
  43. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_tool_battleaxe.png
  44. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_tool_mace.png
  45. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_tool_scythe.png
  46. BIN
      patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_turquoise.png

13
patches/Bucket_Game-basis/mods/coderbuild/nftools/LICENSE

@ -0,0 +1,13 @@
DO WHAT THE F*CK 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 F*CK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE F*CK YOU WANT TO.

1
patches/Bucket_Game-basis/mods/coderbuild/nftools/depends.txt

@ -0,0 +1 @@
default

332
patches/Bucket_Game-basis/mods/coderbuild/nftools/init.lua

@ -0,0 +1,332 @@
-- ===================================================================
-- Light.
minetest.register_node ("nftools:light", {
drawtype = "glasslike" ,
tiles = { "nftools_debug.png" } ,
is_ground_content = true ,
paramtype = "light" ,
light_source = default.LIGHT_MAX - 1 ,
groups = {
cracky = 3, oddly_breakable_by_hand=2,
} ,
sounds = default.node_sound_stone_defaults() ,
})
-- ===================================================================
-- Mese Pickaxe.
minetest.register_tool ("nftools:pick_mese", {
description = "Mese Pickaxe with light",
inventory_image = "nftools_mesepick.png",
wield_image = "nftools_mesepick_wield.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
cracky={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3},
crumbly={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3},
snappy={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3}
}
},
})
minetest.register_craft ({
output = 'nftools:pick_mese',
recipe = {
{'default:torch'},
{'default:pick_mese'},
}
})
-- ===================================================================
-- Stool.
minetest.register_node ("nftools:stool",{
description = "Wooden Stool",
tiles = {"nftools_stool.png"},
drop = 'nftools:stool',
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(),
drawtype="nodebox",
paramtype = "light",
node_box = {
type = "fixed",
fixed = {
{0.412500,-0.500000,-0.500000,0.500000,0.000000,-0.437500}, --NodeBox 1
{-0.500000,-0.500000,-0.500000,-0.437500,0.000000,-0.437500}, --NodeBox 2
{0.412500,-0.500000,0.437504,0.500000,0.000000,0.500000}, --NodeBox 3
{-0.500000,-0.500000,0.462500,-0.437500,0.000000,0.500000}, --NodeBox 4
{-0.500000,0.000000,-0.500000,0.500000,0.062500,0.500000}, --NodeBox 5
}
}
})
-- ===================================================================
-- Quartz crystals.
minetest.register_node ("nftools:quartz_crystals", {
description = "Quartz Crystals",
tiles = {"nftools_quartz_crystal.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
drawtype="nodebox",
paramtype = "light",
paramtype2="facedir",
sunlight_propagates = true,
node_box = {
type = "fixed",
fixed = {
{-0.437500,-0.500000,-0.437500,0.425000,-0.250000,0.425004},
{-0.375000,-0.250000,0.187500,-0.250000,0.500000,0.312500},
{0.062500,-0.250000,-0.187500,0.312500,0.375000,0.125000},
{-0.312500,-0.500000,-0.250000,-0.125000,0.125000,0.000000},
{-0.187500,-0.250000,-0.437500,0.125000,0.500000,-0.250000},
{0.000000,-0.312500,0.187500,0.250000,0.312500,0.375000},
{-0.125000,-0.187500,-0.250000,0.062500,0.312500,0.000000},
{0.125000,-0.250000,-0.375000,0.375000,0.375000,-0.187500},
{-0.250000,-0.250000,0.062500,0.000000,0.125000,0.375000},
}
}
})
-- ===================================================================
-- Ore.
minetest.register_ore ({
ore_type = "scatter",
ore = "nftools:alexandrite_ore",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
flags = "absheight",
})
-- ===================================================================
minetest.register_ore ({
ore_type = "scatter",
ore = "nftools:amber",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
flags = "absheight",
})
-- ===================================================================
minetest.register_ore ({
ore_type = "scatter",
ore = "nftools:amethyst_ore",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
flags = "absheight",
})
-- ===================================================================
minetest.register_ore ({
ore_type = "scatter",
ore = "nftools:aquamarine_ore",
wherein = "default:stone",
clust_scarcity = 13*13*13,
clust_num_ores = 5,
clust_size = 3,
y_max = -5,
y_min = -40,
flags = "absheight",
})
-- ===================================================================
-- Alexandrite
minetest.register_node ("nftools:alexandrite_ore", {
description = "Alexandrite Ore",
tiles = {"nftools_alexandriteore.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:alexandrite",
})
minetest.register_craftitem ("nftools:alexandrite", {
description = "Alexandrite",
inventory_image = "nftools_alexandrite.png",
})
-- ===================================================================
-- Amber
minetest.register_node ("nftools:amber", {
description = "Amber",
tiles = {"nftools_amber.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:amber_chip",
})
minetest.register_craftitem ("nftools:amber_chip", {
description = "Amber Chip",
inventory_image = "nftools_amberchip.png",
})
-- ===================================================================
-- Aquamarine
minetest.register_node ("nftools:aquamarine_ore", {
description = "Aquamarine Ore",
tiles = {"nftools_aquamarineore.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:aquamarine_ore",
})
minetest.register_craftitem ("nftools:aquamarine", {
description = "Aquamarine",
inventory_image = "nftools_aquamarine.png",
})
-- ===================================================================
-- Smelting
minetest.register_craft ({
type = "cooking",
output = "nftools:aquamarine",
recipe = "nftools:aquamarine_ore",
})
minetest.register_craft ({
type = "cooking",
output = "nftools:alexandrite",
recipe = "nftools:alexandrite_ore",
})
minetest.register_craft ({
type = "cooking",
output = "nftools:amethyst",
recipe = "nftools:amethyst_ore",
})
-- ===================================================================
-- Amethyst
minetest.register_node ("nftools:amethyst_ore", {
description = "Amethyst Ore",
tiles = {"nftools_amethystore.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:amethyst",
})
minetest.register_craftitem ("nftools:amethyst", {
description = "Amethyst",
inventory_image = "nftools_amethyst.png",
})
-- ===================================================================
-- Sunflower.
minetest.register_node ("nftools:sunflower", {
description = "Sunflower",
drawtype = "plantlike",
visual_scale = 1.5,
tiles = {"nftools_sunflower.png"},
inventory_image = "nftools_sunflower.png",
wield_image = "nftools_sunflower.png",
paramtype = "light",
walkable = false,
buildable_to = true,
is_ground_content = true,
groups = {snappy=3,flammable=2,flora=1,attached_node=1},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
})
-- ===================================================================
-- Scythe
minetest.register_tool ("nftools:scythe", {
description = "Scythe",
inventory_image = "nftools_tool_scythe.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=100, maxlevel=2},
},
damage_groups = {fleshy=6},
}
})
minetest.register_craft ({
output = 'nftools:scythe',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', '', 'default:stick'},
{'', '', 'default:stick'},
}
})
-- ===================================================================
-- Mace
minetest.register_tool ("nftools:mace", {
description = "Mace",
inventory_image = "nftools_tool_mace.png",
tool_capabilities = {
full_punch_interval = 1.5,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=70, maxlevel=2},
},
damage_groups = {fleshy=5},
}
})
minetest.register_craft ({
output = 'nftools:mace',
recipe = {
{'default:obsidian_shard', 'default:steel_ingot', 'default:obsidian_shard'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
})
-- ===================================================================
-- Battle-axe
minetest.register_tool ("nftools:battleaxe", {
description = "Battle Axe",
inventory_image = "nftools_tool_battleaxe.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=40, maxlevel=2},
},
damage_groups = {fleshy=4},
}
})
minetest.register_craft ({
output = 'nftools:battleaxe',
recipe = {
{'default:cobble', 'default:cobble', 'default:cobble'},
{'', 'default:cobble', ''},
{'', 'default:stick', ''},
}
})

7
patches/Bucket_Game-basis/mods/coderbuild/nftools/oldcoder.txt

@ -0,0 +1,7 @@
Name: nftools
Source: Fork of upstream mod - Do not replace
License: WTFPL
----------------------------------------------------------------------
To be documented.

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_alexandrite.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_alexandriteore.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amber.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amberchip.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amethyst.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_amethystore.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_aquamarine.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_aquamarineore.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

BIN
patches/Bucket_Game-basis/mods/coderbuild/nftools/textures/nftools_quartz_crystal.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

67
patches/Bucket_Game-patched/mods/coderbuild/nftools/LICENSE

@ -0,0 +1,67 @@
# nftools license and author info
## Minerals
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>, Poikilos (modified by)
Creative Commons Zero
(formerly WTFPL Version 2, December 2004, and what I want to do is
rerelease an improved version with a better license)
<https://creativecommons.org/share-your-work/public-domain/cc0/>
## Stool
photo-326311 by Pixabay, made into texture by Poikilos
Creative Commons Zero
(replaces old stool texture)
## Weapons
### Mace model & image (only rendered, retouched image is included)
Creative Commons Attribution 3.0
You can use this model for any porposes according to the following
conditions:
You MUST give attribution/credit to
antonis <https://www.blendswap.com/blends/view/73677>,
Poikilos (relit, rendered, & retouched by)
### Axe model & image (only rendered, retouched image is included)
Creative Commons Attribution 3.0
You can use this model for any porposes according to the following
conditions:
You MUST give attribution/credit to
izuzf <https://www.blendswap.com/blends/view/58591>,
Poikilos (relit, rendered, & retouched by)
### Scythe model & image (only rendered, retouched image is included)
Creative Commons Attribution 3.0
You can use this model for any porposes according to the following
conditions:
You MUST give attribution/credit to
GemmaMuhammad <https://www.blendswap.com/blends/view/60556>
Poikilos (relit, rendered, & retouched by)
## Code
MIT License
(formerly WTFPL Version 2, December 2004, and what I want to do is
rerelease an improved version with a better license)
Copyright 2004 Sam Hocevar, 2019 OldCoder, 2019 Poikilos
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.

2
patches/Bucket_Game-patched/mods/coderbuild/nftools/depends.txt

@ -0,0 +1,2 @@
default
quartz?

385
patches/Bucket_Game-patched/mods/coderbuild/nftools/init.lua

@ -0,0 +1,385 @@
-- ===================================================================
-- Light.
minetest.register_node("nftools:light", {
drawtype = "glasslike" ,
tiles = { "nftools_debug.png" } ,
is_ground_content = true ,
paramtype = "light" ,
light_source = default.LIGHT_MAX - 1 ,
groups = {
cracky = 3, oddly_breakable_by_hand=2,
} ,
sounds = default.node_sound_stone_defaults() ,
})
-- ===================================================================
-- Mese Pickaxe.
minetest.register_tool("nftools:pick_mese", {
description = "Mese Pickaxe with light",
inventory_image = "nftools_mesepick.png",
wield_image = "nftools_mesepick_wield.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
cracky={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3},
crumbly={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3},
snappy={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=20, maxlevel=3}
}
},
})
minetest.register_craft({
output = 'nftools:pick_mese',
recipe = {
{'default:torch'},
{'default:pick_mese'},
}
})
-- ===================================================================
-- Stool.
minetest.register_node("nftools:stool",{
description = "Wooden Stool",
tiles = {"nftools_stool.png"},
drop = 'nftools:stool',
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(),
drawtype="nodebox",
paramtype = "light",
node_box = {
type = "fixed",
fixed = {
{0.412500,-0.500000,-0.500000,0.500000,0.000000,-0.437500}, --NodeBox 1
{-0.500000,-0.500000,-0.500000,-0.437500,0.000000,-0.437500}, --NodeBox 2
{0.412500,-0.500000,0.437504,0.500000,0.000000,0.500000}, --NodeBox 3
{-0.500000,-0.500000,0.462500,-0.437500,0.000000,0.500000}, --NodeBox 4
{-0.500000,0.000000,-0.500000,0.500000,0.062500,0.500000}, --NodeBox 5
}
}
})
-- ===================================================================
-- Quartz crystals.
minetest.register_node("nftools:quartz_crystals", {
description = "Quartz Crystals",
tiles = {"nftools_quartz_crystal.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_stone_defaults(),
drawtype="nodebox",
paramtype = "light",
paramtype2="facedir",
sunlight_propagates = true,
node_box = {
type = "fixed",
fixed = {
{-0.437500,-0.500000,-0.437500,0.425000,-0.250000,0.425004},
{-0.375000,-0.250000,0.187500,-0.250000,0.500000,0.312500},
{0.062500,-0.250000,-0.187500,0.312500,0.375000,0.125000},
{-0.312500,-0.500000,-0.250000,-0.125000,0.125000,0.000000},
{-0.187500,-0.250000,-0.437500,0.125000,0.500000,-0.250000},
{0.000000,-0.312500,0.187500,0.250000,0.312500,0.375000},
{-0.125000,-0.187500,-0.250000,0.062500,0.312500,0.000000},
{0.125000,-0.250000,-0.375000,0.375000,0.375000,-0.187500},
{-0.250000,-0.250000,0.062500,0.000000,0.125000,0.375000},
}
}
})
-- ===================================================================
-- Ore.
minetest.register_ore({
ore_type = "scatter",
ore = "nftools:stone_with_bismuth",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
flags = "absheight",
})
-- ===================================================================
minetest.register_ore({
ore_type = "scatter",
ore = "nftools:stone_with_amber",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
flags = "absheight",
})
-- ===================================================================
minetest.register_ore({
ore_type = "scatter",
ore = "nftools:stone_with_blackopal",
wherein = "default:stone",
clust_scarcity = 24*24*24,
clust_num_ores = 27,
clust_size = 6,
y_max = -64,
y_min = -31000,
flags = "absheight",
})
-- ===================================================================
minetest.register_ore({
ore_type = "scatter",
ore = "nftools:stone_with_turquoise",
wherein = "default:stone",
clust_scarcity = 13*13*13,
clust_num_ores = 5,
clust_size = 3,
y_max = -5,
y_min = -40,
flags = "absheight",
})
-- ===================================================================
-- Bismuth (formerly Alexandrite)
minetest.register_alias("nftools:alexandrite_ore", "nftools:stone_with_bismuth")
minetest.register_alias("nftools:alexandrite", "nftools:bismuth")
minetest.register_craftitem("nftools:bismuth", {
description = "Bismuth",
inventory_image = "nftools_bismuth.png",
})
minetest.register_node("nftools:stone_with_bismuth", {
description = "Raw Bismuth",
tiles = {"default_stone.png^nftools_mineral_bismuth.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:stone_with_bismuth",
})
-- ===================================================================
-- Smelting (only metals)
minetest.register_craft ({
type = "cooking",
output = "nftools:bismuth",
recipe = "nftools:stone_with_bismuth",
})
-- ===================================================================
-- Amber
minetest.register_alias("nftools:amber", "nftools:stone_with_amber")
-- (formerly called amber but dropped chip; use conventions instead)
minetest.register_node("nftools:stone_with_amber", {
description = "Rough Amber",
tiles = {"default_stone.png^nftools_mineral_amber.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:amber_chip",
})
minetest.register_craftitem("nftools:amber_chip", {
description = "Amber",
inventory_image = "nftools_amberchip.png",
})
-- ===================================================================
-- Turquoise (formerly Aquamarine)
minetest.register_alias("nftools:aquamarine_ore", "nftools:stone_with_turquoise")
minetest.register_alias("nftools:aquamarine", "nftools:turquoise")
minetest.register_node("nftools:stone_with_turquoise", {
description = "Rough Turquoise",
tiles = {"default_stone.png^nftools_mineral_turquoise.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:turquoise",
})
minetest.register_craftitem("nftools:turquoise", {
description = "Turquoise",
inventory_image = "nftools_turquoise.png",
})
-- ===================================================================
-- Black Opal (formerly Amethyst)
minetest.register_alias("nftools:amethyst_ore", "nftools:stone_with_blackopal")
minetest.register_alias("nftools:amethyst", "nftools:blackopal")
minetest.register_craftitem("nftools:blackopal", {
description = "Black Opal",
inventory_image = "nftools_blackopal.png",
})
minetest.register_node("nftools:stone_with_blackopal", {
description = "Rough Black Opal",
tiles = {"default_stone.png^nftools_mineral_blackopal.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:blackopal",
})
-- ===================================================================
-- Sunflower.
minetest.register_node("nftools:sunflower", {
description = "Sunflower",
drawtype = "plantlike",
visual_scale = 1.5,
tiles = {"nftools_sunflower.png"},
inventory_image = "nftools_sunflower.png",
wield_image = "nftools_sunflower.png",
paramtype = "light",
walkable = false,
buildable_to = true,
is_ground_content = true,
groups = {snappy=3,flammable=2,flora=1,attached_node=1},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
},
})
-- ===================================================================
-- Blocks
minetest.register_node("nftools:amberblock", {
description = "Amber Block",
drawtype = "glasslike",
paramtype = "light",
sunlight_propagates = true,
tiles = {"nftools_amber_block.png"},
is_ground_content = true,
groups = {cracky=1},
drop = "nftools:amberblock",
})
local function registerblockrecipe(name, blockname)
minetest.register_craft({
output = blockname,
recipe = {{name, name, name},
{name, name, name},
{name, name, name}
}
})
minetest.register_craft({
output = name..' 9',
recipe = {
{blockname},
}
})
end
registerblockrecipe('nftools:amber_chip', 'nftools:amberblock')
if minetest.get_modpath("quartz") ~= nil then
minetest.register_craft({
output = "nftools:quartz_crystals",
recipe = {
{'', '', ''},
{'', 'quartz:quartz_crystal', ''},
{'quartz:quartz_crystal', 'nftools:amberblock', 'quartz:quartz_crystal'}
}
})
minetest.register_craft({
output = "quartz:quartz_crystal"..' 3',
recipe = {
{"nftools:quartz_crystals"},
}
})
end
-- ===================================================================
-- Scythe
minetest.register_tool("nftools:scythe", {
description = "Scythe",
inventory_image = "nftools_tool_scythe.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=100, maxlevel=2},
},
damage_groups = {fleshy=6},
}
})
minetest.register_craft({
output = 'nftools:scythe',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', '', 'default:stick'},
{'', '', 'default:stick'},
}
})
-- ===================================================================
-- Mace
minetest.register_tool("nftools:mace", {
description = "Mace",
inventory_image = "nftools_tool_mace.png",
tool_capabilities = {
full_punch_interval = 1.5,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=70, maxlevel=2},
},
damage_groups = {fleshy=5},
}
})
minetest.register_craft({
output = 'nftools:mace',
recipe = {
{'default:obsidian_shard', 'default:steel_ingot', 'default:obsidian_shard'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
})
-- ===================================================================
-- Battle-axe
minetest.register_tool("nftools:battleaxe", {
description = "Battle Axe",
inventory_image = "nftools_tool_battleaxe.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level=1,
groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=40, maxlevel=2},
},
damage_groups = {fleshy=4},
}
})
minetest.register_craft({
output = 'nftools:battleaxe',
recipe = {
{'default:cobble', 'default:cobble', 'default:cobble'},
{'', 'default:cobble', ''},
{'', 'default:stick', ''},
}
})

43
patches/Bucket_Game-patched/mods/coderbuild/nftools/oldcoder.txt

@ -0,0 +1,43 @@
Name: nftools
Source: Fork of upstream mod - Do not replace
License: MIT rerelease of modified WTFPL source media and code
----------------------------------------------------------------------
Nftools adds additional minerals and tools to minetest.
New tools:
* Battle Axe (low level weapon, does knockback occasionally)
* Mace (high level weapon)
* Scythe
The Original version by Sam Hocevar adds the following minerals:
Amber (block and "chip")
Poikilos' fork is designed to compliment birthstones by making the
following changes:
* Changed alexandrite (overlap with birthstones):
to bismuth (it already looked somewhat like bismuth)
* Changed amethyst (modified texture until looked like black opal):
to black opal.
* Changed aquamarine:
to turquoise
* Use standard texture naming conventions
(change nftools_*ore.png to nftools_mineral_*.png,
nftools:*_ore to nftools:stone_with_*,
nftools:amber to nftools:stone_with_amber)
* The old minerals in the world converted to the one following the comma:
`nftools:amethyst, nftools:black_opal`
`nftools:alexandrite_ore, nftools:bismuth`
`nftools:aquamarine, nftools:turquoise`
Unrelated changes:
* Battle Axe, Mace, and Scythe textures
* Tint of amber nodes is now amber (with yellow highlights) instead of
yellow. Blending is improved, and texture is 16% transparent.
* Bismuth texture is more angular to look even more like bismuth
* Improve ore textures (nftools_mineral_*.png)
* fixed issue where aquamarine ore drops ore
* removed all smelting (smelting gemstones? really? not anymore)
except Bismuth (formerly nftools:alexandrite)
* Register each craftitem before referencding it as a drop.
* Make missing recipe for quartz crystals node (displayable quartz)

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_blackopal.xcf

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_stool 2a (full size).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_battleaxe 1a (rendered).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_battleaxe 2a (full size, photomanip to stone).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_battleaxe(small).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_mace (small).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_mace 1a (rendered).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_mace 2a (full size).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe (low-fi).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe (small).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe 1a (rendered).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/src/nftools_tool_scythe 2a (full size).png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_amber_block.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_amberchip.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_bismuth.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_blackopal.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_debug.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mesepick.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mesepick_wield.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_amber.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_bismuth.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_blackopal.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_mineral_turquoise.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_quartz_crystal.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_stool.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_tool_battleaxe.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_tool_mace.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_tool_scythe.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

BIN
patches/Bucket_Game-patched/mods/coderbuild/nftools/textures/nftools_turquoise.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Loading…
Cancel
Save