Compare commits

...

14 Commits

Author SHA1 Message Date
ac8e6ca8f7 Fix deprecated use of use_texture_alpha
To avoid warning messages at boot time.
Breaks Minetest 5.4< compatibility.
2021-02-28 13:46:45 +01:00
422d94e311 Prevents loss of color when digging an off block 2021-02-28 13:33:50 +01:00
rabbibob
54614811d6
Add files via upload 2020-11-03 06:23:14 -05:00
rabbibob
d18c76b578
Add files via upload 2020-11-03 06:22:02 -05:00
rabbibob
4852ee7200
Add files via upload 2020-11-03 06:20:57 -05:00
rabbibob
27c170fbed
Merge pull request #6 from Panquesito7/master
Use mod.conf for dependencies and description
2020-11-03 06:04:06 -05:00
rabbibob
be5478c88b
Merge pull request #5 from VanessaE/master
use Unified Dyes on_dig where needed
2020-11-03 06:02:49 -05:00
rabbibob
69cc65bc8a
Update init.lua 2020-11-03 05:57:54 -05:00
rabbibob
dbdaee8eed
Update readme.txt 2020-11-03 05:55:55 -05:00
rabbibob
b900a7aff3
Merge pull request #4 from minetest-mods/master
Pull from minetest-mods
2020-11-03 05:24:55 -05:00
rabbibob
437275f8e4
Update blocks.lua ahead of Pull Request 2020-11-03 05:19:35 -05:00
Panquesito7
d598f02bcd
Use mod.conf for dependencies and description
Deletes deprecated 'depends.txt' and 'description.txt'.
2019-10-28 16:29:12 -06:00
Vanessa Dannenberg
e0ff72b43f use Unified Dyes on_dig where needed
requires UD commit 9ff40a7f or later
2019-07-18 02:04:51 -04:00
Vanessa Ezekowitz
20221b2618 minetest.env:* --> minetest.* (#2)
* minetest.env:* --> minetest.*

* tile_images --> tiles

* Add standard mod files.

* Rewrote the mod to use the new param2 color method
New dependency on Unified Dyes.

This change comes with a few neutral-to-positive side effects:

1) Minor recipe changes were necessary since there are only two blocks and
   two poles now.
2) All recipes, node names, etc. were updated to current minetest API.
3) Where recipes called for leaves or sticks, I used groups.
4) the "wavy" (formerly "grey") block and fence/pole can now be
   colored as well.
5) Inside the conversion LBM, some of the original colors were re-mapped
   to the closest Unified Dyes equivalents, to try to keep the on-screen
   appearance mostly the same after conversion.
6) Aside from "BTM" and "Health", all block and pole nodes can take on the
   entire Unified Dyes palette instead of just the 9 originally offered.

Mod works the same as others that depend on Unified Dyes - craft and place
a block or pole, then right-click on it with dye to colorize it.

* unified dyes uses on_use now, instead of on_rightclick

* don't run the LBM at every load
2017-02-19 08:12:17 -05:00
33 changed files with 17 additions and 12 deletions

View File

@ -69,7 +69,7 @@ minetest.register_node("bobblocks:block_off", {
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
is_ground_content = false,
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1},
mesecons = {conductor={
state = mesecon.state.off,
@ -114,7 +114,7 @@ minetest.register_node("bobblocks:pole_off", {
palette = "unifieddyes_palette_extended.png",
sunlight_propagates = true,
is_ground_content = false,
use_texture_alpha = true,
use_texture_alpha = "blend",
sounds = default.node_sound_glass_defaults(),
light_source = LIGHT_MAX-10,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1},
@ -170,7 +170,7 @@ minetest.register_node("bobblocks:wavyblock_off", {
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
is_ground_content = false,
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1},
mesecons = {conductor=
{

View File

@ -1,3 +0,0 @@
default
mesecons
unifieddyes

View File

@ -1 +0,0 @@
Add some colorful nodes to building and also to add light.

View File

@ -1,4 +1,4 @@
print("[BobBlocks By minetest@rabbibob.com] Version 0.0.8 loading....")
print("[BobBlocks By minetest@rabbibob.com] Version 0.0.9 loading....")
print("[BobBlocks] loading Blocks")
dofile(minetest.get_modpath("bobblocks") .. "/blocks.lua")
print("[BobBlocks] loaded Blocks")
@ -8,4 +8,4 @@ print("[BobBlocks] loaded Health")
print("[BobBlocks] loading Traps")
dofile(minetest.get_modpath("bobblocks") .. "/trap.lua")
print("[BobBlocks] loaded Traps")
print("[BobBlocks By minetest@rabbibob.com] Version 0.0.8 loaded!")
print("[BobBlocks By minetest@rabbibob.com] Version 0.0.9 loaded!")

View File

@ -1 +1,3 @@
name = bobblocks
depends = default, mesecons, unifieddyes
description = Add some colorful nodes to building and also to add light.

View File

@ -1,8 +1,15 @@
-- BobBlocks v0.0.8
-- (Minetest 0.4.5 compatible 20130315)
-- BobBlocks v0.0.9
-- (Minetest 5.3.0 compatible 20201103)
-- http://forum.minetest.net/viewtopic.php?id=1274
--------------------------------------------------------------------------
--------------------------------------------------------------------------
-- Full dependencies (including sub-dependencies):
-- basic_materials
-- mesecons
-- moreores
-- unifieddyes
---- Notes prior to v0.0.9
-- Requirements: Mesecons --
-- http://forum.minetest.net/viewtopic.php?id=628 --
-- --
@ -50,4 +57,4 @@
# http://www.freesound.org/people/Rock%20Savage/sounds/65924/#
# Edited by rabbibob
# bobblocks_health
# http://hamsterrepublic.com/ohrrpgce/Free_Sound_Effects.html
# http://hamsterrepublic.com/ohrrpgce/Free_Sound_Effects.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB