Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
My issue was that, although I had subscribed to this mod, and enabled it in the mod manager, i was doing "Continue". The mod won't work instantly like that.
You have to go to "Load", select your save, click "More", "Choose Mods" and enable the mods for your save!
I feel this should be mentioned in the main mod manager section...
As mentioned by others, use the "Fix" Mod or change some values of the mod on your own risk.
I tested it myself and used AI to explain what I was adjusting:
1. Install the mod and add it to your list / running savegame
2. Open the mod in a editor: YOURPATH\SteamLibrary\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\client\ISUI\UGTakePropaneMenu.lua
2.1. Copy and save the file "UGTakePropaneMenu.lua" somewhere safe (not the same folder!)
3. Change the values after "ISTimedActionQueue"
3.1. e.g. = Line 202: ISTimedActionQueue.add( UGTakePropane:new( pump, tank, player, 50, 100, false)) → change Values 50 (time) and 100 (amount) to a lower number e.g. → "0.5, 1,"
3.1.1. For me, I divided all values in the following lines by 100: 202, 209, 254, 296, 338
3.2. Save the file
充的慢的参考这位佬的评论更改模组文件就行,很简单的操作
Another would be altering UGTakePropaneMenu.lua line 202, change the 100 to something less. This is the duration value that is passed into the Timed Action and multiplied by 'take' which is the total item uses missing. In a vanilla game, a blow-torch can have 10 'uses', this is then multiplied by the 100 value.
Changing the 100 to a 1, for example, would mean the time needed would be the useDelta missing.
Line 209 uses a MUCH smaller duration value for torches for some reason.
Time to fill a truck can be altered on line 35 of UGFillPropaneTruck.lua.
C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\client\TimedActions
Open UGTakePropane.lua with a text editor to change line 47 from this:
self.action:setTime(take * self.duration)
to this:
self.action:setTime(take / itemMax * self.duration)
Save the file and start the game.
It is filling. Just so slow that I need to camp at the pump to fill a bottle.
Line 47:
self.action:setTime(take * self.duration)
->
self.action:setTime(take / itemMax * self.duration)
Thx for JamailKamali
function UGTakePropane:start()
print( "keyword: Test UGTakePropane:start() called")
if self.istorch then
self:setOverrideHandModels(nil, "BlowTorch")
else
self:setOverrideHandModels(nil, "PropaneTank")
end
self:setActionAnim("TakeGasFromPump")
self.tank:setJobType(getText("ContextMenu_TakePropaneFromPump"))
self.tank:setJobDelta(0.0)
local itemCurrent = math.floor(self.tank:getCurrentUsesFloat() / self.tank:getUseDelta() + 0.001)
local itemMax = math.floor(1 / self.tank:getUseDelta() + 0.001)
local take = (itemMax - itemCurrent)
self.action:setTime(take/itemMax * self.duration)
self.itemStart = itemCurrent
self.itemTarget = itemCurrent + take
end
I do not know for a fact, but I assume what is happening is that the mod uses gasoline to fill the things. It does take time, and more time for bigger containers. So maybe when the fuel is out, the propane is out.
Thank you very much. I will take some time to create a separate mod for this project to avoid any further negative issues
Worked like a charm! thanks my man <3
1. Open Propane_Refill_recipes.txt from this location:
.\steam\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\scripts
2. Update line 3. Instead of CN characters you need to have this:
craftRecipe PropaneRefillMod
3. Remove line 7 (with CN characters)
4. Add a new file Recipes_EN.txt into :
.\steam\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\shared\Translate\EN
5. Modify this file from step 4 and add there this block:
Recipes_EN =
{
Recipe_PropaneRefillMod = "Refill Propane",
}
6. Repeat steps 4 and 5 for CN version, where instead of EN would be CN