TBMCPlugins / PluginConfigs

This repository contains all the config files for the currently loaded plugins.
GNU General Public License v3.0
0 stars 1 forks source link

Carrots and potatoes #39

Closed LadyVulcan closed 5 years ago

LadyVulcan commented 6 years ago

Describe the bug Carrots and potatoes do not give rewards for planting.

To Reproduce Steps to reproduce the behavior:

  1. (Optional) Harvest mature carrot or potato. Receive benefits as expected.
  2. Wait for Farmer GUI to dissipate.
  3. Plant carrot or potato.
  4. Verify that no rewards are received, (and Farmer GUI does not chastise to wait longer).

Expected behavior Planting carrots and potatoes should either give rewards, or display a message concerning cool-down.

Fix On line 1349 and 1353 in the jobConfig.yml file, the ID for carrots and potatoes needs to be 141:0 and 142:0, which represent the block of crops being placed. The IDs currently in the config are the hand-held items, which never trigger the "Place" action, and thus never give rewards. Note: Perhaps we can use "CARROT-0" and "POTATO-0", parallel to lines 1288 and 1292 where these crops are broken. I can't find in the config where these are accurate names, but they seem to work for breaking, so they'd probably work for placement as well.