Don't Starve Together

Don't Starve Together

890 ratings
Scythe
3
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
539.874 KB
Dec 21, 2020 @ 9:41am
Feb 2 @ 10:44am
41 Change Notes ( view )

Subscribe to download
Scythe

Description
Add 2 harvest tools (scythe and golden scythe) to the game.
Harvest your crop easily.

Main feature:
-Harvest faster
-Allow area harvest
-Allow area damage

Other feature:
-seasoning buffable
-immune to thorns

Extra function:(set in config options)
-low chance to get an extra drop from harvest
-increase number of harvest of transplanted plant before wither
-plants harvested with scythe get a small growth boost

Most languages are translated by google

This mod is inspired by [DST]-Scythes created by Captain_M

If you want to add your language to the mod, post your translation below. I will put them into the mod one day.



How to use the mod in dedicated server?
Open the "mods" folder. You will see a "dedicated_server_mods_setup.lua". Double click and open it using notepad.
Start a new line, type:
ServerModSetup("2328604820")
where workshop-2328604820 is this mod's file name. (no need to input "workshop-". number only)
for mod (workshop-xxxxxxxx), you may type ServerModSetup("xxxxxxxx") in each new line.

Or if you get a mods collection, you may type this instead:
ServerModCollectionSetup("#######")
where ####### is the collection id. You may right click any empty space in the collection page and copy the page link. The collection id would be the number string after " /?id= ". All mods in the collection will be automatically downloaded.


Detailed data
  • Plant that can be area pick by scythe:
    non-configable
    grass, sapling, bush berry, reeds, cactus, stone fruit bush, light bulb, banana tree, etc
    any farm plants,
    any modded plants, as well as any modded farm plants
    Configable,
    defaulted on
    lureplant, kelp under water, fig, lichen
    Configable,
    defaulted off
    mushroom, mushroom farm, barnacle, drying rack, bee box

    Other details:
  • Feature:
    Honey seasoning buff: double the harvesting radius
    Oversized Protection buff: you will get a temporary buff allow you passing through the oversized crops after you harvest them
    Extra damage to plant: deal 1.5 times damage to "plant" (eg: eye plant; "Harvest" eye plant with one hit)(This option is not compatible with some info mod. You may turn the option off.)
    Mightiness: Gain 1 mightiness for each 5 plants harvested

  • Pick Mode:
    "Single Species": only same species will be picked in 1 harvest
    "All Pickable": all nearby plant will be picked
    "Combine": hold spacebar to pick all species, single click to harvest 1 species

  • Extra function: (won't activate unless you turn it on)
    Extra item chance: 10%
    No. of pick before withered: doubled
    Growth boost: 10%

  • More about extra item:
    If the target is farm plant, it will drop seed but not product.
    If your farm plant has highest pressure level, it won't drop any extra seed.
    If your farm plant is oversized, it drop 1 non-oversized product.
    *I want the extra functions be an icing on the main feature so I set their effect to be relatively lower.
    **You may refer to these functions and add your own custom function. You may ask other modders you know, or me never for help.

  • Some console command: (affect current game only, not until next play)
    • Allow item(tools on the ground) under cursor can do area pick action:
      c_select():AddComponent("areapicker")
    • Change the harvest radius of the item(tools on the ground) under cursor to 10(number can changeable):
      c_select().components.areapicker:SetRadius(10)
    • Set growth boost to 1(100%)(number changeable)(0.1 for 10%, 1.1 for 110%, etc.):
      TUNING.SCYTHE.GROWTH_MULTIPIER = 1
    • Set no. of harvest (before wither) multiply by 10(number changeable):
      TUNING.SCYTHE.EXTRAPICK_MULTIPIER = 10
    • Set chance of getting extra item to 2(200%)(number changeable)(0.1 for 10%, 1.1 for 110%, etc.):
      TUNING.SCYTHE.EXTRAITEM_CHANCE = 2



If you want to make some "pickable" (modded) plant (eg. flower, fern) be harvestable by scythe, you may need these console command:
AddScythePickable()
make targeted plant type under the cursor be scythe harvest-able
RemoveScythePickable()
remove targeted plant type under the cursor from scythe harvest-able
ClearScythePickable()
clear all scythe harvest-able records
  • *you may need to restart the game to apply the change
  • **target has "pickable" or "harvestable" tag to allow scythe action (just try if not sure whether they have. Success or RemoveScythePickable())
  • ***activate in different world
  • ****the data is stored in game root /data/scythe_prefabs.json




170623 Update
New config: Mightiness. Gain mightiness after harvest
New config: Shadow Reaper*
  • *Modded(default). Shadow Reaper do area harvest as modded scythe
  • *Unchange. Not making change on shadow reaper's harvest action
  • *Official. Modded scythe do harvest action like shadow reaper

Scythe will do harvest action like shadow reaper if it failed to preform its harvest action

Holding spacebar no longer walk towards plants that are too far from the player**
  • **this change is for keeping the code independent from offical code update
  • **also make the code cleaner
Popular Discussions View All (1)
6
Feb 2 @ 8:34pm
Bugs report and Suggestions
CCappu
331 Comments
CCappu  [author] May 2 @ 1:16pm 
[@惊鸿] 我测试能正常使用,需要更详细的信息,比如说改动过哪些模组设置、无法收割什么作物、收割时是用鼠标点的还是轻按空格键还是长按空格键还是用手柄。
惊鸿 May 2 @ 10:11am 
为啥做出来没用
CCappu  [author] Apr 8 @ 12:51pm 
[@大帅哥]
不推荐改成无限耐久,最多只建议调整TUNING的数值,因为不容易出bug。如果你真的想改无限耐久的话:
打开scrips/prefabs/scythe.lua,按ctrl+f,搜索finiteuses,把带finiuses的那几行,在每一行最前面加上--,也就是2个减号。
或者(跟上面任选其一就好):
打开modmain.lua,按ctrl+f,搜索CommonPostInit,在下面2行的空白位置加上
inst:RemoveComponent("finiteuses")

我无法保证上面2个不会出问题,如果真的出现问题了可以重新下载这个mod。
大帅哥 Apr 8 @ 10:31am 
怎么改成无限耐久呀,试了半天还给游戏整崩溃了
riley_ Mar 23 @ 7:43pm 
suggestion: a follow-up mod to this that adds machetes from shipwrecked and hamlet. they can harvest twice as many resources from grass and reeds, and attack 25% faster than normal weapons
多放点孜然 Feb 2 @ 8:21am 
同问, 地下靠近蘑菇崩溃, 报错的是黑化排队论RB3汉化版和镰刀mod
Kiyo Feb 2 @ 5:38am 
同下面的野蘑菇崩溃,关掉对蘑菇生效可以暂时避免,但开启后只要接近蘑菇就会崩
一穷二白的鹅 Jan 31 @ 1:42pm 
[string "-/mods/workshop-2328604820/modmain.lua"]:106: attempt to index field 'pickable' (a nil value)
LUA ERROR stack traceback:
_./mods/workshop-2328604820/modmain.lua:106 in () ? (Lua) <105-107>
=(tail call):-1 in () (tail) <-1--1>
mods/workshop-2328604820/modmain.lua:173 in (local) collector (Lua) <172-176>
scripts/componentactions.lua:2737 in (method) CollectActions (Lua)<2716-2743>
scripts/components/playeractionpicker.lua:206 in (method) GetEquippedltemActions (Lua) ≤203-209>scripts/components/playeractionpicker.lua:296 in (method) GetLeftClickActions (Lua) <244-324>scripts/components/playeractionpicker.lua:490 in (method) DoGetMouseActions (Lua) <430-494?scripts/components/playercontroller.lua:2337 in () ? (Lua)<2145-2676>
=(tail call):-1 in () (tail) <-1--1>

添加MOD后采集蘑菇崩溃,没有使用镰刀但是报的是镰刀的错
Yashical Jan 23 @ 2:13pm 
开启额外掉落后,使用镰刀鼠标点击收割蘑菇(缩地没出来或者已经被采摘过的),可以凭空获得蘑菇
季灾 Jan 16 @ 5:24pm 
与自动堆叠不兼容,谢谢回复,镰刀很好用👍