Don't Starve Together

Don't Starve Together

906 ratings
Scythe
3
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
544.896 KB
Dec 21, 2020 @ 2:41am
Jun 3 @ 2:01am
44 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




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 @ 1:34pm
Bugs report and Suggestions
CCappu
348 Comments
EldVarg Jun 9 @ 4:32am 
Aha yeah looks like that, did not get any more of them. Thank you for the change.
CCappu  [author] Jun 6 @ 11:19pm 
[@EldVarg] it can only act on the grass that had harvested by scythe. Those grass that haven't harvested by scythe before have chance to morph. After you collect all of them once, they should no longer morph.

[\(n_n)/] 普通跟金镰刀的采集模式是共用同一个代码的,你再测试一次看看
\(n_n)/ Jun 6 @ 10:28pm 
好像采集模式设置只对普通镰刀管用,对黄金的不管用,我设置了同种类,普通的生效,黄金的不生效,大佬修复一下吧
EldVarg Jun 3 @ 10:40am 
Hm "Grass Gekko Inhibitor" enabled still created 2 gekkos.
CCappu  [author] Jun 3 @ 12:47am 
[@风叶] 抱歉,我前面的测试有问题。再测试了一遍发现设置确实无法禁用。还好你发现了,我反复测试了几次才发现这个问题。
风叶 Jun 2 @ 11:10pm 
OKOK感谢佬解释 我纯小白不懂代码,都是问的AI:steamhappy:
CCappu  [author] Jun 2 @ 10:34pm 
[@风叶]
感谢回报。我测试的时候并不是保存时出问题,大概说一下就是,变异保护倒计时结束了,镰刀尝试去暂停那个倒计时,但因为倒计时的end_time为nil所以出问题了。另外,设置里的那个选项亲测能禁用,如果你只是单纯搜"FN_GRASSGEKKO",那你是搜不到任何东西的,解释起来比较麻烦,如果你能看懂而且还想了解的话可以搜"FN_",然后一层一层往下缕就能发现如何应用的了,不过现在能用了也没必要去看懂了。
风叶 Jun 2 @ 9:49pm 
禁用功能都没用吗。。我看传的设置项modmain里都没用到。把相关代码注释了才行。。
风叶 Jun 2 @ 6:52pm 
佬,更新之后的新功能“防止草蜥蜴变形”可能导致游戏崩溃。[00:19:44]: [string "scripts/components/worldsettingstimer.lua"]:133: attempt to perform arithmetic on field 'end_time' (a nil value). 报错喂AI分析说是在保存grass实体数据时,尝试计算名为morpgdelay的计时器剩余时间但该值为空导致运算失败引发崩溃。
EldVarg Jun 2 @ 10:46am 
Cool, never noticed that tab before.