[Mod] Furniture [ts_furniture]

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

[Mod] Furniture [ts_furniture]

by Thomas-S » Sun Mar 27, 2016 12:06

Hello. This is my first published mod:
ts_furniture

ts_furniture adds basic furniture to minetest. It includes:
  • Chairs
  • Tables
  • Small Tables
  • Tiny Tables
  • Benches

All of these things can be made out of the different kinds of wood from the default mod. Moretrees is also supported.

Here's a screenshot:
Image

License: CC0
Code: https://github.com/minetest-mods/ts_furniture
Download: https://github.com/minetest-mods/ts_furniture/archive/master.zip
Depends: default, moretrees (optional)
Stable Version: v1.0

The prefix "ts_" is there to avoid namespace conflicts.
Last edited by Thomas-S on Sat Apr 30, 2016 18:22, edited 3 times in total.
 

User avatar
cx384
Member
 
Posts: 489
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Furniture [ts_furniture]

by cx384 » Sun Mar 27, 2016 12:20

Nice Mod!
Maybe you could add chairs tablessmall tablestiny tables and benches made of wood from the moretrees mod.
Can your read this?
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Sun Mar 27, 2016 12:45

Thanks for the feedback.
Adding support for moretrees doesn't have high priority for me at the moment. If you want to add support, feel free to make a Pull Request.
You can use the following function:
Code: Select all
register_ts_furniture("mod_name", "node_name", "Description", "texture")


Maybe I will add support for moretrees later, when I have time.


Update:
Renamed function register_furniture to register_ts_furniture
Last edited by Thomas-S on Sun Mar 27, 2016 13:07, edited 1 time in total.
 

User avatar
jp
Member
 
Posts: 704
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith
 

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

Re: [Mod] Furniture [ts_furniture]

by rubenwardy » Sun Mar 27, 2016 13:30

Awesome. It's nice to have focused mods.

I suggest you make a global function called ts_furniture and put any api things there.

Code: Select all
ts_furniture = {}
function ts_furniture.register_furniture(one, two)
    -- Code
end


It's a common practice to make the only global value you export the name of you mod and a table.

jp wrote:Full of originality.


Full of critism.
Your opinion is not always needed, you know.
Core Developer | Donate | My Twitter | Mods | Mods 4 Android | Node Box Editor | Minetest Modding Book

Hello profile reader

LgiOxMFYXOqtqVqMPhbw1Bn3oNRvEC7j
 

User avatar
jp
Member
 
Posts: 704
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

Re: [Mod] Furniture [ts_furniture]

by jp » Sun Mar 27, 2016 13:37

rubenwardy wrote:
jp wrote:Full of originality.

Full of critism.
Your opinion is not always needed, you know.

Where is the criticism ?

Anyways I won't be bothered by an insolent teenager. Especially considering I rarely give my opinion.
[Mods] Crafting GuideSpectator ModeX-Decor[+]
[Maps] New York CityMinecraft Imported Maps
[Textures] PixelBOX Reloaded

Like my stuff? Consider donating.
 

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

Re: [Mod] Furniture [ts_furniture]

by rubenwardy » Sun Mar 27, 2016 13:50

And commenting on someone's first mod sarcastically implying it has no originality isn't insolent or rude at all?
Core Developer | Donate | My Twitter | Mods | Mods 4 Android | Node Box Editor | Minetest Modding Book

Hello profile reader

LgiOxMFYXOqtqVqMPhbw1Bn3oNRvEC7j
 

User avatar
jp
Member
 
Posts: 704
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

Re: [Mod] Furniture [ts_furniture]

by jp » Sun Mar 27, 2016 13:53

You have no evidence if was sarcasm. Period.
[Mods] Crafting GuideSpectator ModeX-Decor[+]
[Maps] New York CityMinecraft Imported Maps
[Textures] PixelBOX Reloaded

Like my stuff? Consider donating.
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

Re: [Mod] Furniture [ts_furniture]

by cd2 » Sun Mar 27, 2016 13:58

Nice mod!

rubenwardy wrote:I suggest you make a global function called ts_furniture and put any api things there.

Code: Select all
ts_furniture = {}
function ts_furniture.register_furniture(one, two)
    -- Code
end

+1
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Sun Mar 27, 2016 14:31

Thank you very much for your feedback.

rubenwardy wrote:I suggest you make a global function called ts_furniture and put any api things there.

Code: Select all
ts_furniture = {}
function ts_furniture.register_furniture(one, two)
    -- Code
end



I will add this very soon. Thanks for the suggestion.

Edit:
Added rubenwardy's suggestion. Thanks again.
 

User avatar
benrob0329
Member
 
Posts: 1233
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Wed Mar 30, 2016 06:06

benrob0329 wrote:Can you sit in the chairs?

(You could base it off of the [cozy] mod viewtopic.php?f=11&t=14143&hilit )


Until now, sitting in a chair isn't possible. I'll look at the problem; maybe I'll add your suggestion.

Thanks for the feedback.
 

User avatar
burli
Member
 
Posts: 1605
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] Furniture [ts_furniture]

by burli » Wed Mar 30, 2016 06:48

Maybe you can take a look to the villages mod. Sitting on benches is implemented
 

User avatar
azekill_DIABLO
Member
 
Posts: 7387
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Furniture [ts_furniture]

by Don » Wed Mar 30, 2016 14:39

+1
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Wed Mar 30, 2016 18:37

Thanks for your feedback. I will possibly add the sitting functionality soon. Maybe I will make it optional.
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Tue Apr 12, 2016 18:55

The long wanted update arrived:
You can now sit on chairs and benches.
To sit, right-click the chair/bench.
The code for this feature was mostly taken from the cozy mod.
You can enable/disable this feature in init.lua.

NOTE: Sitting is still in development. Please report any bugs you find. The "stable" version is tagged as "v0.1" on Github.
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

Re: [Mod] Furniture [ts_furniture]

by cd2 » Tue Apr 19, 2016 16:01

Could you add some new fences/walls? (new nodebox/model...)
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Tue Apr 19, 2016 16:24

I won't add fences or walls to this mod; it will only be a mod for chairs and tables. I plan to make my mods small and focused. However, my walls mod is nearly ready to be released.
 

caffe23
New member
 
Posts: 6
Joined: Wed Jul 08, 2015 23:02
GitHub: caffe23

Re: [Mod] Furniture [ts_furniture]

by caffe23 » Tue Apr 19, 2016 16:39

Nice mod!.
I have just an idea, to make things more interesting, and to add some to the game play, may be when you eat something seated you can gain extra food points (or healing), or some percentage from the food (10%-20%). Also the chair-table combo can give extra bonus.
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Tue Apr 19, 2016 17:21

Thanks for the feedback. Your idea sounds really interesting. However, I won't implement this in the near future because this mod should be kept simple and all the extra checks will also cause lag maybe. Sorry.
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Fri Apr 22, 2016 18:35

Added support for moretrees mod.
If there are any problems, please notify me.
 

Thomas-S
Member
 
Posts: 75
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: [Mod] Furniture [ts_furniture]

by Thomas-S » Sat Apr 30, 2016 18:23

I released the first stable version, v1.0, right now. No bugs were reported during the testing time, so this mod should be ready for the use on servers.
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Furniture [ts_furniture]

by Sokomine » Sat Jun 25, 2016 02:35

It may be a small mod, but the chairs and tables (back then from the 3dfurniture mod) surprised me when starting the game - and they are still something very useful. It would be great to have chairs and tables in minetest_game (though not all shapes).
A list of my mods can be found here.
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests