Project Zomboid

Project Zomboid

Rick's MLC Pay & Pump
正在显示第 11 - 20 项,共 21 项条目
< 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 日 下午 5: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 日 下午 11: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.