-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release
- Loading branch information
Showing
5 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
*.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
-- Longer Log Cuts for Farming Simulator 17 | ||
-- @description: This increases the maximum length of wood harvester cuts from 8m to 15m. | ||
-- @author: Slivicon | ||
-- Change Log stored in modDesc.xml | ||
-- | ||
|
||
LongerLogCuts = {}; | ||
|
||
local modItem = ModsUtil.findModItemByModName(g_currentModName); | ||
local LongerLogCuts_mt = Class(LongerLogCuts, Mission00); | ||
|
||
LongerLogCuts.version = (modItem and modItem.version) and modItem.version or "?.?.?"; | ||
|
||
function LongerLogCuts:new(baseDirectory, customMt) | ||
local mt = customMt; | ||
if mt == nil then | ||
mt = LongerLogCuts_mt; | ||
end; | ||
local self = LongerLogCuts:superClass():new(baseDirectory, mt); | ||
return self; | ||
end; | ||
|
||
function LongerLogCuts:doPostLoad(savegame) | ||
local cutMax = self.cutLengthMax; | ||
local newMax = 15; | ||
if cutMax ~= nil and cutMax < newMax then | ||
self.cutLengthMax = newMax; | ||
end; | ||
end; | ||
|
||
function LongerLogCuts:loadMap(name) | ||
end; | ||
|
||
function LongerLogCuts:deleteMap() | ||
end; | ||
|
||
function LongerLogCuts:keyEvent(unicode, sym, modifier, isDown) | ||
end; | ||
|
||
function LongerLogCuts:mouseEvent(posX, posY, isDown, isUp, button) | ||
end; | ||
|
||
function LongerLogCuts:draw() | ||
end; | ||
|
||
function LongerLogCuts:update(dt) | ||
end; | ||
|
||
addModEventListener(LongerLogCuts); | ||
|
||
WoodHarvester.postLoad = Utils.appendedFunction(WoodHarvester.postLoad, LongerLogCuts.doPostLoad); | ||
|
||
print(string.format("Script loaded: LongerLogCuts.lua (v%s)", LongerLogCuts.version)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# LongerLogCuts | ||
|
||
This is a custom script mod for Farming Simulator 17 PC which increases the maximum length of wood harvester cuts from 8m to 15m. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="no" ?> | ||
<modDesc descVersion="38"> | ||
<author>Slivicon</author> | ||
<version>1.0.0.0</version> | ||
<title> | ||
<de>Holzerntemaschine längerer Holzschnitt</de> | ||
<en>Longer Log Cuts</en> | ||
<fr>Coupes de bois plus longues</fr> | ||
</title> | ||
<description> | ||
<de><![CDATA[ | ||
Dies erhöht die maximale Schnittlänge einer Holzerntemaschine von 8 m auf 15 m. | ||
Änderungsprotokoll: | ||
v1.0.0.0 2017-12-02 | ||
- Erstveröffentlichung | ||
]]></de> | ||
<en><![CDATA[ | ||
This increases the maximum length of wood harvester cuts from 8m to 15m. | ||
Change log: | ||
v1.0.0.0 2017-12-02 | ||
- Initial release | ||
]]></en> | ||
<fr><![CDATA[ | ||
Cela augmente la longueur maximale des coupes faites par une récolteuse de bois de 8m à 15m. | ||
Journal des changements: | ||
v1.0.0.0 2017-12-02 | ||
- Première version | ||
]]></fr> | ||
</description> | ||
<iconFilename>store.dds</iconFilename> | ||
<multiplayer supported="true" /> | ||
<extraSourceFiles> | ||
<sourceFile filename="LongerLogCuts.lua" /> | ||
</extraSourceFiles> | ||
</modDesc> |