[Mod] cottages [cottages] (medieval, farming, country life)

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] cottages [cottages]

by Minetestforfun » Post

i haven't try your mod because they aren't screenshots (not corrupted), sorry if say that... But it's VERY important for me :)

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

Re: [Mod] cottages [cottages]

by Sokomine » Post

LOTS of missing pictures added. I really hope the new image hoster will live long!

As for the mod itshelf: Slate for roofs and as a building block was recently added. I've also supplied a version of the window that does not sit in the center of the block but at the edge of it. The flat wooden planks carry the texture of the other furniture in this mod and may sometimes be useful.
A list of my mods can be found here.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

jp wrote: You can keep cottages as title and just add 'farm' or 'CountryLife' in tag...
I've added "medieval, farming, country life" and hope that'll help. Thanks for your suggestion!
A list of my mods can be found here.

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Minetestforfun » Post

Thank you Sokomine ! Very interresting mod ! i will try it soon !

User avatar
balthazariv
Member
Posts: 214
Joined: Mon Apr 07, 2014 15:48
Contact:

Re: [Mod] cottages [cottages] (medieval, farming, country li

by balthazariv » Post

Thanks Sokomine,

Why you don't put this mod in your Github

Sol
Member
Posts: 73
Joined: Thu Jul 31, 2014 05:21
In-game: sol

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sol » Post

balthazariv wrote:Thanks Sokomine,

Why you don't put this mod in your Github
It's in random_buildings.
There is no such thing as duty. If you know that a thing is right, you want to do it. If you don't want to do it—it isn't right. If it's right and you don't want to do it—you don't know what right is and you're not a man. -- Ayn Rand

User avatar
balthazariv
Member
Posts: 214
Joined: Mon Apr 07, 2014 15:48
Contact:

Re: [Mod] cottages [cottages] (medieval, farming, country li

by balthazariv » Post

Sol wrote:It's in random_buildings.
OK, I hadn't seen that it was included in random_buildings

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: [Mod] cottages [cottages] (medieval, farming, country li

by lightonflux » Post

It is really annoying that the anvil spams the chat. Would it be possible to use the notification above the hud instead?

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

lightonflux wrote: It is really annoying that the anvil spams the chat. Would it be possible to use the notification above the hud instead?
Does the hud work without additional mods now? If so, and if you can tell me how the function is called, I can change it. Guess the same applies to the threshing floor. That also sends chat messages to the player.
A list of my mods can be found here.

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re: [Mod] cottages [cottages] (medieval, farming, country li

by lightonflux » Post

Good question.

I think it is possible.

Throwing Advanced displays that the bow reloads in bow.lua. Link: git repo.

The function used is hud_add().

Code example from mentioned mod:

Code: Select all

        local throwing_hud = player:hud_add({
            hud_elem_type = "text",
            position = {x=0.6,y=0.5},
            text = "Reloading...",
            number = 0xFF0000,
        })

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

Cottages now got its own repository on Github. The most recent version no longer resides in the random_buildings repro - that will just remain as it is - but will be found in the new repro. See first posting. This new setup will make it easier to maintain the mod, clone it, keep your copy current and add it to other games etc.
A list of my mods can be found here.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

lightonflux wrote: It is really annoying that the anvil spams the chat. Would it be possible to use the notification above the hud instead?
I've now found the time and added some form of temporal (very big!) hud for the anvil and the treshing floor, but not yet for the handmill. The hud shows the progress of your workpiece while you punch it. The treshing floor's hud gets empty once you're finished. Hope this helps a bit. Feedback is welcome!
A list of my mods can be found here.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

Minor update. The table now acts as a workbench for games that need it (AdventureTest, RealTest), which does make the villages more usable. Anvils, threshing places and handmills can now be used in such villages as well. The anvil now only protects the hammer from beeing taken out and is otherwise open to usage by other players.

Bench, bed, sleeping mat and straw mat have received functions for sitting on them. This still doesn't do anything (no skipping night function) except setting the player's animation and eye level. A single sleeping mat or straw mat is only good for sitting on it. For sleeping, two next to each other are required. The first right-click makes you sit, the second makes you "sleep" (if there is enough space). The third makes you get up again. Feedback welcome!
A list of my mods can be found here.

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] cottages [cottages] (medieval, farming, country li

by blert2112 » Post

Crashing with this error when attempting to sit...

Code: Select all

2015-08-01 11:47:01: ERROR[main]: ServerError: ...bin\..\mods\village_modpack\cottages/nodes_furniture.lua:338: attempt to call method 'get_player_velocity' (a nil value)
2015-08-01 11:47:01: ERROR[main]: stack traceback:
2015-08-01 11:47:01: ERROR[main]: 	...bin\..\mods\village_modpack\cottages/nodes_furniture.lua:338: in function 'allow_sit'
2015-08-01 11:47:01: ERROR[main]: 	...bin\..\mods\village_modpack\cottages/nodes_furniture.lua:387: in function 'on_rightclick'
2015-08-01 11:47:01: ERROR[main]: 	C:\games\minetest\bin\..\builtin\game\item.lua:326: in function <C:\games\minetest\bin\..\builtin\game\item.lua:319>

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

blert2112 wrote: Crashing with this error when attempting to sit...
Are you using a sufficiently recent version of MT? Though it doesn't look as if the function get_player_velocity is particulary new...
A list of my mods can be found here.

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] cottages [cottages] (medieval, farming, country li

by blert2112 » Post

Sokomine wrote:
blert2112 wrote: Crashing with this error when attempting to sit...
Are you using a sufficiently recent version of MT? Though it doesn't look as if the function get_player_velocity is particulary new...
Using sfan5's latest... 7bbb9b0 from July 19th

edit: Went searching for this function but could not locate it. Guess I am out of luck until sfan5 makes a new build. Guess I could figure out how to do it myself... too much like work. :)

edit2: yup, swapped to Krock's latest (32bit... bummer) and it works... sorry for the inconvenience.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

Sorry for the problems. I usually work with the latest version (or at max a few days old) and didn't know that that particular function was new. It is now optional - if the function does not exist, the check for speed is not done. I encountered some problems when walking fast and trying to take a sit. My character kept sliding into the direction it was walking at and didn't stop. That's why I inserted that speed check. Cottages ought to work with (slightly) older versions of MT again now.
A list of my mods can be found here.

User avatar
twoelk
Member
Posts: 1406
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Mod] cottages [cottages] (medieval, farming, country li

by twoelk » Post

speedcheck?
might be usefull for the "Freeze" mod from PinguinDad.

you can freeze people with it but they keep on drifting in whatever direction they were heading when the commando hit them. verry funny but not so usefull in a teacher-student-scenario.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

twoelk wrote: you can freeze people with it but they keep on drifting in whatever direction they were heading when the commando hit them. verry funny but not so usefull in a teacher-student-scenario.
I'm afraid that won't help here. I do the speedcheck in order to avoid such situations. All I seem to be able to do is check if the player is travelling with some speed - and, if so, give up on the attempt to let the player sit. I havn't found a way to change the speed of the player.
A list of my mods can be found here.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

The handmill can now be configured to mill/grind other items. Just add them to the cottages.handmill_product table. Examples:

Code: Select all

cottages.handmill_product[ 'default:cobble' ] = 'default:gravel';
cottages.handmill_product[ 'default:gravel' ] = 'default:sand';
cottages.handmill_product[ 'default:sand'   ] = 'default:dirt 2';
cottages.handmill_product[ 'flowers:rose'   ] = 'dye:red 6';
cottages.handmill_product[ 'default:cactus' ] = 'dye:green 6';
cottages.handmill_product[ 'default:coal_lump'] = 'dye:black 6';
The variable is accessible from any mod that depends (or at least optionally depends) on cottages.
A list of my mods can be found here.

User avatar
Fixer
Member
Posts: 898
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Fixer » Post

It seems that I'm unable to craft cottage table when Calinou's moreblocks mod is enabled, so there is only 8/16 wooden slab available and it will not craft into table with a stick.

EDIT:
Sokomine: _occl_cul_per_bl: ah. an older version of cottages used the slab created by stairs (3 wooden planks -> 6 slabs). since a few days, it uses the moreblocks-slab (4/16) if moreblocks is installed

User avatar
Napiophelios
Member
Posts: 1025
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Napiophelios » Post

@Sokomine: I have created several variant textures for the anvil, just a little detail makes a big difference :)
They really stand out now. If you'd like to use them you are welcome to.

Image
16px_anvils.png
(125.98 KiB) Not downloaded yet
Last edited by Napiophelios on Fri Sep 08, 2017 00:53, edited 1 time in total.

User avatar
Napiophelios
Member
Posts: 1025
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Napiophelios » Post

@Sokomine : I have made some textures for the cottages bed mod.
I had to rearrange the way you had them placed though
so I game the textures unique names to avoid confusion.

One has a pillow and the other is flat, I hope you like them.



Image
cottages_beds.png
(326.51 KiB) Not downloaded yet
Last edited by Napiophelios on Fri Sep 08, 2017 00:53, edited 1 time in total.

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

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Sokomine » Post

Update: The dirt road from cottages now comes with junctions, t-junctions and curves.
Image

The dirt roads in mg_villages tended to look a bit odd after I lowered the gravel on the streets a bit (it's not a full node anymore). The idea was taken from Pixture. The dirt roads just had to follow, and turned into this:
Image

VanessaE saw it and came up with some even nicer meshes :-)
Image

The default version is the mesh one now. You can still select nodebox (if you prefer boxy style), flat or simple (like flat, but without these new nodes). The models and textures are very tiny. If you prefer one of the other designs (i.e. due to lack of ressources on a phone or tablet), set

Code: Select all

cottages_feldweg_mode = "simple"
cottages/nodes_feldweg.lua right at the beginning of the file.
Attachments
feldweg_flat.jpg
(143.4 KiB) Not downloaded yet
feldweg_nodebox.jpg
(158.83 KiB) Not downloaded yet
feldweg_mesh.jpg
(151.5 KiB) Not downloaded yet
A list of my mods can be found here.

User avatar
Onyx
Member
Posts: 121
Joined: Fri Sep 25, 2015 08:36
In-game: onyx58
Location: Steinheim-NodesNation
Contact:

Re: [Mod] cottages [cottages] (medieval, farming, country li

by Onyx » Post

Hi,

Awesome!

I personaly prefer the middle screenshot (boxy style), anyway, you've done a good job, keep it up!
"Science sans conscience n'est que ruine de l'âme."
-----------------------------------------------------------------------------------------
Steinheim NodesNation : steinheim-minetest.servegame.com Pt : 28000

Post Reply

Who is online

Users browsing this forum: Ignaramico, VulcanVet and 6 guests