[Mod] Farebox [farebox]

Post Reply
gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

[Mod] Farebox [farebox]

by gpcf » Post

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
screenshot_20170823_004353.png (152.29 KiB) Viewed 2169 times
Last edited by gpcf on Mon Nov 13, 2017 19:18, edited 1 time in total.

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

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Post

amazing idea. i wonder why no one did this before... how many time does signal lasts?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [Mod] Farebox [farebox]

by Andrey01 » Post

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

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Post

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: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Post

entry: 10 diamond blocks
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Post

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: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Post

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.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Post

Faregates have been added: Image
Attachments
screenshot_20170831_172943.png
screenshot_20170831_172943.png (206.88 KiB) Viewed 2169 times

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

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Post

they look fine!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Post

Here is my texture proposal!

Image

Use steel block texture on the other sides to fit the look :)
Attachments
farebox_texture_proposal.png
farebox_texture_proposal.png (605 Bytes) Viewed 2169 times
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Farebox [farebox]

by gpcf » Post

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

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

Re: [Mod] Farebox [farebox]

by azekill_DIABLO » Post

thanks! if you want to know the license it's CC-BY
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [Mod] Farebox [farebox]

by farooqkz » Post

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

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

Re: [Mod] Farebox [farebox]

by Wuzzy » Post

Remember to put ALL relevant info (dependencies, compability with MT versions, license, etc.) in the first post instead of scattering it across posts.

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

Re: [Mod] Farebox [farebox]

by Krock » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 75 guests