mods that hopefully work for a TechAge-based pack
@@ -0,0 +1,7 @@
|
||||
A mod for minetest that adds colored string and the ability to craft 4 string from wool and viceversa
|
||||
|
||||
|
||||
<img src="https://img.shields.io/liberapay/receives/Alib234.svg?logo=liberapay">
|
||||
|
||||
|
||||
<noscript><a href="https://liberapay.com/Alib234/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>
|
||||
@@ -0,0 +1,70 @@
|
||||
minetest.register_craftitem("coloredstrings:string_grey",{
|
||||
description=("Grey String"),
|
||||
inventory_image="string_grey.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_dark_grey",{
|
||||
description=("Dark Grey String"),
|
||||
inventory_image="string_dark_grey.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_black",{
|
||||
description=("Black String"),
|
||||
inventory_image="string_black.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_blue",{
|
||||
description=("Blue String"),
|
||||
inventory_image="string_blue.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_cyan",{
|
||||
description=("Cyan String"),
|
||||
inventory_image="string_cyan.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_green",{
|
||||
description=("Green String"),
|
||||
inventory_image="string_green.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_dark_green",{
|
||||
description=("Dark Green String"),
|
||||
inventory_image="string_dark_green.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_yellow",{
|
||||
description=("Yellow String"),
|
||||
inventory_image="string_yellow.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_orange",{
|
||||
description=("Orange String"),
|
||||
inventory_image="string_orange.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_brown",{
|
||||
description=("Brown String"),
|
||||
inventory_image="string_brown.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_red",{
|
||||
description=("Red String"),
|
||||
inventory_image="string_red.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_pink",{
|
||||
description=("Pink String"),
|
||||
inventory_image="string_pink.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_magenta",{
|
||||
description=("Magenta String"),
|
||||
inventory_image="string_magenta.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
minetest.register_craftitem("coloredstrings:string_violet",{
|
||||
description=("Violet String"),
|
||||
inventory_image="string_violet.png",
|
||||
groups={flammable=2},
|
||||
})
|
||||
@@ -0,0 +1,3 @@
|
||||
local modpath=minetest.get_modpath("coloredstrings")
|
||||
dofile(modpath.."/craftitems.lua")
|
||||
dofile(modpath.."/registercrafts.lua")
|
||||
@@ -0,0 +1,197 @@
|
||||
--wool into string
|
||||
minetest.register_craft({
|
||||
output="farming:string 4",
|
||||
recipe={
|
||||
{"wool:white",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_grey 4",
|
||||
recipe={
|
||||
{"wool:grey",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_dark_grey 4",
|
||||
recipe={
|
||||
{"wool:dark_grey",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_black 4",
|
||||
recipe={
|
||||
{"wool:black",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_blue 4",
|
||||
recipe={
|
||||
{"wool:blue",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_cyan 4",
|
||||
recipe={
|
||||
{"wool:cyan",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_green 4",
|
||||
recipe={
|
||||
{"wool:green",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_dark_green 4",
|
||||
recipe={
|
||||
{"wool:dark_green",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_yellow 4",
|
||||
recipe={
|
||||
{"wool:yellow",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_orange 4",
|
||||
recipe={
|
||||
{"wool:orange",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_brown 4",
|
||||
recipe={
|
||||
{"wool:brown",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_red 4",
|
||||
recipe={
|
||||
{"wool:red",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_pink 4",
|
||||
recipe={
|
||||
{"wool:pink",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_magenta 4",
|
||||
recipe={
|
||||
{"wool:magenta",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="coloredstrings:string_violet 4",
|
||||
recipe={
|
||||
{"wool:violet",},
|
||||
}
|
||||
})
|
||||
--string into wool
|
||||
minetest.register_craft({
|
||||
output="wool:white",
|
||||
recipe={
|
||||
{"farming:string","farming:string",},
|
||||
{"farming:string","farming:string",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:grey",
|
||||
recipe={
|
||||
{"coloredstrings:string_grey","coloredstrings:string_grey",},
|
||||
{"coloredstrings:string_grey","coloredstrings:string_grey",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:dark_grey",
|
||||
recipe={
|
||||
{"coloredstrings:string_dark_grey","coloredstrings:string_dark_grey",},
|
||||
{"coloredstrings:string_dark_grey","coloredstrings:string_dark_grey",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:black",
|
||||
recipe={
|
||||
{"coloredstrings:string_black","coloredstrings:string_black",},
|
||||
{"coloredstrings:string_black","coloredstrings:string_black",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:blue",
|
||||
recipe={
|
||||
{"coloredstrings:string_blue","coloredstrings:string_blue",},
|
||||
{"coloredstrings:string_blue","coloredstrings:string_blue",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:cyan",
|
||||
recipe={
|
||||
{"coloredstrings:string_cyan","coloredstrings:string_cyan",},
|
||||
{"coloredstrings:string_cyan","coloredstrings:string_cyan",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:green",
|
||||
recipe={
|
||||
{"coloredstrings:string_green","coloredstrings:string_green",},
|
||||
{"coloredstrings:string_green","coloredstrings:string_green",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:dark_green",
|
||||
recipe={
|
||||
{"coloredstrings:string_dark_green","coloredstrings:string_dark_green",},
|
||||
{"coloredstrings:string_dark_green","coloredstrings:string_dark_green",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:yellow",
|
||||
recipe={
|
||||
{"coloredstrings:string_yellow","coloredstrings:string_yellow",},
|
||||
{"coloredstrings:string_yellow","coloredstrings:string_yellow",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:orange",
|
||||
recipe={
|
||||
{"coloredstrings:string_orange","coloredstrings:string_orange",},
|
||||
{"coloredstrings:string_orange","coloredstrings:string_orange",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:brown",
|
||||
recipe={
|
||||
{"coloredstrings:string_brown","coloredstrings:string_brown",},
|
||||
{"coloredstrings:string_brown","coloredstrings:string_brown",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:red",
|
||||
recipe={
|
||||
{"coloredstrings:string_red","coloredstrings:string_red",},
|
||||
{"coloredstrings:string_red","coloredstrings:string_red",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:pink",
|
||||
recipe={
|
||||
{"coloredstrings:string_pink","coloredstrings:string_pink",},
|
||||
{"coloredstrings:string_pink","coloredstrings:string_pink",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:magenta",
|
||||
recipe={
|
||||
{"coloredstrings:string_magenta","coloredstrings:string_magenta",},
|
||||
{"coloredstrings:string_magenta","coloredstrings:string_magenta",},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output="wool:violet",
|
||||
recipe={
|
||||
{"coloredstrings:string_violet","coloredstrings:string_violet",},
|
||||
{"coloredstrings:string_violet","coloredstrings:string_violet",},
|
||||
}
|
||||
})
|
||||
|
After Width: | Height: | Size: 344 KiB |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 251 B |
|
After Width: | Height: | Size: 247 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 252 B |
|
After Width: | Height: | Size: 260 B |