PivityGmodStore

Farming (Grow Plants, Maintain Farm, Farmer Job, Sell Crops, Custom Models)

(11)(308)

You can always read the reviews or discuss this product

Stable1.1.9

UPDATE

  1. Fixed a net message missing a delay to prevent abuse.

Updated file: lua/entities/ch_farming/buyer/init.lua

Stable1.1.8

UPDATE

  1. Increased cooldown on NPC to prevent E spam.
  2. Removed unused code.
  3. Minor color adjustments.
  4. Added outline to all text in 3d2d overheads
  5. Added config to make watering can unlimited.
  6. Config enable/disable CH_Farming.Config.UnlimitedWaterCan
  7. Never run out, disable disposing it and HUD.
  8. 3d2d above farmer NPC will now wrap if too long.
  9. General improvements of old code.
  10. Added config table for list of random models the NPC can have.
  11. Config table CH_Farming.Config.NPCModelList
Stable1.1.7

UPDATE

  1. Fixed the farming NPC model from workshop sometime "floating" in the air.
  2. Added black outline to 3d2d text above NPC.

Updated files: lua/entities/ch_farming_buyer/ <-- everything here

Stable1.1.6

UPDATE

  1. Fixed a bug where you could dig a whole from a plant sack.
  2. Added an idle animation to the NPC to hopefully fix some problems with the player models.
Stable1.1.5

UPDATE

  1. Improved NPC code.
  2. Removed CH_Farming.Config.UseWaterCanDelay
  3. You can now water again when the animation has fully played.
  4. Improved the code for all weapons that sets the idle animation.
  5. Recoded and optimized the water amount networking for the watering can swep.
  6. Watering can HUD will now change to "Press 'R' to dispose" if it's empty instead of showing 0%
Stable1.1.4

UPDATE

  1. Fixed a problem with the XP util function.

Updated file: lua/ch_farming/server/ch_farming_xp.lua

Stable1.1.3

UPDATE

  1. QoL updates to various code parts.
  2. Cached LocalPlayer, CurTime, ScrW, ScrH and such for micro-optimization.
  3. Fixed fonts used in user interface not scaling properly.
  4. Added a util function to give xp that automatically detects which XP system you are using.
  5. That means the manual configs for enabling your XP system are removed.
  6. Switched to a more reliable hook for initializing entities and creating data storage files for NPC.
Stable1.1.2

UPDATE

  1. Fixed a rare error in relation to dropping the watering can.

Updated file: lua/ch_farming/server/ch_farming_server.lua

Stable1.1.1

UPDATE

  1. Cached variables for optimization.
  2. Replaced pairs with ipairs loops where possible for optimization.
  3. Removed table.HasValue and replaced with a more optimized solution.
  4. Recoded donator functions to remove loop and implement more optimized solution.
  5. Ability to remove holes dug by a player if they change team from a non-farmer job.
  6. Config option to enable/disable CH_Farming.Config.RemoveHolesOnTeamChange

This update requires that you redo your configuration. There's multiple changes, additions and mostly optimization of some old code.

Stable1.1.0

UPDATE

  1. Added Chinese translation thanks to MISSMISSmmm
  2. Removed some globals and changed meta function to be more unique.
  3. The NPC buyer now collides with players.
  4. Replaced depreciated self.Owner and self.Weapon with updated code.
Stable1.0.9

UPDATE

  1. Added Russian translation thanks to Levanchik


Updated file: lua/ch_farming/shared/ch_farming_config_lang.lua

Stable1.0.8

UPDATE

  1. Safely remove entities in Touch hooks to prevent warnings/crashes.
  2. Removed forgotten debug print.
  3. Holes now spawn more accurately to the shovel animation (0.6 seconds faster).