[Mod] Default Plus [1.1.2] [dplus]

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

[Mod] Default Plus [1.1.2] [dplus]

by BlockMen » Post

Hi everyone,

this mod modifies and adds a few things of the default parts of Minetest.

New items:
- Charcoal (by putting a tree log in furnace) (1 tree -> 1 charcoal)
- Hardened Clay (by putting a clay block in furnace) (1 clayblock -> 1 hardened clay)

Changed Appearance:
- Cactus have spikes
- Ice is semi-transparent
- Water has a better color and breightness when under water
- Glass is semi-transparent

Changed Behavior:
- Flowing water makes sound
- Lava makes sound and spawns randomly particles
- Cactus damage Players [Mobs not tested yet]
- You get 4 Stonebricks instead 1 Stonebrick
- Torches can also be crafted with charcoal
- Leaves dont decay when placed by player
- Apple decay from trees (is now in default)
- Dirt with snow turns into Dirt with Grass when snow is digged

Screenshots:
Image
Image
Image
Image
or just watch this video
Depends:
default

Download:
Version 1.1.2: Download for Minetest dev

Version 1.1.1: Download for Minetest 0.4.7
Version 1.1: Download for Minetest 0.4.6

Version 1.0.2: old Version
Version 1.0: old Version
other ice drawtype: ice-edition (has also semi-transparent ice)

License:
Code: WTFPL, sounds: CC-BY 3.0, CC0


Please give Feedback and ideas for improvement.
Last edited by BlockMen on Thu Aug 08, 2013 20:19, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Nice!
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

The reason why ice isnt semi-transparent in minetest_game is that its very glitchy.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

rubenwardy wrote:Nice!
Thanks.
PilzAdam wrote:The reason why ice isnt semi-transparent in minetest_game is that its very glitchy.
I have added a second version for people who may have problems with that. But is has also semi-transparent ice.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Can we see underwater with a comparison to normal water?

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

Ah, this looks very interesting!

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Jordach wrote:Can we see underwater with a comparison to normal water?
Sure.

With this mod: Image
Normal: Image

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Hybrid Dog wrote:for me the normal one looks better and more realistic
Well, you dont have to install this mod and better is always subjective. Furthermore it says nowhere to be more realistic.

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

by 12Me21 » Post

you should make glass translucent too, like this:
Image

Here's the texture file I used:
Image
Shoutouts to Simpleflips

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

12Me21 wrote:you should make glass translucent too [...]
Nice idea. Added to my list.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Update: Version 1.0.1

- Dirt with snow turns into Dirt with Grass when snow is digged

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

by 12Me21 » Post

You should make footprints appear when you walk (using the node "default:dirt_with_grass_footprints")
Here is the code I made for it (the abm may not work, I haven't tested it yet)

Code: Select all

--
--Make Footprints
--

minetest.register_globalstep(function(dtime)
    for _,player in ipairs(minetest.get_connected_players()) do
        local pos = player:getpos()
        local ground_pos = { x=math.floor(pos.x+0.5), y=math.floor(pos.y), z=math.floor(pos.z+0.5) }
        local ground = minetest.env:get_node(ground_pos)

if ground.name == "default:dirt_with_grass" then
    minetest.env:add_node(ground_pos,{type="node",name="default:dirt_with_grass_footsteps"})
        end
    end
end)

--
--New footprint Texture
--

minetest.register_node(":default:dirt_with_grass_footsteps", {
    description = "Dirt with Grass and Footsteps",
    inventory_image = "default_grass_footsteps.png",
    tiles = {"footprints.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
    is_ground_content = true,
    groups = {crumbly=3, not_in_creative_inventory=1},
    drop = 'default:dirt',
    sounds = default.node_sound_dirt_defaults({
        footstep = {name="default_grass_footstep", gain=0.4},
    }),
})

--
--Make Footprints Go Away
--

minetest.register_abm({
    nodenames = {"default:dirt_with_grass_footsteps"},
    interval = 50,
    chance = 20,
    action = function(pos, node)
        minetest.env:add_node(ground_pos,{type="node",name="default:dirt_with_grass"})
    end,
})
And the new texture:
Image
Shoutouts to Simpleflips

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Update: Version 1.0.2

- Bugfixed torch with charcoal

qznc
Member
Posts: 55
Joined: Tue Jul 03, 2012 09:02

by qznc » Post

Nice mod! Added it to "famish".

Do you have a github repo or just zip releases?

qznc
Member
Posts: 55
Joined: Tue Jul 03, 2012 09:02

by qznc » Post

Bugfix: Resolve conflict with stoneage's torch crafting.

See change: https://github.com/qznc/famish/commit/4 ... 1d556eef74

Although, I am not sure if this is the right approach.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

qznc wrote:Bugfix: Resolve conflict with stoneage's torch crafting.

See change: https://github.com/qznc/famish/commit/4 ... 1d556eef74

Although, I am not sure if this is the right approach.
Yes, it is the right approach. You dont need to change depends.txt for checking if a mod is installed.

You can cut the code a little bit like this https://gist.github.com/BlockMen/5646006, which makes handling more fixes for other torches easier ;)

User avatar
Casimir
Member
Posts: 1206
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

by Casimir » Post

I like the water sound, it make the game move vivid immediately.
12Me21 wrote:And the new texture:
Image
Would you please tell me the license for the texture? So I can use it in my game-mode.

qznc
Member
Posts: 55
Joined: Tue Jul 03, 2012 09:02

by qznc » Post

README states "License of source code and textures: WTFPL"
Last edited by qznc on Sat May 25, 2013 13:31, edited 1 time in total.

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

by 12Me21 » Post

Casimir wrote:I like the water sound, it make the game move vivid immediately.
12Me21 wrote:And the new texture:
Image
Would you please tell me the license for the texture? So I can use it in my game-mode.
WTFPL, I guess
Shoutouts to Simpleflips

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

I like the translucent ice and the lava particles. I hope these can make it into the default game one day.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Casimir wrote:I like the water sound, it make the game move vivid immediately.
Inocudom wrote:I like the translucent ice and the lava particles.
Thanks.
Inocudom wrote:I hope these can make it into the default game one day.
I dont think that it gets merged...

EDIT: Because Apple decay is added to default game it will be removed from this mod when 0.4.7 is released.
Last edited by BlockMen on Sat May 25, 2013 18:21, edited 1 time in total.

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Update: Version 1.1 released

- Added semi-transparent glass
Image

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

Update: Version 1.1.1

- removed apple decay because it has been added to Minetest 0.4.7

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

BlockMen wrote:Update: Version 1.1.1

- removed apple decay because it has been added to Minetest 0.4.7
Yay.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

by TenPlus1 » Post

Great mod, I noticed that drowning only seems to happen when under moving water, not still waters... Could you fix please :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests