Project Zomboid

Project Zomboid

130 ratings
Rick's MLC Pay & Pump
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.226 MB
20 Mar, 2024 @ 10:28pm
8 Jun @ 12:18am
19 Change Notes ( view )

Subscribe to download
Rick's MLC Pay & Pump

In 1 collection by RicksMLC
Rick's MLC's Fine Collection of Hand Crafted Mods
12 items
Description
"No dough, no go." - Quote from the Secure-Gas-And-Go Payments Processing Company

Gas pumps throughout the country have been updated to the finest level of secure payment possible.
To use a gas pump you will require either a Credit Card with a non-zero balance, or cash Money.
Each time you pick up a blank Credit Card an amount will be displayed in its description in your inventory.
When you use the gas pump it will draw down any Credit Cards and then Money in your primary inventory.
To aid in budgeting, any Credit Cards and Money in your backpacks or other packs will not be consumed.

There are sandbox options to all you to customise the cost of various fuels, and to set auto search for money in your bags.

This mod is @Nightscale's fault; many thanks for the idea and the specification.
Many thanks to @Khontac for assistance and advice in designing the payments handling from the inventory.

Include the RicksMLC_PayAtThePump3rdPartyPatch if you use Treads and/or FuelAPI. This patch fixes a compatibility issue between Pay At The Pump and Treads and FuelAPI mods.

Workshop ID: 3194049112
Mod ID: RicksMLC_PayAtThePump
Mod ID: RicksMLC_PayAtThePump3rdPartyPatch
Popular Discussions View All (5)
5
19 Jul, 2024 @ 10:38am
Errors
Orlo6k
3
3 Apr @ 5:11am
Suggestion
dtoxic
1
10 May @ 1:47am
BTSE Economy Support Payment
Limitless
174 Comments
RagingLoony 8 Jun @ 4:27am 
lol tyvm, love this community
RicksMLC  [author] 8 Jun @ 12:21am 
@Shipyard. I have updated the mod so the local functions are now public. Added the following comment:
-- Note for modders: To add mod support for your fuel handling there are three API methods to call:
-- RicksMLC_PayAtPumpAPI.initPurchaseFuel(this)
-- Call in the :new() Check the source is a fuel pump and initialise the pay amounts.
-- RicksMLC_PayAtPumpAPI.updateFuelPurchase(self, self.tankStart, self.tankTarget)
-- Call in :update(). Check the funds balance and reduce any credit card funds by the delta fuel amount.
-- Note that the :perform() is not needed as the funds balance checking and reducing is handled in updateFuelPurchase.
-- RicksMLC_PayAtPumpAPI.handleEmergencyStop(self)
-- Call in :stop(). Handle the take fuel action abort state by finishing the payment of the final amount.
RicksMLC  [author] 7 Jun @ 3:27am 
@Shipyard - Hmm... I had made some functions local (private) which should really be public so other people can add compatibility. The local functions are "initFuelPurchase", "payForFuel", "updateFuelPurchase" and "handleEmergencyStop". I will make these available once I have tested the changes and they should be sufficient to add compatibility override functions. An example implementation would be similar to the code inside the "require "TimedActions/UGTakePropane"" code on line 530 of RicksMLC_PayAtThePump.lua
Shipyard 6 Jun @ 8:23pm 
Hello again! Do you think it is possible to get this to work with [B42] Useful Barrels? In the comments, they mentioned that they tried to see if it was possible on their end to make a patch but could not. Would this be something you could do? Thanks!
Cyrisa 17 May @ 1:12pm 
Could this be patched to work with "JM3 refill propane"?
It would be pretty awesome to add cost to propane use at the pump.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3479641945
jamie bertle 11 Apr @ 3:45pm 
in b42 we spawn in with ID cards that seems to act as a way for us to use the atms?? . as i had no credit card when i used it. your chara already has a bank acc. which is fine i however i noticed that acc and the pzlinxu mods wallet acc thing. are not linked. i had over 2 grand in my bank acc yet, pzlinxu only showed a 1000. and it seemed to use my id card as bankcard or credit card. side note pzlinxu has very few items you can buy, and i cant seem to sell any items. zbay is far better then pzlinxu,it has far more buying options.
Cat lovers 22 Mar @ 6:01am 
美国,万恶的资本主义国家,即便到了PZ世界,在加油站都要付钱,而在河南,我们伟大文明的发源地,无论任何东西,都可以趁着混乱直接拾取,相当于紧急避险,任何人都不会觉得奇怪😋
Orlo6k 28 Feb @ 1:13pm 
Add the B42 tag to mod, please and thank you :)
Jams [29th ID] 20 Feb @ 12:23am 
I would personally Loooove a way to melt down jewelry and process it into money somehow