FS22 AICost v0.1 Beta
FS22 AICost v0.1 Beta
Reduces the AI cost. Optionally, you can also customize them. Just take a look in the Lua
What do I have to do !
You don’t have to do anything but put the mod in your mod folder. Everything else goes Automatically.
Nothing more, nothing less
In multiplayer and singleplayer play.
And if you don’t like it you should just not load it
1.Release with original download link only. NO substitute link
2.Modifying as well as re-uploading is not allowed
HappyLooser
These liabilities have overwritten AI workers, now the cost of different jobs is estimated differently. The Aicast mod does not work correctly. For just moving from point to point works, for field work the cost is by default. Slightly tweaked the script for field work.
+++++
AICost = {};
AICost.metadata = {
interface = ” FS22 …”,
title = ” AICost”,
notes = ” senkt die Kosten der AI”,
author = ” (by HappyLooser)”,
version = ” v0.1 Beta”,
datum = ” 25.11.2021″,
update = ” 27.11.2021″,
web = ” no”,
info = ” Link Freigabe,Änderungen,Kopien oder Code Benutzung ist ohne meine Zustimmung nicht erlaubt”,
“##Orginal Link Freigabe:”
};
AICost1 = {};
AICost1.metadata = {
interface = ” FS22 …”,
title = ” AICost1″,
notes = ” senkt die Kosten der AI”,
author = ” (by HappyLooser)”,
version = ” v0.1 Beta”,
datum = ” 25.11.2021″,
update = ” 27.11.2021″,
web = ” no”,
info = ” Link Freigabe,Änderungen,Kopien oder Code Benutzung ist ohne meine Zustimmung nicht erlaubt”,
“##Orginal Link Freigabe:”
};
function AICost:loadMap(name)
print(“—loading”.. tostring(AICost.metadata.title).. tostring(AICost.metadata.version).. tostring(AICost.metadata.author).. “—“)
AIJob.getPricePerMs = Utils.overwrittenFunction(AIJob.getPricePerMs, AIJob.getPricePerMs);
end;
function AICost1:loadMap(name)
print(“—loading”.. tostring(AICost1.metadata.title).. tostring(AICost1.metadata.version).. tostring(AICost1.metadata.author).. “—“)
AIJobFieldWork.getPricePerMs = Utils.overwrittenFunction(AIJobFieldWork.getPricePerMs, AIJobFieldWork.getPricePerMs);
end;
function AIJob:getPricePerMs(superFunc)
return 0.00001; –! default 0.001 ! –> * difficulty * difficulty <–
end
addModEventListener(AICost);
addModEventListener(AICost1);
+++++
Who needs it, put it in the archive instead of the old one.