[Mod] doorbell [doorbell]

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

[Mod] doorbell [doorbell]

by Miniontoby » Post

"Doorbell" created by "Miniontoby"

WE HAVE Image!

I have made a doorbell mod with a doorbell and a delete tool.


Working:

When you push the doorbell there is coming a doorbell_sound only at the person who's hosting the server or only singleplayer.


Recipe:

- = none,
| = delete_tool,
\ = doorbell,
/ = wood,
m_s = mesecons_button:button_off,
w_b = wool:black,
w_w = wool:white,
m_m = group:mesecon_conductor_craftable
d_l = digilines:wire_std_00000000,

Doorbell_locked {

\ | -

}

Doorbell {

w_b w_b w_b

w_b w_w w_b

w_b w_b w_b

}

Delete tool {

\

}

Doorbell 3D {

\ m_s -

}

Doorbell mesecons {

\ m_m -

}

Doorbell digilines{

\ d_l -

}

History:

I have made It when I was just 10 years, and 3 years later and I made the delete tool
I made the delete tool because I couldn't delete the doorbell.


You can use the delete tool for every node and it look like as the nodebreaker in the mod "Pipeworks".

download mod (older releases and newest release check https://content.minetest.net/packages/M ... /doorbell/)

doorbell 1.6

doorbell 1.5
doorbell_1.4.zip
doorbell 1.4
(1016.45 KiB) Downloaded 155 times
doorbell_1.3.zip
doorbell 1.3
(1013.27 KiB) Downloaded 134 times
doorbell_1.2.zip
doorbell 1.2
(1013.04 KiB) Downloaded 127 times
Last edited by Miniontoby on Mon Oct 05, 2020 07:55, edited 16 times in total.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

Can anyone test my mod and give feedback or tips??
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
DrFrankenstone
Member
Posts: 231
Joined: Tue May 24, 2016 05:36
GitHub: treer
Location: Australia
Contact:

Re: [Mod] doorbell [doorbell]

by DrFrankenstone » Post

You got something working inside Minetest, now its time to polish it.

One approach if you don't know how to do something, is to find a node that behaves similarly to the behaviour you want and see how it works.

In this case, creating a new tool that removes doorbell blocks because they ring on left-click and thus do not break, seems like sidestepping a problem instead of figuring it out. You could look at how the button in mesecons works (like doors, cupboards, chests etc, it activates on a right click), or you could keep it ringing on left-click while also having it breakable with existing tools, by removing the set_node() call and setting groups = {cracky=1}. Ringing on right-click in addition to the left click probably wouldn't be a bad thing either - right click is more conventional, and you could even look into that mesecon button code to see how to make the doorbell button 3D if you wanted.

Note that in creative mode it will still break immediately on a left-click (once you've removed the set_node() call), but when used in a normal game it will behave the way you want - e.g. not breaking on left-click unless you use a pickaxe and even then taking a long time with a pickaxe. Perhaps 10-year old you was testing it in creative mode, and so was unable to stop it breaking on a left-click without adding that call to set_node().

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

UPDATE 1.1

I have made 2 more doorbells.

One looks as the mesecons doorbell and the other one is the doorbell with right click.

The doorbell that already was there is now renamed to "doorbell_lock" because you can't delete them by hand (only by the delete tool) and that can you see as 'locked' and it has a lock drawing in the center.

doorbell_1.1.zip
Doorbell 1.1
(452.68 KiB) Downloaded 140 times
P.S. Thanks "DrFrankenstone" for the idea
Last edited by Miniontoby on Tue May 21, 2019 16:51, edited 1 time in total.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

The mod is now ready to download it from Minetest > content > browse online content > find "doorbell" (> = goto) or "minetest mods" app or from https://content.minetest.net/packages/M ... /doorbell/
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

UPDATE 1.2

I have made a new doorbell.

The newest doorbell is named "doorbell_mesecons" and you need to have "mesecons". It does the doorbell sound when mesecons (that connected is) on is.
doorbell_1.2.zip
Doorbell 1.2
(1013.04 KiB) Downloaded 129 times
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

How can I make the mod so that he can skip some doorbells to load (when you hasn't got (exemple: ) "Mesecons" )
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: [Mod] doorbell [doorbell]

by Joseph16 » Post

make it so the mesecon doorbell is its own mod, contained inside the main mod as a modpack. Then, set the mesecons mod as a dependency in the mesecon doorbell.

your file folder will be like:
doorbellsmod---
doorbell1
doorbell2
meseconbell
modpack.txt
Testin' mines since 1989

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

I mean that the script can search that there is the mesecons mod

But your option is for this time a good option
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

UPDATE 1.3

I have made a change.

The mod is now looking of there is the mod "mesecons" and when that mod is on, it load the "doorbell_mesecons" and the "3D doorbell"

And the receipes are changed
doorbell_1.3.zip
doorbell 1.3
(1013.27 KiB) Downloaded 139 times
Last edited by Miniontoby on Sun Jun 30, 2019 08:42, edited 1 time in total.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

Does anyone has got a idea how to make a doorbell so that when you right click them (theres is also coming a doorbell sound) there comes a waypoint with the distance from the doorbell until the player who's run the server (I mean the "name = <your name>" name in the "minetest.conf")
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

UPDATE 1.4

I have made a new Doorbell.

The newest doorbell is named "doorbell_digiline" and you need to have "digilines" for it. When you do make a lua controller with button you can do:
"if pin.c == true then
digiline_send("channel","doorbell")
end"

You need for this code the button at port "c" and change the "channel" to the channel you have chosen (when you right click on the doorbell).
doorbell_1.4.zip
doorbell 1.4
(1016.45 KiB) Downloaded 136 times
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
BuckarooBanzay
Member
Posts: 435
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod] doorbell [doorbell]

by BuckarooBanzay » Post

Any chance you could put that on github/gitlab or another git/vcs service?
Code is much more maintainable if it is properly versioned...
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

I don't have github and you can download it on https://content.minetest.net/packages/M ... y/doorbell
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

My mod have now more than 400 downloads on content.minetest.net
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

We hit the 500 downloads on content.minetest.net
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

My mod have now more than 600 downloads on content.minetest.net. and I need an new doorbell idea or an other mod idea.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
niwla23
Member
Posts: 118
Joined: Sat Nov 17, 2018 17:40
In-game: Niwla

Re: [Mod] doorbell [doorbell]

by niwla23 » Post

why dont you put it on gitlab or github?
BTW, i dont think anyone caresa bout every 100 downloads you hit ^^

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

niwla23 wrote:why dont you put it on gitlab or github?
BTW, i dont think anyone caresa bout every 100 downloads you hit ^^
I don't have github and I have no permissions for github and gitlab need to have an file from github.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] doorbell [doorbell]

by ThorfinnS » Post

Are you blocked by work or school, or is it that you don't want an account? If it's the MS thing, you can always open one at notabug or gitlab or lots of other options, though it can make forking more involved.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

I don't like to have an account and I'm 13 years old and my parents don't give me permissions
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: [Mod] doorbell [doorbell]

by PolySaken » Post

Miniontoby wrote:I don't like to have an account and I'm 13 years old and my parents don't give me permissions
I you're 13 you don't need your parent's permission to create an account on any website.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] doorbell [doorbell]

by Nathan.S » Post

PolySaken wrote:
Miniontoby wrote:I don't like to have an account and I'm 13 years old and my parents don't give me permissions
I you're 13 you don't need your parent's permission to create an account on any website.
You probably shouldn't be going around telling people to break their parent's rules.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
PolySaken
Member
Posts: 817
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: Wānaka, Aotearoa
Contact:

Re: [Mod] doorbell [doorbell]

by PolySaken » Post

Nathan.S wrote:
PolySaken wrote:
Miniontoby wrote:I don't like to have an account and I'm 13 years old and my parents don't give me permissions
I you're 13 you don't need your parent's permission to create an account on any website.
You probably shouldn't be going around telling people to break their parent's rules.
The thing is though, that people seem to think their parent's rules are the law. The opposite is in fact true in most cases, since restricting certain things is actually illegal. But this is offtopic.
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] doorbell [doorbell]

by Miniontoby » Post

But I need an mod idea, not the idea to put it on github!
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests