[Mod] Farebox [farebox]

User avatar
gpcf
Member
 
Posts: 276
Joined: Fri May 27, 2016 10:48
In-game: gabriel

[Mod] Farebox [farebox]

by gpcf » Tue Aug 22, 2017 22:49

This mod adds a Farebox to collect entrance fees. It basically collects a payment from a player and sends a mesecon signal that could, for instance, open a door. Mesecons only connect from the top and from the bottom, so it can be placed next to a door without interfering with it (I would recommend adding circuitry to close the door after the player has passed).

Download: https://github.com/gpcf/farebox
Dependencies: mesecons, default, doors
License: ISC
Image
Attachments
screenshot_20170823_004353.png
(152.29 KiB) Not downloaded yet
Last edited by gpcf on Mon Nov 13, 2017 19:18, edited 1 time in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Wed Aug 23, 2017 07:53

amazing idea. i wonder why no one did this before... how many time does signal lasts?
 

User avatar
Andrey01
Member
 
Posts: 2173
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [Mod] Farebox [farebox]

by Andrey01 » Wed Aug 23, 2017 08:38

For enable to open a door do i need to pay? What do i need to pay?
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
gpcf
Member
 
Posts: 276
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Wed Aug 23, 2017 08:55

The signals last 3 seconds. But I would not recommend using it to open a door directly, instead add circuitry below to keep the door open until the player has passed.

You can set what you want your guests to pay.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
gpcf
Member
 
Posts: 276
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Wed Aug 30, 2017 18:46

Coming soon: faregates. They are way simpler to operate than the farebox, the farebox may also be used for other mesecon projects such as coin-operated music players.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Thu Aug 31, 2017 06:49

very nice concept, it allow to do shops too. Howver the textures clashes a bit with the style of minetest. I will purpose you one later this day.
 

User avatar
gpcf
Member
 
Posts: 276
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Thu Aug 31, 2017 15:31

Faregates have been added: Image
Attachments
screenshot_20170831_172943.png
(206.88 KiB) Not downloaded yet
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Fri Sep 01, 2017 07:07

Here is my texture proposal!

Image

Use steel block texture on the other sides to fit the look :)
Attachments
farebox_texture_proposal.png
(605 Bytes) Not downloaded yet
 

User avatar
gpcf
Member
 
Posts: 276
Joined: Fri May 27, 2016 10:48
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Sat Sep 02, 2017 15:17

I've applied your texture now, and adjusted the craft recipe accordingly. Looks better now.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

farooqkz
Member
 
Posts: 11
Joined: Mon Aug 28, 2017 11:47
GitHub: farooqkz

Re: [Mod] Farebox [farebox]

by farooqkz » Sun Sep 03, 2017 20:24

Add the 2nd screenshot to the first topic.
also nice mod(if you implement it correctly)
 

User avatar
Wuzzy
Member
 
Posts: 3243
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Farebox [farebox]

by Wuzzy » Fri Dec 01, 2017 09:49

Remember to put ALL relevant info (dependencies, compability with MT versions, license, etc.) in the first post instead of scattering it across posts.
My creations. I gladly take any bitcoins you have lying around: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Farebox [farebox]

by Krock » Tue Aug 07, 2018 17:25

Bump. I fixed some visual and security issues.
https://github.com/gpcf/farebox/pull/2
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 


Return to Mod Releases



Who is online

Users browsing this forum: Exabot [Bot] and 2 guests