skyblock: if gloopblocks set stone cooktime 4, gravel cooktime 1

master
rnd 2018-10-17 23:16:59 +02:00
parent a05a5334bf
commit 2d8446f85a
45 changed files with 2423 additions and 1 deletions

1
gloopblocks/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

90
gloopblocks/LICENSE Normal file
View File

@ -0,0 +1,90 @@
For the code and textures unique to this mod:
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.
This license is also known as "WTFPL".
----------
For the textures that were in some way derived from Minetest's default imagery:
Creative Commons Legal Code
Attribution-ShareAlike 2.0
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
"Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.
"Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License.
"Licensor" means the individual or entity that offers the Work under the terms of this License.
"Original Author" means the individual or entity who created the Work.
"Work" means the copyrightable work of authorship offered under the terms of this License.
"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
"License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike.
2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;
to create and reproduce Derivative Works;
to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;
to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.
For the avoidance of doubt, where the work is a musical composition:
Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.
Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights society or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).
Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.
4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any reference to such Licensor or the Original Author, as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any reference to such Licensor or the Original Author, as requested.
You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.0 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License.
If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and give the Original Author credit reasonable to the medium or means You are utilizing by conveying the name (or pseudonym if applicable) of the Original Author if supplied; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time.
Creative Commons may be contacted at http://creativecommons.org/.

72
gloopblocks/README Normal file
View File

@ -0,0 +1,72 @@
This mod adds a number of decorative and functional blocks to Minetest,
including cement, rainbow blocks, "evil" blocks and sticks, and the usual
collection of tools of various strengths and speeds made from either cement or
"evil" components. It also supplies a few useful functions - see below.
Crafting
(Unless explicitly mentioned, ingredients can go anywhere in the crafting grid
in these recipes).
* Rainbow Blocks can be crafted by putting one each of red, orange, yellow,
green, blue, and violet dyes plus one stone and one Mese Crystal into the
crafting grid. Yields 1, works with Unified Dyes as well as the game's
default dyes.
* Three of those can be crafted to form one pop tart cat rainbow, or nine can
be crafted together to form one pop tart cat itself.
* Wet cement is crafted from a bucket of water and a block of gravel. This
can be cooked into dried cement, which can be crafted into tools or back
into gravel.
* An "evil" stick can be crafted from one lump of coal, one regular stick, and
one lump of Kalite from the Gloop Ores mod.
* Four of those can be crafted into an "evil" block, which can also be crafted
back to "evil" sticks. These blocks emit a small amount of light.
* Cement tools are crafted in the usual manner, using cement blocks for the
tool heads instead of the usual steel, cobble, etc.
* "Evil" tools can be crafted using the same standard recipes as for other
tools, substitution "evil" sticks for the handles and "evil" blocks for the
tool heads.
* Regular sticks can be crafted back into wood blocks by placing four of them
in a square.
* Cement and "evil" blocks can also be crafted into various stairs and slabs,
following the same recipes as with other stairs and slabs. Evil stairs and
slabs emit a small amount of light.
* Pavement (as for roads or parking lots) can be crafted by placing wet cement
("W") and basalt ("B") into the crafting grid in a 3x3 checkerboard (yields
5):
W B W
B W B
W B W
(you can also swap wet cement and basalt, using five and four portions,
respectively)
Other useful stuff:
-------------------
* Cobblestone turns to mossy cobblestone in the presence of water (either
flowing or not).
* When water and lava come into contact with one another, they will form one
of three materials: Flowing lava coming into contact with standing water
forms basalt, both flowing into one another form pumice, while standing lava
forms obsidian when in contact with flowing or standing water. Note that if
you're using this along with the standard minetest_game repository dated
March 9 or later, this function no longer works, because the game provides a
similar, less capable function.
Notes:
------
The cobblestone and mossy cobblestone road bed textures were derived from:
http://opengameart.org/content/rpg-tiles-cobble-stone-paths-town-objects
...and the default grass texture that comes with minetest_game.

388
gloopblocks/crafts.lua Normal file
View File

@ -0,0 +1,388 @@
-- Various crafts
minetest.register_craft( {
type = "shapeless",
output = "gloopblocks:rainbow_block",
recipe = {
"group:dye,color_red",
"group:dye,color_orange",
"group:dye,color_yellow",
"group:dye,color_green",
"group:dye,color_blue",
"group:dye,color_violet",
"default:stone",
"default:mese_crystal",
},
})
minetest.register_craft({
type = "shapeless",
output = "default:nyancat_rainbow",
recipe = {
"gloopblocks:rainbow_block",
"default:diamondblock",
"default:steelblock",
"default:copperblock",
"default:bronzeblock",
"default:goldblock",
"default:mese",
"moreores:silver_block",
"moreores:mithril_block"
}
})
minetest.register_craft({
output = "default:nyancat",
recipe = {
{"gloopblocks:rainbow_block", "gloopblocks:rainbow_block", "gloopblocks:rainbow_block"},
{"gloopblocks:rainbow_block", "gloopblocks:rainbow_block", "gloopblocks:rainbow_block"},
{"gloopblocks:rainbow_block", "gloopblocks:rainbow_block", "gloopblocks:rainbow_block"},
}
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:wet_cement",
recipe = {
"bucket:bucket_water",
"default:gravel",
},
replacements = {{'bucket:bucket_water', 'bucket:bucket_empty'},},
})
minetest.register_craft({
type = "cooking",
output = "gloopblocks:cement",
recipe = "gloopblocks:wet_cement",
cooktime = 8
})
minetest.register_craft({
output = "default:gravel",
recipe = {
{"gloopblocks:cement"},
},
})
if minetest.get_modpath("glooptest") then
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:evil_stick",
recipe = {
"glooptest:kalite_lump",
"default:gold_ingot",
"default:coal_lump",
"group:stick"
}
})
elseif minetest.get_modpath("gloopores") then
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:evil_stick",
recipe = {
"gloopores:kalite_lump",
"default:gold_ingot",
"default:coal_lump",
"group:stick"
}
})
else
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:evil_stick",
recipe = {
"default:gold_ingot",
"default:gold_ingot",
"default:coal_lump",
"group:stick"
}
})
end
minetest.register_craft({
output = "gloopblocks:evil_block",
recipe = {
{"gloopblocks:evil_stick", "gloopblocks:evil_stick"},
{"gloopblocks:evil_stick", "gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:scaffolding 12",
recipe = {
{"group:stick", "group:wood", "group:stick"},
{"", "group:stick", ""},
{"group:stick", "group:wood", "group:stick"},
}
})
minetest.register_craft({
output = "gloopblocks:evil_stick 4",
recipe = {
{"gloopblocks:evil_block"}
}
})
minetest.register_craft({
output = "gloopblocks:pick_cement",
recipe = {
{"gloopblocks:cement", "gloopblocks:cement", "gloopblocks:cement"},
{"", "group:stick", ""},
{"", "group:stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:axe_cement",
recipe = {
{"gloopblocks:cement", "gloopblocks:cement"},
{"gloopblocks:cement", "group:stick"},
{"", "group:stick"},
}
})
minetest.register_craft({
output = "gloopblocks:axe_cement",
recipe = {
{"gloopblocks:cement", "gloopblocks:cement"},
{"group:stick", "gloopblocks:cement"},
{"group:stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:shovel_cement",
recipe = {
{"gloopblocks:cement"},
{"group:stick"},
{"group:stick"},
}
})
minetest.register_craft({
output = "gloopblocks:sword_cement",
recipe = {
{"gloopblocks:cement"},
{"gloopblocks:cement"},
{"group:stick"},
}
})
minetest.register_craft({
output = "gloopblocks:pick_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block", "gloopblocks:evil_block"},
{"", "gloopblocks:evil_stick", ""},
{"", "gloopblocks:evil_stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:axe_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block"},
{"gloopblocks:evil_block", "gloopblocks:evil_stick"},
{"", "gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:axe_evil",
recipe = {
{"gloopblocks:evil_block", "gloopblocks:evil_block"},
{"gloopblocks:evil_stick", "gloopblocks:evil_block"},
{"gloopblocks:evil_stick", ""},
}
})
minetest.register_craft({
output = "gloopblocks:shovel_evil",
recipe = {
{"gloopblocks:evil_block"},
{"gloopblocks:evil_stick"},
{"gloopblocks:evil_stick"},
}
})
minetest.register_craft({
output = "gloopblocks:sword_evil",
recipe = {
{"gloopblocks:evil_block"},
{"gloopblocks:evil_block"},
{"gloopblocks:evil_stick"},
}
})
if minetest.get_modpath("building_blocks") then
minetest.register_craft({
output = "default:wood 4",
recipe = {
{"building_blocks:sticks", "building_blocks:sticks"},
{"building_blocks:sticks", "building_blocks:sticks"},
}
})
else
minetest.register_craft({
output = "default:wood",
recipe = {
{"default:stick", "default:stick"},
{"default:stick", "default:stick"},
}
})
end
minetest.register_craft({
output = "gloopblocks:pavement 5",
recipe = {
{"gloopblocks:basalt", "gloopblocks:wet_cement","gloopblocks:basalt"},
{"gloopblocks:wet_cement","gloopblocks:basalt", "gloopblocks:wet_cement"},
{"gloopblocks:basalt", "gloopblocks:wet_cement","gloopblocks:basalt"},
}
})
minetest.register_craft({
output = "gloopblocks:pavement 5",
recipe = {
{"gloopblocks:wet_cement","gloopblocks:basalt", "gloopblocks:wet_cement"},
{"gloopblocks:basalt", "gloopblocks:wet_cement","gloopblocks:basalt"},
{"gloopblocks:wet_cement","gloopblocks:basalt", "gloopblocks:wet_cement"},
}
})
minetest.register_craft({
output = "gloopblocks:oerkki_block 2",
recipe = {
{"default:iron_lump", "default:coal_lump", "default:iron_lump"},
{"default:coal_lump", "default:bookshelf", "default:coal_lump"},
{"default:iron_lump", "default:coal_lump", "default:iron_lump"},
},
replacements = { { "default:bookshelf", "default:book 3" } }
})
minetest.register_craft({
output = "gloopblocks:oerkki_block 2",
recipe = {
{"default:coal_lump", "default:iron_lump", "default:coal_lump"},
{"default:iron_lump", "default:bookshelf", "default:iron_lump"},
{"default:coal_lump", "default:iron_lump", "default:coal_lump"},
},
replacements = { { "default:bookshelf", "default:book 3" } }
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:stone_brick_mossy 2",
recipe = {
"default:stonebrick",
"default:stonebrick",
"default:junglegrass",
"default:junglegrass"
}
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:stone_brick_mossy 2",
recipe = {
"default:stonebrick",
"default:stonebrick",
"default:grass_1",
"default:grass_1",
"default:grass_1",
"default:grass_1"
}
})
minetest.register_craft({
type = "cooking",
output = "gloopblocks:stonebrick",
recipe = "default:stone_brick_mossy",
cooktime = 6
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:cobble_road 5",
recipe = {
"default:cobble",
"default:cobble",
"default:cobble",
"default:cobble",
"gloopblocks:pavement"
}
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:cobble_road_mossy 2",
recipe = {
"gloopblocks:cobble_road",
"gloopblocks:cobble_road",
"default:junglegrass",
"default:junglegrass"
}
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:cobble_road_mossy 2",
recipe = {
"gloopblocks:cobble_road",
"gloopblocks:cobble_road",
"default:grass_1",
"default:grass_1",
"default:grass_1",
"default:grass_1"
}
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:stone_mossy 2",
recipe = {
"default:stone",
"default:stone",
"default:junglegrass",
"default:junglegrass"
}
})
minetest.register_craft({
type = "shapeless",
output = "gloopblocks:stone_mossy 2",
recipe = {
"default:stone",
"default:stone",
"default:grass_1",
"default:grass_1",
"default:grass_1",
"default:grass_1"
}
})
minetest.register_craft({
output = "gloopblocks:fence_steel 1",
recipe = {
{"xpanes:bar", "xpanes:bar", "xpanes:bar"},
{"xpanes:bar", "xpanes:bar", "xpanes:bar"},
},
})
if minetest.get_modpath("technic") then
technic.register_grinder_recipe({input={"gloopblocks:pumice"},output="default:sand"})
technic.register_grinder_recipe({input={"gloopblocks:basalt"},output="default:cobble"})
minetest.register_craft({
type = "shapeless",
output = "technic:concrete 3",
recipe = {
"gloopblocks:wet_cement",
"group:sand",
"default:gravel",
}
})
end

13
gloopblocks/depends.txt Normal file
View File

@ -0,0 +1,13 @@
default
moreblocks?
stairs?
glooptest?
gloopores?
building_blocks?
intllib?
wool?
xdecor?
caverealms?
technic?
nyancat?
usesdirt?

View File

@ -0,0 +1,2 @@
Adds decorative and functional blocks, including cement, rainbow blocks, "evil" blocks and sticks,
and the usual collection of tools of various strengths and speeds made from either cement or "evil" components.

929
gloopblocks/init.lua Normal file
View File

@ -0,0 +1,929 @@
--[[
GloopBlocks
Originally written by GloopMaster
Licensed under WTFPL.
Maintained by VanessaE.
--]]
-- Load support for intllib.
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Nodes
minetest.register_node("gloopblocks:rainbow_block_diagonal", {
description = S("Diagonal Rainbow Block"),
tiles = {"gloopblocks_rainbow_block.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_defaults(),
})
minetest.register_alias("gloopblocks:rainbow_block", "gloopblocks:rainbow_block_diagonal")
minetest.register_node("gloopblocks:rainbow_block_horizontal", {
description = S("Horizontal Rainbow Block"),
tiles = {
"gloopblocks_rainbow_horizontal.png^[transformR90",
"gloopblocks_rainbow_horizontal.png^[transformR90",
"gloopblocks_rainbow_horizontal.png"
},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir",
groups = {cracky = 2},
is_ground_content = false,
sounds = default.node_sound_defaults(),
})
if not minetest.setting_getbool("pbj_pup_alias_nyancat") then
if not minetest.registered_nodes["nyancat:nyancat_rainbow"] then
minetest.register_alias("nyancat:nyancat_rainbow", "gloopblocks:rainbow_block_horizontal")
elseif not minetest.registered_nodes["default:nyancat_rainbow"] then
minetest.register_alias("default:nyancat_rainbow", "gloopblocks:rainbow_block_horizontal")
end
end
minetest.register_node("gloopblocks:cement", {
description = S("Cement"),
tiles = {"gloopblocks_cement.png"},
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:evil_block", {
description = S("Evil Block"),
tiles = {"gloopblocks_evil_block.png"},
light_source = 5,
is_ground_content = true,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:basalt", {
description = S("Basalt"),
tiles = {"gloopblocks_basalt.png"},
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:pumice", {
description = S("Pumice"),
tiles = {"gloopblocks_pumice.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:pavement", {
description = S("Pavement"),
tiles = {"gloopblocks_pavement.png"},
groups = {cracky=3, oddly_breakable_by_hand=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:oerkki_block", {
drawtype = "nodebox",
description = S("Oerkki Block"),
paramtype = "light",
paramtype2 = "facedir",
tiles = {
"gloopblocks_oerkkiblock_tb.png",
"gloopblocks_oerkkiblock_tb.png",
"gloopblocks_oerkkiblock_sides.png",
"gloopblocks_oerkkiblock_sides.png",
"gloopblocks_oerkkiblock_sides.png",
"gloopblocks_oerkkiblock_front.png"
},
groups = {cracky=3, oddly_breakable_by_hand=3},
sounds = default.node_sound_stone_defaults(),
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.1875, 0.5, 0.5, 0.1875}, -- NodeBox1
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5}, -- NodeBox2
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5}, -- NodeBox3
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5}, -- NodeBox4
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, -- NodeBox5
{-0.5, -0.0625, -0.5, 0.5, 0.0625, 0.5}, -- NodeBox6
}
}
})
minetest.register_node("gloopblocks:stone_brick_mossy", {
description = S("Mossy Stone Brick"),
tiles = {"gloopblocks_stone_brick_mossy.png"},
groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:stone_mossy", {
description = S("Mossy Stone"),
tiles = {"gloopblocks_stone_mossy.png"},
groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(),
drop = "default:mossycobble"
})
minetest.register_node("gloopblocks:cobble_road", {
description = S("Cobblestone Road Bed"),
tiles = {"gloopblocks_cobble_road.png"},
groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:cobble_road_mossy", {
description = S("Mossy Cobblestone Road Bed"),
tiles = {"gloopblocks_cobble_road_mossy.png"},
groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("gloopblocks:scaffolding", {
description = S("Wooden Scaffold"),
drawtype = "allfaces",
paramtype = "light",
sunlight_propagates = true,
tiles = {"gloopblocks_scaffold.png"},
groups = {choppy=3, oddly_breakable_by_hand=3},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_alias("moreblocks:oerkkiblock", "gloopblocks:oerkki_block")
minetest.register_alias("gloopblocks:obsidian", "default:obsidian")
-- Nodes imported from Usesdirt ================================================================================
if not minetest.get_modpath("usesdirt") then
local dirt_brick_tex = "default_dirt.png^gloopblocks_dirt_brick_overlay.png"
local dirt_cobble_tex = "default_cobble.png^(default_dirt.png^[mask:gloopblocks_dirt_cobble_mask.png)"
local dirt_stone_tex = "default_stone.png^(default_dirt.png^[mask:gloopblocks_dirt_stone_mask.png)"
local dirt_ladder_tex = "(default_dirt.png^[mask:gloopblocks_ladder_mask.png)^gloopblocks_ladder_overlay.png"
local dirt_cobble_ladder_tex = "(("..dirt_cobble_tex..")^[mask:gloopblocks_ladder_mask.png)^gloopblocks_ladder_overlay.png"
local dirt_stone_ladder_tex = "(("..dirt_stone_tex..")^[mask:gloopblocks_ladder_mask.png)^gloopblocks_ladder_overlay.png"
minetest.register_node(":usesdirt:dirt_brick", {
tiles = { dirt_brick_tex },
description = "Dirt Brick",
groups = {snappy=2,choppy=1,oddly_breakable_by_hand=2},
})
if minetest.get_modpath("moreblocks") then
minetest.register_craft({
output = 'usesdirt:dirt_brick 24',
recipe = {
{'moreblocks:dirt_compressed', 'moreblocks:dirt_compressed', '' },
{'moreblocks:dirt_compressed', 'moreblocks:dirt_compressed', '' }
}
})
else
minetest.register_craft({
output = 'usesdirt:dirt_brick 6',
recipe = {
{'default:dirt', 'default:dirt', 'default:dirt'},
{'default:dirt', 'default:dirt', 'default:dirt'},
{'default:dirt', 'default:dirt', 'default:dirt'},
}
})
end
minetest.register_node(":usesdirt:dirt_ladder", {
description = "Ladder",
drawtype = "signlike",
tiles = { dirt_ladder_tex },
inventory_image = dirt_ladder_tex,
wield_image = dirt_ladder_tex,
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = true,
walkable = false,
climbable = true,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
--wall_bottom = = <default>
--wall_side = = <default>
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
legacy_wallmounted = true,
})
minetest.register_craft({
output = 'usesdirt:dirt_ladder 3',
recipe = {
{'usesdirt:dirt_brick', '', 'usesdirt:dirt_brick'},
{'usesdirt:dirt_brick', 'usesdirt:dirt_brick','usesdirt:dirt_brick'},
{'usesdirt:dirt_brick','','usesdirt:dirt_brick'},
}
})
default.register_fence(":usesdirt:dirt_fence", {
description = "Dirt Fence",
texture = "default_dirt.png",
inventory_image = "default_fence_overlay.png^default_dirt.png^default_fence_overlay.png^[makealpha:255,126,126",
wield_image = "default_fence_overlay.png^default_dirt.png^default_fence_overlay.png^[makealpha:255,126,126",
material = "default:dirt",
groups = {snappy=2,choppy=1,oddly_breakable_by_hand=3},
sounds = default.node_sound_dirt_defaults()
})
----
minetest.register_node(":usesdirt:dirt_cobble_stone", {
tiles = { dirt_cobble_tex },
description = "Dirt Cobble Stone",
is_ground_content = true,
groups = {cracky=3, stone=2},
})
minetest.register_craft({
output = '"usesdirt:dirt_cobble_stone" 3',
recipe = {
{'usesdirt:dirt_brick', 'usesdirt:dirt_brick', 'usesdirt:dirt_brick'},
{'usesdirt:dirt_brick', 'usesdirt:dirt_brick', 'usesdirt:dirt_brick'},
{'usesdirt:dirt_brick', 'usesdirt:dirt_brick', 'usesdirt:dirt_brick'},
}
})
minetest.register_node(":usesdirt:dirt_cobble_stone_ladder", {
description = "Ladder",
drawtype = "signlike",
tiles = { dirt_cobble_ladder_tex },
inventory_image = dirt_cobble_ladder_tex,
wield_image = dirt_cobble_ladder_tex,
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = true,
walkable = false,
climbable = true,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
--wall_bottom = = <default>
--wall_side = = <default>
},
groups = {cracky=3, stone=2},
legacy_wallmounted = true,
})
minetest.register_craft({
output = 'usesdirt:dirt_cobble_stone_ladder 3',
recipe = {
{'usesdirt:dirt_cobble_stone', '', 'usesdirt:dirt_cobble_stone'},
{'usesdirt:dirt_cobble_stone', 'usesdirt:dirt_cobble_stone','usesdirt:dirt_cobble_stone'},
{'usesdirt:dirt_cobble_stone','','usesdirt:dirt_cobble_stone'},
}
})
default.register_fence(":usesdirt:dirt_cobble_stone_fence", {
description = "Dirt Cobble Stone Fence",
texture = dirt_cobble_tex,
inventory_image = "default_fence_overlay.png^("..dirt_cobble_tex..")^default_fence_overlay.png^[makealpha:255,126,126",
wield_image = "default_fence_overlay.png^("..dirt_cobble_tex..")^default_fence_overlay.png^[makealpha:255,126,126",
material = "usesdirt:dirt_cobble_stone",
groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults()
})
----
minetest.register_node(":usesdirt:dirt_stone", {
tiles = { dirt_stone_tex },
description = "Dirt Stone",
is_ground_content = true,
groups = {cracky=3, stone=2},
})
minetest.register_node(":usesdirt:dirt_stone_ladder", {
description = "Ladder",
drawtype = "signlike",
tiles = { dirt_stone_ladder_tex },
inventory_image = dirt_stone_ladder_tex,
wield_image = dirt_stone_ladder_tex,
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = true,
walkable = false,
climbable = true,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
--wall_bottom = = <default>
--wall_side = = <default>
},
groups = {cracky=3, stone=2},
legacy_wallmounted = true,
})
minetest.register_craft({
output = 'usesdirt:dirt_stone_ladder 3',
recipe = {
{'usesdirt:dirt_stone', '', 'usesdirt:dirt_stone'},
{'usesdirt:dirt_stone', 'usesdirt:dirt_stone','usesdirt:dirt_stone'},
{'usesdirt:dirt_stone','','usesdirt:dirt_stone'},
}
})
default.register_fence(":usesdirt:dirt_stone_fence", {
description = "Dirt Cobble Stone Fence",
texture = dirt_cobble_tex,
inventory_image = "default_fence_overlay.png^("..dirt_stone_tex..")^default_fence_overlay.png^[makealpha:255,126,126",
wield_image = "default_fence_overlay.png^("..dirt_stone_tex..")^default_fence_overlay.png^[makealpha:255,126,126",
material = "usesdirt:dirt_stone",
groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults()
})
end
-- Stairs/slabs defs, conversion of normal -> mossy items
if minetest.setting_getbool("gloopblocks_mossy_conversion") ~= false then
function gloopblocks_register_mossy_conversion(mossyobjects)
for i in ipairs(mossyobjects) do
minetest.register_abm({
nodenames = { mossyobjects[i][1] },
neighbors = {"default:water_source", "default:water_flowing"},
interval = 120,
chance = 50,
action = function(pos, node)
if minetest.find_node_near(pos, 2, "air") then
local fdir = node.param2
minetest.add_node(pos, {name = mossyobjects[i][2], param2 = fdir})
end
end,
})
end
end
end
--[[
if minetest.get_modpath("xdecor") then
xdecor.worktable_nodes.gloopblocks = {
"oerkki_block", "stone_brick_mossy", "stone_mossy", "cobble_road",
"cobble_road_mossy", "cement", "pavement","rainbow_block",
"evil_block", "basalt", "pumice"
}
if minetest.setting_getbool("gloopblocks_mossy_conversion") then
local subnames = {
"", "_nanoslab", "_micropanel", "_microslab", "_thinstair", "_cube",
"_panel", "_slab", "_doublepanel", "_halfstair", "_outerstair",
"_stair", "_innerstair"
}
for _, subname in ipairs(subnames) do
gloopblocks_register_mossy_conversion({
-- Cobble --> Mossy Cobble
{ "default:cobble"..subname, "default:mossycobble"..subname },
-- Cobble Road --> Mossy Cobble Road
{ "gloopblocks:cobble_road"..subname, "gloopblocks:cobble_road_mossy"..subname },
-- Stone Brick --> Stone Brick Mossy
{ "default:stonebrick"..subname, "gloopblocks:stone_brick_mossy"..subname},
-- Stone --> Mossy Stone
{ "default:stone"..subname, "gloopblocks:stone_mossy"..subname}
})
end
end
end
--]]
if minetest.get_modpath("moreblocks") then
stairsplus:register_all("gloopblocks", "oerkki_block", "gloopblocks:oerkki_block", {
description = S("Oerkki Block"),
tiles = {
"gloopblocks_oerkkiblock_tb.png",
"gloopblocks_oerkkiblock_tb.png",
"gloopblocks_oerkkiblock_sides.png",
"gloopblocks_oerkkiblock_sides.png",
"gloopblocks_oerkkiblock_sides.png",
"gloopblocks_oerkkiblock_front.png"
},
groups = {cracky=2, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "stone_brick_mossy", "gloopblocks:stone_brick_mossy", {
description = S("Mossy Stone Brick"),
tiles = {"gloopblocks_stone_brick_mossy.png"},
groups = {cracky=1, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "stone_mossy", "gloopblocks:stone_mossy", {
description = S("Mossy Stone"),
tiles = {"gloopblocks_stone_mossy.png"},
groups = {cracky=1, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "cobble_road", "gloopblocks:cobble_road", {
description = S("Cobblestone Roadbed"),
tiles = {"gloopblocks_cobble_road.png"},
groups = {cracky=3, stone=1, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "cobble_road_mossy", "gloopblocks:cobble_road_mossy", {
description = S("Mossy Cobblestone Roadbed"),
tiles = {"gloopblocks_cobble_road_mossy.png"},
groups = {cracky=3, stone=1, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "cement", "gloopblocks:cement", {
description = S("Cement"),
tiles = {"gloopblocks_cement.png"},
groups = {cracky=2, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "pavement", "gloopblocks:pavement", {
description = S("Pavement"),
tiles = {"gloopblocks_pavement.png"},
groups = {cracky=2, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "rainbow_block", "gloopblocks:rainbow_block", {
description = S("Rainbow Block"),
tiles = {"gloopblocks_rainbow_block.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "evil_block", "gloopblocks:evil_block", {
description = S("Evil Block"),
tiles = {"gloopblocks_evil_block.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_defaults(),
light_source = 5,
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "basalt", "gloopblocks:basalt", {
description = S("Basalt"),
tiles = {"gloopblocks_basalt.png"},
groups = {cracky=2, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "pumice", "gloopblocks:pumice", {
description = S("Pumice"),
tiles = {"gloopblocks_pumice.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = true,
})
stairsplus:register_all("gloopblocks", "gravel", "default:gravel", {
description = S("Gravel"),
tiles = {"default_gravel.png"},
groups = {crumbly = 2, falling_node = 1, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sunlight_propagates = false,
})
if minetest.get_modpath("caverealms") then
stairsplus:register_all("caverealms", "glow_crystal", "caverealms:glow_crystal", {
description = S("Glow Crystal"),
tiles = {"caverealms_glow_crystal.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_glass_defaults(),
light_source = 12,
use_texture_alpha = true,
paramtype="light",
sunlight_propagates = true,
})
stairsplus:register_all("caverealms", "glow_emerald", "caverealms:glow_emerald", {
description = S("Glow Emerald"),
tiles = {"caverealms_glow_emerald.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_glass_defaults(),
light_source = 12,
use_texture_alpha = true,
paramtype="light",
sunlight_propagates = true,
})
stairsplus:register_all("caverealms", "glow_mese", "caverealms:glow_mese", {
description = S("Glow Mese"),
tiles = {"caverealms_glow_mese.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_glass_defaults(),
light_source = 12,
use_texture_alpha = true,
paramtype="light",
sunlight_propagates = true,
})
end
-- ABMs for mossy objects
if minetest.setting_getbool("gloopblocks_mossy_conversion") ~= false then
gloopblocks_register_mossy_conversion({
{ "default:cobble", "default:mossycobble" },
{ "default:stair_cobble", "default:stair_mossycobble" },
{ "default:slab_cobble", "default:slab_mossycobble" },
{ "moreblocks:stair_cobble", "moreblocks:stair_mossycobble" },
{ "moreblocks:stair_cobble_inner", "moreblocks:stair_mossycobble_inner" },
{ "moreblocks:stair_cobble_outer", "moreblocks:stair_mossycobble_outer" },
{ "moreblocks:stair_cobble_half", "moreblocks:stair_mossycobble_half" },
{ "moreblocks:slab_cobble_quarter", "moreblocks:slab_mossycobble_quarter" },
{ "moreblocks:slab_cobble", "moreblocks:slab_mossycobble" },
{ "moreblocks:slab_cobble_three_quarter", "moreblocks:slab_mossycobble_three_quarter" },
{ "moreblocks:panel_cobble", "moreblocks:panel_mossycobble" },
{ "moreblocks:micro_cobble", "moreblocks:micro_mossycobble" },
{ "moreblocks:stair_cobble_alt", "moreblocks:stair_mossycobble_alt" },
{ "gloopblocks:cobble_road", "gloopblocks:cobble_road_mossy" },
{ "gloopblocks:stair_cobble_road", "gloopblocks:stair_cobble_road_mossy" },
{ "gloopblocks:slab_cobble_road", "gloopblocks:slab_cobble_road_mossy" },
{ "gloopblocks:stair_cobble_road", "gloopblocks:stair_cobble_road_mossy" },
{ "gloopblocks:stair_cobble_road_inner", "gloopblocks:stair_cobble_road_mossy_inner" },
{ "gloopblocks:stair_cobble_road_outer", "gloopblocks:stair_cobble_road_mossy_outer" },
{ "gloopblocks:stair_cobble_road_half", "gloopblocks:stair_cobble_road_mossy_half" },
{ "gloopblocks:slab_cobble_road_quarter", "gloopblocks:slab_cobble_road_mossy_quarter" },
{ "gloopblocks:slab_cobble_road", "gloopblocks:slab_cobble_road_mossy" },
{ "gloopblocks:slab_cobble_road_three_quarter", "gloopblocks:slab_cobble_road_mossy_three_quarter" },
{ "gloopblocks:panel_cobble_road", "gloopblocks:panel_cobble_road_mossy" },
{ "gloopblocks:micro_cobble_road", "gloopblocks:micro_cobble_road_mossy" },
{ "gloopblocks:stair_cobble_road_alt", "gloopblocks:stair_cobble_road_mossy_alt" },
{ "default:stonebrick", "gloopblocks:stone_brick_mossy" },
{ "default:stair_stonebrick", "gloopblocks:stair_stone_brick_mossy" },
{ "default:slab_stonebrick", "gloopblocks:slab_stone_brick_mossy" },
{ "moreblocks:stair_stonebrick", "gloopblocks:stair_stone_brick_mossy" },
{ "moreblocks:stair_stonebrick_inner", "gloopblocks:stair_stone_brick_mossy_inner" },
{ "moreblocks:stair_stonebrick_outer", "gloopblocks:stair_stone_brick_mossy_outer" },
{ "moreblocks:stair_stonebrick_half", "gloopblocks:stair_stone_brick_mossy_half" },
{ "moreblocks:slab_stonebrick_quarter", "gloopblocks:slab_stone_brick_mossy_quarter" },
{ "moreblocks:slab_stonebrick", "gloopblocks:slab_stone_brick_mossy" },
{ "moreblocks:slab_stonebrick_three_quarter", "gloopblocks:slab_stone_brick_mossy_three_quarter" },
{ "moreblocks:panel_stonebrick", "gloopblocks:panel_stone_brick_mossy" },
{ "moreblocks:micro_stonebrick", "gloopblocks:micro_stone_brick_mossy" },
{ "moreblocks:stair_stonebrick_alt", "gloopblocks:stair_stone_brick_mossy_alt" },
{ "default:stone", "gloopblocks:stone_mossy" },
{ "default:stair_stone", "gloopblocks:stair_stone_mossy" },
{ "default:slab_stone", "gloopblocks:slab_stone_mossy" },
{ "moreblocks:stair_stone", "gloopblocks:stair_stone_mossy" },
{ "moreblocks:stair_stone_inner", "gloopblocks:stair_stone_mossy_inner" },
{ "moreblocks:stair_stone_outer", "gloopblocks:stair_stone_mossy_outer" },
{ "moreblocks:stair_stone_half", "gloopblocks:stair_stone_mossy_half" },
{ "moreblocks:slab_stone_quarter", "gloopblocks:slab_stone_mossy_quarter" },
{ "moreblocks:slab_stone", "gloopblocks:slab_stone_mossy" },
{ "moreblocks:slab_stone_three_quarter", "gloopblocks:slab_stone_mossy_three_quarter" },
{ "moreblocks:panel_stone", "gloopblocks:panel_stone_mossy" },
{ "moreblocks:micro_stone", "gloopblocks:micro_stone_mossy" },
{ "moreblocks:stair_stone_alt", "gloopblocks:stair_stone_mossy_alt" },
})
end
elseif minetest.get_modpath("stairs") then
--stairs.register_stair(subname, recipeitem, groups, images, description, sounds)
-- stairs:xxxx_stone_mossy ; xxxx = stair or slab
stairs.register_stair_and_slab("stone_mossy", "gloopblocks:stone_mossy",
{cracky=3},
{"gloopblocks_stone_mossy.png"},
S("Mossy Stone Stair"),
S("Mossy Stone Slab"),
default.node_sound_stone_defaults())
-- stairs:xxxx_mossycobble
stairs.register_stair_and_slab("mossycobble", "default:mossycobble",
{cracky=3},
{"default_mossycobble.png"},
S("Mossy Cobble Stair"),
S("Mossy Cobble Slab"),
default.node_sound_stone_defaults())
-- stairs:xxxx_stone_brick_mossy
stairs.register_stair_and_slab("stone_brick_mossy", "gloopblocks:stone_brick_mossy",
{cracky=3},
{"gloopblocks_stone_brick_mossy.png"},
S("Mossy Stone Brick Stair"),
S("Mossy Stone Brick Slab"),
default.node_sound_stone_defaults())
-- stairs:xxxx_cobble_road
stairs.register_stair_and_slab("cobble_road", "gloopblocks:cobble_road",
{cracky=3},
{"gloopblocks_cobble_road.png"},
S("Cobble Roadbed Stair"),
S("Cobble Roadbed Slab"),
default.node_sound_stone_defaults())
-- stairs:xxxx_cobble_road_mossy
stairs.register_stair_and_slab("cobble_road_mossy", "gloopblocks:cobble_road_mossy",
{cracky=3},
{"gloopblocks_cobble_road_mossy.png"},
S("Mossy Cobble Roadbed Stair"),
S("Mossy Cobble Roadbed Slab"),
default.node_sound_stone_defaults())
-- stairs:xxxx_cement
stairs.register_stair_and_slab("cement", "gloopblocks:cement",
{cracky=2},
{"gloopblocks_cement.png"},
S("Cement Stair"),
S("Cement Slab"),
default.node_sound_stone_defaults())
-- stairs:xxxx_pavement
stairs.register_stair_and_slab("pavement", "gloopblocks:pavement",
{cracky=3, oddly_breakable_by_hand=3},
{"gloopblocks_pavement.png"},
S("Pavement Stair"),
S("Pavement Slab"),
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("basalt", "gloopblocks:basalt",
{cracky=2},
{"gloopblocks_basalt.png"},
S("Basalt Stair"),
S("Basalt Slab"),
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("pumice", "gloopblocks:pumice",
{cracky=3},
{"gloopblocks_pumice.png"},
S("Pumice Stair"),
S("Pumice Slab"),
default.node_sound_stone_defaults())
stairs.register_stair_and_slab("rainbow_block", "gloopblocks:rainbow_block",
{cracky=3},
{"gloopblocks_rainbow_block.png"},
S("Rainbow Block Stair"),
S("Rainbow Block Slab"),
default.node_sound_defaults())
if minetest.setting_getbool("gloopblocks_mossy_conversion") ~= false then
gloopblocks_register_mossy_conversion({
{ "default:cobble", "default:mossycobble" },
{ "stairs:stair_cobble", "stairs:stair_mossycobble" },
{ "stairs:slab_cobble", "stairs:slab_mossycobble" },
{ "gloopblocks:cobble_road", "gloopblocks:cobble_road_mossy" },
{ "stairs:stair_cobble_road", "stairs:stair_cobble_road_mossy" },
{ "stairs:slab_cobble_road", "stairs:slab_cobble_road_mossy" },
{ "default:stonebrick", "gloopblocks:stone_brick_mossy" },
{ "stairs:stair_stonebrick", "stairs:stair_stone_brick_mossy" },
{ "stairs:slab_stonebrick", "stairs:slab_stone_brick_mossy" },
{ "default:stone", "gloopblocks:stone_mossy" },
{ "stairs:stair_stone", "stairs:stair_stone_mossy" },
{ "stairs:slab_stone", "stairs:slab_stone_mossy" },
})
end
minetest.register_alias("default:stair_mossycobble", "stairs:stair_mossycobble")
minetest.register_alias("default:slab_mossycobble", "stairs:slab_mossycobble")
minetest.register_alias("gloopblocks:stair_cobble_road", "stairs:stair_cobble_road")
minetest.register_alias("gloopblocks:slab_cobble_road", "stairs:slab_cobble_road")
minetest.register_alias("gloopblocks:stair_cobble_road_mossy", "stairs:stair_cobble_road_mossy")
minetest.register_alias("gloopblocks:slab_cobble_road_mossy", "stairs:slab_cobble_road_mossy")
minetest.register_alias("gloopblocks:stair_stone_brick_mossy", "stairs:stair_stone_brick_mossy")
minetest.register_alias("gloopblocks:slab_stone_brick_mossy", "stairs:slab_stone_brick_mossy")
minetest.register_alias("gloopblocks:stair_stone_mossy", "stairs:stair_stone_mossy")
minetest.register_alias("gloopblocks:slab_stone_mossy", "stairs:slab_stone_mossy")
minetest.register_alias("gloopblocks:stair_cement", "stairs:stair_cement")
minetest.register_alias("gloopblocks:slab_cement", "stairs:slab_cement")
minetest.register_alias("gloopblocks:stair_pavement", "stairs:stair_pavement")
minetest.register_alias("gloopblocks:slab_pavement", "stairs:slab_pavement")
minetest.register_alias("gloopblocks:stair_pumice", "stairs:stair_pumice")
minetest.register_alias("gloopblocks:slab_pumice", "stairs:slab_pumice")
minetest.register_alias("gloopblocks:stair_basalt", "stairs:stair_basalt")
minetest.register_alias("gloopblocks:slab_basalt", "stairs:slab_basalt")
minetest.register_alias("gloopblocks:stair_rainbow_block", "stairs:stair_rainbow_block")
minetest.register_alias("gloopblocks:slab_rainbow_block", "stairs:slab_rainbow_block")
end
-- Tools
minetest.register_tool("gloopblocks:pick_cement", {
description = S("Cement Pickaxe"),
inventory_image = "gloopblocks_cement_pick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
cracky={times={[1]=3.50, [2]=1.40, [3]=0.90}, uses=25, maxlevel=2}
},
damage_groups = {fleshy=4},
},
})
minetest.register_tool("gloopblocks:shovel_cement", {
description = S("Cement Shovel"),
inventory_image = "gloopblocks_cement_shovel.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
crumbly={times={[1]=1.50, [2]=0.60, [3]=0.45}, uses=25, maxlevel=2}
},
damage_groups = {fleshy=4},
},
})
minetest.register_tool("gloopblocks:axe_cement", {
description = S("Cement Axe"),
inventory_image = "gloopblocks_cement_axe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
choppy={times={[1]=3.00, [2]=1.30, [3]=0.80}, uses=25, maxlevel=2},
fleshy={times={[2]=1.20, [3]=0.65}, uses=30, maxlevel=1}
},
damage_groups = {fleshy=4},
},
})
minetest.register_tool("gloopblocks:sword_cement", {
description = S("Cement Sword"),
inventory_image = "gloopblocks_cement_sword.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=1,
groupcaps={
fleshy={times={[1]=1.60, [2]=0.80, [3]=0.40}, uses=15, maxlevel=2},
snappy={times={[2]=0.75, [3]=0.35}, uses=30, maxlevel=1},
choppy={times={[3]=0.80}, uses=30, maxlevel=0}
},
damage_groups = {fleshy=6},
}
})
minetest.register_tool("gloopblocks:pick_evil", {
description = S("Evil Pickaxe"),
inventory_image = "gloopblocks_evil_pick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
cracky={times={[1]=0.10, [2]=0.10, [3]=0.10}, uses=10, maxlevel=2}
},
damage_groups = {fleshy=6},
},
})
minetest.register_tool("gloopblocks:shovel_evil", {
description = S("Evil Shovel"),
inventory_image = "gloopblocks_evil_shovel.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
crumbly={times={[1]=0.05, [2]=0.05, [3]=0.05}, uses=10, maxlevel=2}
},
damage_groups = {fleshy=6},
},
})
minetest.register_tool("gloopblocks:axe_evil", {
description = S("Evil Axe"),
inventory_image = "gloopblocks_evil_axe.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
choppy={times={[1]=0.15, [2]=0.15, [3]=0.15}, uses=10, maxlevel=2},
fleshy={times={[1]=0.15, [2]=0.15, [3]=0.15}, uses=10, maxlevel=2}
},
damage_groups = {fleshy=6},
},
})
minetest.register_tool("gloopblocks:sword_evil", {
description = S("Evil Sword"),
inventory_image = "gloopblocks_evil_sword.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
fleshy={times={[1]=0.20, [2]=0.20, [3]=0.20}, uses=10, maxlevel=2},
snappy={times={[1]=0.20, [2]=0.20, [3]=0.20}, uses=10, maxlevel=2},
choppy={times={[1]=0.20, [2]=0.20, [3]=0.20}, uses=10, maxlevel=2}
},
damage_groups = {fleshy=8},
}
})
-- Other items
minetest.register_craftitem("gloopblocks:wet_cement", {
description = S("Wet Cement"),
inventory_image = "gloopblocks_wet_cement.png",
})
minetest.register_craftitem("gloopblocks:evil_stick", {
description = S("Evil Stick"),
inventory_image = "gloopblocks_evil_stick.png",
})
-- define lava-cooling-based nodes and hook into the default lavacooling
-- functions to generate basalt, pumice, and obsidian
if minetest.setting_getbool("gloopblocks_lavacooling") ~= false then
minetest.register_node("gloopblocks:obsidian_cooled", {
description = S("Obsidian"),
tiles = {"default_obsidian.png"},
is_ground_content = true,
sounds = default.node_sound_stone_defaults(),
groups = {cracky=1, level=2, not_in_creative_inventory=1},
drop = "default:obsidian",
after_place_node = function(pos, placer, itemstack, pointed_thing)
minetest.add_node(pos, {name = "default:obsidian"})
end
})
minetest.register_node("gloopblocks:basalt_cooled", {
description = S("Basalt"),
tiles = {"gloopblocks_basalt.png"},
groups = {cracky=2, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
drop = "gloopblocks:basalt",
after_place_node = function(pos, placer, itemstack, pointed_thing)
minetest.add_node(pos, {name = "gloopblocks:basalt"})
end
})
minetest.register_node("gloopblocks:pumice_cooled", {
description = S("Pumice"),
tiles = {"gloopblocks_pumice.png"},
groups = {cracky=3, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
drop = "gloopblocks:pumice",
after_place_node = function(pos, placer, itemstack, pointed_thing)
minetest.add_node(pos, {name = "gloopblocks:pumice"})
end
})
local gloopblocks_search_nearby_nodes = function(pos, node)
if minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z}).name == node then return true end
if minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z}).name == node then return true end
if minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name == node then return true end
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name == node then return true end
if minetest.get_node({x=pos.x, y=pos.y, z=pos.z-1}).name == node then return true end
if minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1}).name == node then return true end
return false
end
default.cool_lava = function(pos, node)
if node.name == "default:lava_source" then
if gloopblocks_search_nearby_nodes(pos,"default:water_source")
or gloopblocks_search_nearby_nodes(pos,"default:water_flowing") then
minetest.set_node(pos, {name="gloopblocks:obsidian_cooled"})
end
else -- Lava flowing
if gloopblocks_search_nearby_nodes(pos,"default:water_source") then
minetest.set_node(pos, {name="gloopblocks:basalt_cooled"})
elseif gloopblocks_search_nearby_nodes(pos,"default:water_flowing") then
minetest.set_node(pos, {name="gloopblocks:pumice_cooled"})
end
end
end
end
local fence_texture =
"default_fence_overlay.png^default_steel_block.png^default_fence_overlay.png^[makealpha:255,126,126"
minetest.register_node("gloopblocks:fence_steel", {
description = S("Steel Fence"),
drawtype = "fencelike",
tiles = {"default_steel_block.png"},
inventory_image = fence_texture,
wield_image = fence_texture,
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
},
groups = {choppy = 2, oddly_breakable_by_hand = 2 },
sounds = default.node_sound_stone_defaults(),
})
dofile(minetest.get_modpath("gloopblocks").."/crafts.lua")
print(S("Gloopblocks Loaded!"))

45
gloopblocks/intllib.lua Normal file
View File

@ -0,0 +1,45 @@
-- Fallback functions for when `intllib` is not installed.
-- Code released under Unlicense <http://unlicense.org>.
-- Get the latest version of this file at:
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
local function format(str, ...)
local args = { ... }
local function repl(escape, open, num, close)
if escape == "" then
local replacement = tostring(args[tonumber(num)])
if open == "" then
replacement = replacement..close
end
return replacement
else
return "@"..open..num..close
end
end
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
end
local gettext, ngettext
if minetest.get_modpath("intllib") then
if intllib.make_gettext_pair then
-- New method using gettext.
gettext, ngettext = intllib.make_gettext_pair()
else
-- Old method using text files.
gettext = intllib.Getter()
end
end
-- Fill in missing functions.
gettext = gettext or function(msgid, ...)
return format(msgid, ...)
end
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
return format(n==1 and msgid or msgid_plural, ...)
end
return gettext, ngettext

235
gloopblocks/locale/de.po Normal file
View File

@ -0,0 +1,235 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-14 07:09+0200\n"
"PO-Revision-Date: 2017-05-14 07:22+0200\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: Xanthin\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: de\n"
#: init.lua
#, fuzzy
msgid "Diagonal Rainbow Block"
msgstr "Regenbogenblock (diagonal)"
#: init.lua
#, fuzzy
msgid "Horizontal Rainbow Block"
msgstr "Regenbogenblock (horizontal)"
#: init.lua
msgid "Cement"
msgstr "Zement"
#: init.lua
msgid "Evil Block"
msgstr "Teuflischer Block"
#: init.lua
msgid "Basalt"
msgstr "Basalt"
#: init.lua
msgid "Pumice"
msgstr "Bimsstein"
#: init.lua
msgid "Pavement"
msgstr "Strassenbelag"
#: init.lua
msgid "Oerkki Block"
msgstr "Oerkkiblock"
#: init.lua
msgid "Mossy Stone Brick"
msgstr "Moosiger Steinziegel"
#: init.lua
msgid "Mossy Stone"
msgstr "Moosiger Stein"
#: init.lua
msgid "Cobblestone Road Bed"
msgstr "Kopfsteinpflasterstrasse"
#: init.lua
msgid "Mossy Cobblestone Road Bed"
msgstr "Moosige Kopfsteinpflasterstrasse"
#: init.lua
msgid "Wooden Scaffold"
msgstr "Holzgeruest"
#: init.lua
msgid "Cobblestone Roadbed"
msgstr "Kopfsteinpflasterstrasse"
#: init.lua
msgid "Mossy Cobblestone Roadbed"
msgstr "Moosige Kopfsteinpflasterstrasse"
#: init.lua
msgid "Rainbow Block"
msgstr "Regenbogenblock"
#: init.lua
msgid "Glow Crystal"
msgstr ""
#: init.lua
msgid "Glow Emerald"
msgstr ""
#: init.lua
msgid "Glow Mese"
msgstr ""
#: init.lua
msgid "Mossy Stone Stair"
msgstr "Moosige Steintreppe"
#: init.lua
msgid "Mossy Stone Slab"
msgstr "Moosige Pflastersteintreppe"
#: init.lua
msgid "Mossy Cobble Stair"
msgstr "Moosige Pflastersteintreppe"
#: init.lua
msgid "Mossy Cobble Slab"
msgstr "Moosige Pflastersteinstufe"
#: init.lua
msgid "Mossy Stone Brick Stair"
msgstr "Moosige Steinziegeltreppe"
#: init.lua
msgid "Mossy Stone Brick Slab"
msgstr "Moosige Steinziegelstufe"
#: init.lua
msgid "Cobble Roadbed Stair"
msgstr "Kopfsteinstrassentreppe"
#: init.lua
msgid "Cobble Roadbed Slab"
msgstr "Kopfsteinstrassenstufe"
#: init.lua
msgid "Mossy Cobble Roadbed Stair"
msgstr "Moosige Kopfsteinstrassentreppe"
#: init.lua
msgid "Mossy Cobble Roadbed Slab"
msgstr "Moosige Kopfsteinstrassenstufe"
#: init.lua
msgid "Cement Stair"
msgstr "Zementtreppe"
#: init.lua
msgid "Cement Slab"
msgstr "Zementstufe"
#: init.lua
msgid "Pavement Stair"
msgstr "Strassenbelagtreppe"
#: init.lua
msgid "Pavement Slab"
msgstr "Strassenbelagstufe"
#: init.lua
#, fuzzy
msgid "Basalt Stair"
msgstr "Basalttreppe"
#: init.lua
#, fuzzy
msgid "Basalt Slab"
msgstr "Basaltstufe"
#: init.lua
#, fuzzy
msgid "Pumice Stair"
msgstr "Bimssteintreppe"
#: init.lua
#, fuzzy
msgid "Pumice Slab"
msgstr "Bimssteinstufe"
#: init.lua
#, fuzzy
msgid "Rainbow Block Stair"
msgstr "Regenbogenblocktreppe"
#: init.lua
#, fuzzy
msgid "Rainbow Block Slab"
msgstr "Regenbogenblockstufe"
#: init.lua
msgid "Cement Pickaxe"
msgstr "Zementspitzhacke"
#: init.lua
msgid "Cement Shovel"
msgstr "Zementschaufel"
#: init.lua
msgid "Cement Axe"
msgstr "Zementaxt"
#: init.lua
msgid "Cement Sword"
msgstr "Zementschwert"
#: init.lua
msgid "Evil Pickaxe"
msgstr "Teuflische Spitzhacke"
#: init.lua
msgid "Evil Shovel"
msgstr "Teuflische Schaufel"
#: init.lua
msgid "Evil Axe"
msgstr "Teuflische Axt"
#: init.lua
msgid "Evil Sword"
msgstr "Teuflisches Schwert"
#: init.lua
msgid "Wet Cement"
msgstr "Feuchter Zement"
#: init.lua
msgid "Evil Stick"
msgstr "Teuflischer Stock"
#: init.lua
msgid "Obsidian"
msgstr "Obsidian"
#: init.lua
msgid "Steel Fence"
msgstr ""
#: init.lua
msgid "Gloopblocks Loaded!"
msgstr "Gloopblocks geladen!"

227
gloopblocks/locale/fr.po Normal file
View File

@ -0,0 +1,227 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-14 06:47+0200\n"
"PO-Revision-Date: 2017-08-06 08:45+0200\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.12\n"
"Last-Translator: fat115 <fat115@framasoft.org>\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language: fr\n"
#: init.lua
msgid "Diagonal Rainbow Block"
msgstr "Bloc Arc-en-ciel diagonal"
#: init.lua
msgid "Horizontal Rainbow Block"
msgstr "Bloc Arc-en-ciel horizontal"
#: init.lua
msgid "Cement"
msgstr "Ciment"
#: init.lua
msgid "Evil Block"
msgstr "Bloc diabolique"
#: init.lua
msgid "Basalt"
msgstr "Basalte"
#: init.lua
msgid "Pumice"
msgstr "Pierre ponce"
#: init.lua
msgid "Pavement"
msgstr "Chaussée"
#: init.lua
msgid "Oerkki Block"
msgstr "Bloc Oerkki"
#: init.lua
msgid "Mossy Stone Brick"
msgstr "Brique moussue en pierre"
#: init.lua
msgid "Mossy Stone"
msgstr "Pierre moussue"
#: init.lua
msgid "Cobblestone Road Bed"
msgstr "Ballast en pierres"
#: init.lua
msgid "Mossy Cobblestone Road Bed"
msgstr "Ballast moussu en pierres"
#: init.lua
msgid "Wooden Scaffold"
msgstr "Échafaud en bois"
#: init.lua
msgid "Cobblestone Roadbed"
msgstr "Ballast en pierres"
#: init.lua
msgid "Mossy Cobblestone Roadbed"
msgstr "Ballast moussu en pierres"
#: init.lua
msgid "Rainbow Block"
msgstr "Bloc Arc-en-ciel"
#: init.lua
msgid "Glow Crystal"
msgstr "Cristal brillant"
#: init.lua
msgid "Glow Emerald"
msgstr "Émeraude brillante"
#: init.lua
msgid "Glow Mese"
msgstr "Mese brillant"
#: init.lua
msgid "Mossy Stone Stair"
msgstr "Marche moussue en pierre"
#: init.lua
msgid "Mossy Stone Slab"
msgstr "Dalle moussue en pierre"
#: init.lua
msgid "Mossy Cobble Stair"
msgstr "Marche moussue en pierres"
#: init.lua
msgid "Mossy Cobble Slab"
msgstr "Dalle moussue en pierres"
#: init.lua
msgid "Mossy Stone Brick Stair"
msgstr "Marche moussue en briques de pierre"
#: init.lua
msgid "Mossy Stone Brick Slab"
msgstr "Dalle moussue en briques de pierre"
#: init.lua
msgid "Cobble Roadbed Stair"
msgstr "Marche en ballast (pierres)"
#: init.lua
msgid "Cobble Roadbed Slab"
msgstr "Dalle en ballast (pierres)"
#: init.lua
msgid "Mossy Cobble Roadbed Stair"
msgstr "Marche moussue en ballast (pierres)"
#: init.lua
msgid "Mossy Cobble Roadbed Slab"
msgstr "Dalle moussue en ballast (pierres)"
#: init.lua
msgid "Cement Stair"
msgstr "Marche en ciment"
#: init.lua
msgid "Cement Slab"
msgstr "Dalle en ciment"
#: init.lua
msgid "Pavement Stair"
msgstr "Marche de chaussée"
#: init.lua
msgid "Pavement Slab"
msgstr "Dalle de chaussée"
#: init.lua
msgid "Basalt Stair"
msgstr "Marche en basalte"
#: init.lua
msgid "Basalt Slab"
msgstr "Dalle en basalte"
#: init.lua
msgid "Pumice Stair"
msgstr "Marche en pierre ponce"
#: init.lua
msgid "Pumice Slab"
msgstr "Dalle en pierre ponce"
#: init.lua
msgid "Rainbow Block Stair"
msgstr "Marche en bloc Arc-en-ciel"
#: init.lua
msgid "Rainbow Block Slab"
msgstr "Dalle en bloc Arc-en-ciel"
#: init.lua
msgid "Cement Pickaxe"
msgstr "Pioche en ciment"
#: init.lua
msgid "Cement Shovel"
msgstr "Pelle en ciment"
#: init.lua
msgid "Cement Axe"
msgstr "Hache en ciment"
#: init.lua
msgid "Cement Sword"
msgstr "Épée en ciment"
#: init.lua
msgid "Evil Pickaxe"
msgstr "Pioche diabolique"
#: init.lua
msgid "Evil Shovel"
msgstr "Pelle diabolique"
#: init.lua
msgid "Evil Axe"
msgstr "Hache diabolique"
#: init.lua
msgid "Evil Sword"
msgstr "Épée diabolique"
#: init.lua
msgid "Wet Cement"
msgstr "Mortier"
#: init.lua
msgid "Evil Stick"
msgstr "Baton diabolique"
#: init.lua
msgid "Obsidian"
msgstr "Obsidienne"
#: init.lua
msgid "Steel Fence"
msgstr "Barrière en acier"
#: init.lua
msgid "Gloopblocks Loaded!"
msgstr "[Gloopblocks] a été chargé."

176
gloopblocks/locale/ru.po Normal file
View File

@ -0,0 +1,176 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-14 06:45+0200\n"
"PO-Revision-Date: 2017-08-17 12:47+0300\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.3\n"
"Last-Translator: inpos <inpos@yandex.ru>\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Language: ru\n"
msgid "Diagonal Rainbow Block"
msgstr "Блок с радугой по диагонали"
msgid "Horizontal Rainbow Block"
msgstr "Блок с радугой по горизонтали"
msgid "Cement"
msgstr "Цемент"
msgid "Evil Block"
msgstr "Злой блок"
msgid "Basalt"
msgstr "Базальт"
msgid "Pumice"
msgstr "Пемза"
msgid "Pavement"
msgstr "Мостовая"
msgid "Oerkki Block"
msgstr "Блок Оеркки"
msgid "Mossy Stone Brick"
msgstr "Кирпич из мшистого камня"
msgid "Mossy Stone"
msgstr "Мшистый камень"
msgid "Cobblestone Road Bed"
msgstr "Брусчатка"
msgid "Mossy Cobblestone Road Bed"
msgstr "Мшистая брусчатка"
msgid "Wooden Scaffold"
msgstr "Деревянные строительные леса"
msgid "Cobblestone Roadbed"
msgstr "Брусчатка"
msgid "Mossy Cobblestone Roadbed"
msgstr "Мшистая брусчатка"
msgid "Rainbow Block"
msgstr "Радужный блок"
msgid "Glow Crystal"
msgstr "Светящийся хрусталь"
msgid "Glow Emerald"
msgstr "Светящийся изумруд"
msgid "Glow Mese"
msgstr "Светящийся камень"
msgid "Mossy Stone Stair"
msgstr "Ступенька из мшистого камня"
msgid "Mossy Stone Slab"
msgstr "Плита из мшистого камня"
msgid "Mossy Cobble Stair"
msgstr "Ступенька из мшистого булыжника"
msgid "Mossy Cobble Slab"
msgstr "Плита из мшистого булыжника"
msgid "Mossy Stone Brick Stair"
msgstr "Ступенька из мшистого каменного кирпича"
msgid "Mossy Stone Brick Slab"
msgstr "Плита из мшистого каменного кирпича"
msgid "Cobble Roadbed Stair"
msgstr "Ступенька из брусчатки"
msgid "Cobble Roadbed Slab"
msgstr "Плита из брусчатки"
msgid "Mossy Cobble Roadbed Stair"
msgstr "Ступенька из мшистой брусчатки"
msgid "Mossy Cobble Roadbed Slab"
msgstr "Плита из мшистой брусчатки"
msgid "Cement Stair"
msgstr "Ступенька из цемента"
msgid "Cement Slab"
msgstr "Плита из цемента"
msgid "Pavement Stair"
msgstr "Ступенька из мостовой"
msgid "Pavement Slab"
msgstr "Плита из мостовой"
msgid "Basalt Stair"
msgstr "Базальтовая ступенька"
msgid "Basalt Slab"
msgstr "Базальтовая плита"
msgid "Pumice Stair"
msgstr "Ступенька из пемзы"
msgid "Pumice Slab"
msgstr "Плита из пемзы"
msgid "Rainbow Block Stair"
msgstr "Ступенька из радужного блока"
msgid "Rainbow Block Slab"
msgstr "Плита из радужного блока"
msgid "Cement Pickaxe"
msgstr "Кирка из цемента"
msgid "Cement Shovel"
msgstr "Лопата из цемента"
msgid "Cement Axe"
msgstr "Топор из цемента"
msgid "Cement Sword"
msgstr "Меч из цемента"
msgid "Evil Pickaxe"
msgstr "Кирка зла"
msgid "Evil Shovel"
msgstr "Лопата зла"
msgid "Evil Axe"
msgstr "Топор зла"
msgid "Evil Sword"
msgstr "Меч зла"
msgid "Wet Cement"
msgstr "Мокрый цемент"
msgid "Evil Stick"
msgstr "Злая палка"
msgid "Obsidian"
msgstr "Обсидиан"
msgid "Steel Fence"
msgstr "Стальной забор"
msgid "Gloopblocks Loaded!"
msgstr "Gloopblocks загружен!"

View File

@ -0,0 +1,226 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-14 06:45+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: init.lua
msgid "Diagonal Rainbow Block"
msgstr ""
#: init.lua
msgid "Horizontal Rainbow Block"
msgstr ""
#: init.lua
msgid "Cement"
msgstr ""
#: init.lua
msgid "Evil Block"
msgstr ""
#: init.lua
msgid "Basalt"
msgstr ""
#: init.lua
msgid "Pumice"
msgstr ""
#: init.lua
msgid "Pavement"
msgstr ""
#: init.lua
msgid "Oerkki Block"
msgstr ""
#: init.lua
msgid "Mossy Stone Brick"
msgstr ""
#: init.lua
msgid "Mossy Stone"
msgstr ""
#: init.lua
msgid "Cobblestone Road Bed"
msgstr ""
#: init.lua
msgid "Mossy Cobblestone Road Bed"
msgstr ""
#: init.lua
msgid "Wooden Scaffold"
msgstr ""
#: init.lua
msgid "Cobblestone Roadbed"
msgstr ""
#: init.lua
msgid "Mossy Cobblestone Roadbed"
msgstr ""
#: init.lua
msgid "Rainbow Block"
msgstr ""
#: init.lua
msgid "Glow Crystal"
msgstr ""
#: init.lua
msgid "Glow Emerald"
msgstr ""
#: init.lua
msgid "Glow Mese"
msgstr ""
#: init.lua
msgid "Mossy Stone Stair"
msgstr ""
#: init.lua
msgid "Mossy Stone Slab"
msgstr ""
#: init.lua
msgid "Mossy Cobble Stair"
msgstr ""
#: init.lua
msgid "Mossy Cobble Slab"
msgstr ""
#: init.lua
msgid "Mossy Stone Brick Stair"
msgstr ""
#: init.lua
msgid "Mossy Stone Brick Slab"
msgstr ""
#: init.lua
msgid "Cobble Roadbed Stair"
msgstr ""
#: init.lua
msgid "Cobble Roadbed Slab"
msgstr ""
#: init.lua
msgid "Mossy Cobble Roadbed Stair"
msgstr ""
#: init.lua
msgid "Mossy Cobble Roadbed Slab"
msgstr ""
#: init.lua
msgid "Cement Stair"
msgstr ""
#: init.lua
msgid "Cement Slab"
msgstr ""
#: init.lua
msgid "Pavement Stair"
msgstr ""
#: init.lua
msgid "Pavement Slab"
msgstr ""
#: init.lua
msgid "Basalt Stair"
msgstr ""
#: init.lua
msgid "Basalt Slab"
msgstr ""
#: init.lua
msgid "Pumice Stair"
msgstr ""
#: init.lua
msgid "Pumice Slab"
msgstr ""
#: init.lua
msgid "Rainbow Block Stair"
msgstr ""
#: init.lua
msgid "Rainbow Block Slab"
msgstr ""
#: init.lua
msgid "Cement Pickaxe"
msgstr ""
#: init.lua
msgid "Cement Shovel"
msgstr ""
#: init.lua
msgid "Cement Axe"
msgstr ""
#: init.lua
msgid "Cement Sword"
msgstr ""
#: init.lua
msgid "Evil Pickaxe"
msgstr ""
#: init.lua
msgid "Evil Shovel"
msgstr ""
#: init.lua
msgid "Evil Axe"
msgstr ""
#: init.lua
msgid "Evil Sword"
msgstr ""
#: init.lua
msgid "Wet Cement"
msgstr ""
#: init.lua
msgid "Evil Stick"
msgstr ""
#: init.lua
msgid "Obsidian"
msgstr ""
#: init.lua
msgid "Steel Fence"
msgstr ""
#: init.lua
msgid "Gloopblocks Loaded!"
msgstr ""

1
gloopblocks/mod.conf Normal file
View File

@ -0,0 +1 @@
name = gloopblocks

BIN
gloopblocks/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

View File

@ -432,8 +432,25 @@ if minetest.get_modpath("gloopblocks") then -- special stone making if gloopbloc
type = 'cooking',
output = "default:cobble",
recipe = "default:gravel",
cooktime = 5
cooktime = 1
})
--adjust cobble->stone cooktime ..
minetest.clear_craft({
type = "cooking",
output = "default:stone",
recipe = "default:cobble",
})
minetest.register_craft({
type = "cooking",
output = "default:stone",
recipe = "default:cobble",
cooktime = 4
})
minetest.register_craft({
output = 'default:gravel 2',