Project Zomboid

Project Zomboid

Rick's MLC Pay & Pump
21件中 11-20 を表示
< 1  2  3 >
更新:2024年7月18日 @ 1時36分
更新者:RicksMLC

Added to the 3rd party patch for the The Filibuster Rhymes' Used Cars! Fuel Test "FuelTruck_ISRefuelFromGasPump_start.lua" file which has an override for the ISRefuelFromGasPump:start() which looks like test code with hard-coded values, and does not set the self.sound. This will cause the ISRefuelFromGasPump:stop() to error when it tries to stop the sound.

This patch removes the FR :start() method by replacing it with the original vanilla function.

更新:2024年7月11日 @ 5時38分
更新者:RicksMLC

Updated to correct the cost of fuel from the pump by dividing the amount spent by the cost/litre. Silly mistake really. I could claim I was too tired to code it properly in a fit of otherwise inspirational coding, and that might be the case. Certainly this is a consequence of insufficient testing.

更新:2024年7月8日 @ 2時11分
更新者:RicksMLC

Fixed issue with sandbox options not using the updated custom values.

更新:2024年7月7日 @ 1時58分
更新者:RicksMLC

Updated sandbox options to have a maximum of 100 (was 5)
Added compatibility code for the Simple Ovehaul Traits and Occupationsl. The SOTO mod code replaces some of the fuel timed actions, which causes the Pay and Pump code to not run. This update replicates the SOTO code effects while still allowing the Pay and Pump code to run.

更新:2024年4月3日 @ 4時40分
更新者:RicksMLC

Fixed missing code so it uses the propane price.

更新:2024年4月2日 @ 2時33分
更新者:RicksMLC

By popular demand I have added support for:
-- Pumps Have Propane https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2739570406
-- CreditCardsPlus https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2873621032
-- Snake's Mod https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2719327441 (PremiumCreditCard)

Note I have not released the Pumps Have Propane : Fill Large Propane Tank because I can't find one to test, and don't know where it comes from. If anyone knows the item Type and which mods includes it please let me know and I will be able to test and release sometime.

更新:2024年3月28日 @ 17時04分
更新者:RicksMLC

Updated fuelStation detection to use the name of the texture for gas2go and fossoil, instead of IsoThumpable so FuelAPI barrels are still free.

更新:2024年3月26日 @ 4時09分
更新者:RicksMLC

Updated to handle the FuelAPI take gas from barrel. The FuelAPI uses the same ISTakeFuel TimedAction for handling (ie: pretending the barrel is a fuelStation. This change checks if the fuelStation is an IsoThumpable (FuelAPI barrel) A vanilla fuelStation is an IsoObject.

更新:2024年3月24日 @ 5時15分
更新者:RicksMLC

Updated to work with Compatibility for Tread's Fuel Types Framework [41.65+].
Added price/litre for Petrol (default) Diesel and LPG.

更新:2024年3月22日 @ 23時34分
更新者:RicksMLC

Refactored the Take Fuel timed actions so the :start() function does not require overriding. I override the new() instead.
This avoids a fault which occurs if the "Simple Overhaul: Traits and Occupations" mod is in-use.
Happily enough, this update removed some code I was uncomfortable to have, as it was a copy/paste of the vanilla code, and I really, really don't like doing that.