[Mod] doorbell [doorbell]

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

[Mod] doorbell [doorbell]

by Miniontoby » Fri May 03, 2019 09:39

"Doorbell" created by "Miniontoby"

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.4.zip
doorbell 1.4
(1016.45 KiB) Downloaded 27 times

doorbell_1.3.zip
doorbell 1.3
(1013.27 KiB) Downloaded 19 times

doorbell_1.2.zip
doorbell 1.2
(1013.04 KiB) Downloaded 17 times
Last edited by Miniontoby on Wed Jul 03, 2019 12:08, edited 5 times in total.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Fri May 17, 2019 10:54

Can anyone test my mod and give feedback or tips??
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by DrFrankenstone » Sat May 18, 2019 05:35

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: 244
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [Mod] doorbell [doorbell]

by Miniontoby » Mon May 20, 2019 15:33

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 24 times


P.S. Thanks "DrFrankenstone" for the idea
Last edited by Miniontoby on Tue May 21, 2019 16:51, edited 1 time in total.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Tue May 21, 2019 16:42

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/Miniontoby/doorbell/
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Thu May 23, 2019 13:59

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 18 times
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Mon May 27, 2019 15:53

How can I make the mod so that he can skip some doorbells to load (when you hasn't got (exemple: ) "Mesecons" )
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Joseph16 » Tue May 28, 2019 13:24

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: 244
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [Mod] doorbell [doorbell]

by Miniontoby » Tue May 28, 2019 13:28

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

But your option is for this time a good option
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Wed Jun 12, 2019 15:53

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 23 times
Last edited by Miniontoby on Sun Jun 30, 2019 08:42, edited 1 time in total.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Sat Jun 15, 2019 09:24

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")
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Tue Jul 02, 2019 08:22

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 20 times
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

BuckarooBanzay
Member
 
Posts: 307
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: [Mod] doorbell [doorbell]

by BuckarooBanzay » Sun Jul 28, 2019 13:03

Any chance you could put that on github/gitlab or another git/vcs service?
Code is much more maintainable if it is properly versioned...
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Sun Jul 28, 2019 15:08

I don't have github and you can download it on https://content.minetest.net/packages/Miniontoby/doorbell
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Fri Aug 30, 2019 18:31

My mod have now more than 400 downloads on content.minetest.net
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Sun Sep 29, 2019 11:20

We hit the 500 downloads on content.minetest.net
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Wed Nov 13, 2019 18:57

My mod have now more than 600 downloads on content.minetest.net. and I need an new doorbell idea or an other mod idea.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by niwla23 » Thu Nov 14, 2019 19:13

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: 244
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [Mod] doorbell [doorbell]

by Miniontoby » Fri Nov 15, 2019 14:27

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.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

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

Re: [Mod] doorbell [doorbell]

by ThorfinnS » Fri Nov 15, 2019 16:07

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: 244
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [Mod] doorbell [doorbell]

by Miniontoby » Fri Nov 15, 2019 18:00

I don't like to have an account and I'm 13 years old and my parents don't give me permissions
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

User avatar
PolySaken
Member
 
Posts: 396
Joined: Thu Nov 09, 2017 05:18
Location: djelibabi
GitHub: PolySaken-I-Am
In-game: PolySaken

Re: [Mod] doorbell [doorbell]

by PolySaken » Sat Nov 16, 2019 00:11

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.
 

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

Re: [Mod] doorbell [doorbell]

by Nathan.S » Sat Nov 16, 2019 03:58

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: 396
Joined: Thu Nov 09, 2017 05:18
Location: djelibabi
GitHub: PolySaken-I-Am
In-game: PolySaken

Re: [Mod] doorbell [doorbell]

by PolySaken » Sat Nov 16, 2019 04:39

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.
 

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

Re: [Mod] doorbell [doorbell]

by Miniontoby » Sat Nov 16, 2019 13:10

But I need an mod idea, not the idea to put it on github!
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 


Return to WIP Mods



Who is online

Users browsing this forum: MSN [Bot] and 9 guests