[Mod] Soft Leaves [0.2.0] [soft_leaves]

Do you use this mod?

Yes, I like it.
0
No votes
No, I'm not interested.
0
No votes
 
Total votes : 0

User avatar
Hamlet
Member
 
Posts: 625
Joined: Sat Jul 29, 2017 21:09
Location: Lombardy, Italy
GitHub: h4ml3t
IRC: H4mlet

[Mod] Soft Leaves [0.2.0] [soft_leaves]

by Hamlet » Sat May 19, 2018 12:26

Image
Allows to walk through and to climb on leaves.

Version: 0.2.0
Source code's license: EUPL v1.2 or later.

Dependencies: default (found in Minetest Game)


Downloads:
Archives: .zip .tar.gz
Source code: GitHub


Installation

Unzip the archive, rename the folder to soft_leaves and place it in
../minetest/mods/

GNU+Linux: If you use a system-wide installation place it in
~/.minetest/mods/

If you only want this to be used in a single world, place the folder in
../minetest/worlds/world_name/worldmods/

For further information or help see:
http://wiki.minetest.net/wiki/Installing_Mods
Attachments
screenshot.png
(15.73 KiB) Not downloaded yet
Last edited by Hamlet on Fri Nov 08, 2019 14:08, edited 6 times in total.
 

User avatar
texmex
Member
 
Posts: 1588
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Soft Leaves [0.1.0] [soft_leaves]

by texmex » Sat Jun 02, 2018 21:37

Nice feature.

Tip: If you loop through registered nodes for the group ”leaves” you won’t have to repeat yourself in your code.
 

User avatar
Hamlet
Member
 
Posts: 625
Joined: Sat Jul 29, 2017 21:09
Location: Lombardy, Italy
GitHub: h4ml3t
IRC: H4mlet

Re: [Mod] Soft Leaves [0.1.0] [soft_leaves]

by Hamlet » Sun Jun 03, 2018 18:39

texmex wrote:Nice feature.

Tip: If you loop through registered nodes for the group ”leaves” you won’t have to repeat yourself in your code.


Thank you; any hints on how to do that?
I've checked the lua_api. but I didn't understood how to scan minetest.registered_nodes for the leaves group.
I was about to do something like:

Code: Select all
for i = 1, #minetest.registered_nodes do
   if (minetest.registered_nodes[i].groups == leaves) then
      ...
   end
end
 

User avatar
texmex
Member
 
Posts: 1588
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

User avatar
Hamlet
Member
 
Posts: 625
Joined: Sat Jul 29, 2017 21:09
Location: Lombardy, Italy
GitHub: h4ml3t
IRC: H4mlet

Re: [Mod] Soft Leaves [0.2.0] [soft_leaves]

by Hamlet » Wed Oct 30, 2019 18:42

Released v0.2.0

Added:
- Global function which allows other mods to register their nodes (see api.txt).

Changed:
- License changed to EUPL v1.2
- Code entirely rewritten.
- mod.conf set to follow MT v5.x specifics.

Removed:
- Support for MT v0.4.x
 

Astrobe
Member
 
Posts: 239
Joined: Sun Apr 01, 2018 10:46
 

User avatar
Hamlet
Member
 
Posts: 625
Joined: Sat Jul 29, 2017 21:09
Location: Lombardy, Italy
GitHub: h4ml3t
IRC: H4mlet

Re: [Mod] Soft Leaves [0.2.0] [soft_leaves]

by Hamlet » Sat Nov 02, 2019 12:26

Astrobe wrote:TIL about EUPL. Interesting license!


Basically it is like the GPLv3, but officially and legally available in about 30 languages.

I believe that a license should be comprehensible by anyone, and that its translations should be legally valid.

Else you are simply forcing people to adhere to a contract that they don't even understand.

For example, one can use a Spanish or French translation of the GPL, but the only legal version is the English one.
As far as I know, those translations are provided as "courtesy": so if you make some mistake because you don't understand English (legalese English, moreover), it's your fault.

It reminds me of the scene where an European colonist gives a contract to a native - which of course can't even read - telling him/her to sign it with a big X.
Afterward the native discovers that he/she has just given all his/her possessions to the colonist, be it the farmland, the home, whatever.
"Legally valid, friend, here's the contract that you signed. Now be a civil person and get away."

We have made some steps forward from that era - swindling people using language as a trap - haven't we?

Here's a table of comparison between various licenses: https://choosealicense.com/appendix/
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests