Lan-FullAutoFeed icon

FullAutoFeed

全自动托管牧场喂食-- Fully Automated Ranch Feeding

By Lan
Last updated 13 hours ago
Total downloads 23
Total rating 1 
Categories Mods
Dependency string Lan-FullAutoFeed-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

全自动喂食

🔮 中文

✨ 功能说明

背景

本来已经有了AutoFeed这种可以一键喂牛羊鸡的Mod,但是一忙起来还是会忘,忘了就会错过奶牛的产奶周期,错过了周期就会导致用牛奶羊奶制作的商品难产,奶制品难产就会导致节假日期间卖的东西变少,卖的东西变少就意味着钱赚少了,赚少了就是亏了。所以就有了这个Mod,装上之后,你就再也不需要管喂食的事了。

全自动喂食
全自动接管你的养殖场喂食:

  • ⚙️ 全场景自动喂食覆盖
    • 进游戏的时候自动喂所有动物,按照每个动物10C的价格从你账上扣钱(自己去买草料也是每个动物10C)
    • 玩家上床睡觉前自动喂
    • 放置动物的时候自动喂

📦 技术细节

  • 进游戏、放置动物自动喂食
    通过BlockAnimal.OnNetworkSpawn后置补丁实现,进入游戏的时候调用喂食方法。

  • 睡前自动喂食
    通过BlockAnimal.OnDayChanged前置补丁实现,在检测槽位里面有没有草料之前触发喂食,确保动物成长天数被正常计算以及第二天仍然是自动喂食状态。

  • 兼容性 该Mod并未拦截和修改游戏的任何方法和数据,理论上不会出现与Mod冲突的其他Mod。

🛠️ 安装指南

  1. 下载 Lan-FullAutoFeed-1.0.0.zip
  2. 解压至 Old Market Simulator 根目录

Full Auto Feed

🔮 English

✨ Features

Background There was already an AutoFeed Mod that allowed one-click feeding for cows, sheep, and chickens. However, players might still forget to feed animals during busy times, leading to missed milking cycles. This shortage of dairy products would reduce holiday sales, directly impacting profits. This Mod solves this problem by fully automating feeding—once installed, you’ll never need to worry about feeding again.

Full Auto Feed Automatically manage feeding for your entire farm:

  • ⚙️

    Full-Scenario Automation

    • On Game Start

      : Automatically feed all animals.

      • Deducts 10C per animal from your account (matching the manual cost of buying fodder).
    • Before Sleeping: Auto-feed triggered when the player goes to bed.

    • When Placing Animals: Auto-feed upon placing new animals.


📦 Technical Details

  • Auto-Feed on Game Start / Animal Placement Implemented via postfix patch on BlockAnimal.OnNetworkSpawn, triggering feeding logic when the game loads or animals are placed.
  • Auto-Feed Before Sleep Implemented via prefix patch on BlockAnimal.OnDayChanged, ensuring feeding occurs before checking trough status. This guarantees:
    • Animal growth days are calculated correctly.
    • Auto-feeding remains active the next day.
  • Compatibility This Mod does NOT intercept or modify any core game methods or data, making it theoretically conflict-free with other Mods.

🛠️ Installation Guide

  1. Download Lan-FullAutoFeed-1.0.0.zip.
  2. Extract it to the root directory of Old Market Simulator.