Page 1 of 1
[Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 12:06
by Thomas-S
Hello. This is my first published mod:
ts_furniturets_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:
License: CC0
Code: https://github.com/minetest-mods/ts_furnitureDownload: https://github.com/minetest-mods/ts_furniture/archive/master.zipDepends: default, moretrees (optional)
Stable Version: v1.0
The prefix "ts_" is there to avoid namespace conflicts.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 12:20
by cx384
Nice Mod!
Maybe you could add chairs tablessmall tablestiny tables and benches made of wood from the
moretrees mod.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 12:45
by Thomas-S
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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- 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
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 12:56
by jp
Full of originality.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 13:30
by rubenwardy
Awesome. It's nice to have focused mods.
I suggest you make a global function called ts_furniture and put any api things there.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- 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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 13:37
by jp
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 13:50
by rubenwardy
And commenting on someone's first mod sarcastically implying it has no originality isn't insolent or rude at all?
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 13:53
by jp
You have no evidence if was sarcasm. Period.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 13:58
by cd2
Nice mod!
rubenwardy wrote:I suggest you make a global function called ts_furniture and put any api things there.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
ts_furniture = {}
function ts_furniture.register_furniture(one, two)
-- Code
end
+1
Re: [Mod] Furniture [ts_furniture]

Posted:
Sun Mar 27, 2016 14:31
by Thomas-S
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.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- 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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Tue Mar 29, 2016 18:24
by benrob0329
Can you sit in the chairs?
(You could base it off of the [cozy] mod
viewtopic.php?f=11&t=14143&hilit )
Re: [Mod] Furniture [ts_furniture]

Posted:
Wed Mar 30, 2016 06:06
by Thomas-S
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Wed Mar 30, 2016 06:48
by burli
Maybe you can take a look to the villages mod. Sitting on benches is implemented
Re: [Mod] Furniture [ts_furniture]

Posted:
Wed Mar 30, 2016 11:24
by azekill_DIABLO
nice!
Re: [Mod] Furniture [ts_furniture]

Posted:
Wed Mar 30, 2016 14:39
by Don
+1
Re: [Mod] Furniture [ts_furniture]

Posted:
Wed Mar 30, 2016 18:37
by Thomas-S
Thanks for your feedback. I will possibly add the sitting functionality soon. Maybe I will make it optional.
Re: [Mod] Furniture [ts_furniture]

Posted:
Tue Apr 12, 2016 18:55
by Thomas-S
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sat Apr 16, 2016 18:42
by Thomas-S
I moved this mod to
minestest-mods now.
Re: [Mod] Furniture [ts_furniture]

Posted:
Tue Apr 19, 2016 16:01
by cd2
Could you add some new fences/walls? (new nodebox/model...)
Re: [Mod] Furniture [ts_furniture]

Posted:
Tue Apr 19, 2016 16:24
by Thomas-S
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Tue Apr 19, 2016 16:39
by caffe23
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Tue Apr 19, 2016 17:21
by Thomas-S
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Fri Apr 22, 2016 18:35
by Thomas-S
Added support for moretrees mod.
If there are any problems, please notify me.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sat Apr 30, 2016 18:23
by Thomas-S
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.
Re: [Mod] Furniture [ts_furniture]

Posted:
Sat Jun 25, 2016 02:35
by Sokomine
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).
Re: [Mod] Furniture [ts_furniture]

Posted:
Sat Jun 25, 2016 14:17
by Thomas-S
Thanks for your feedback.