🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

喵喵插件~

游戏《猫国建设者/喵国建设者/Kittens Game》网页自动化插件(就是外挂),可以在页面->选项->MoeScript中开启/关闭自动化功能

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
jiang-ruo
Instalări zilnice
0
Total instalări
74
Rating-uri
0 0 0
Versiune
2.0.2
Creat
09-01-2025
Actualizat
06-10-2025
Size
180 KB
Licență
GPL-3.0
Se aplică pe

更新

功能

如图所示,支持在基础资源达到95%时自动合成上级资源

  • 观测天空
  • 光阴似箭
  • 打猎
  • 自动合成木材
  • 自动合成木梁
  • 自动合成石板
  • 自动合成金属板
  • 自动合成钢
  • 打猎后自动合成羊皮纸
  • 快捷备份
  • 职业助手
  • 任务队列

插件选项

添加自定义功能


// 实现选项需要的功能
class Option {
    static ALL_CLASS = "moe-moescript";
    static CLASS_PREFIX = "moe-moescript-";
    static ID_PREFIX = "moe-";

    /**
     * 控制选项的顺序,越小越靠前
     */
    index?: number;
    /**
     * 选项类型
     */
    panel: string;
    /**
     * 选项名称
     */
    name: string;
    /**
     * 显示当前选项的条件
     */
    condition?: Condition

    /**
     * 对当前选项的功能描述
     */
    description: {
        activate: string;
        deactivate: string;
    };

    /**
     * 保存在浏览器Local Storage中的键,选项的唯一标识
     */
    flag: string;
    /**
     * 存档级别
     * true - 跨存档级别的保存项
     * false - 仅当前存档级别的保存项,删档或重置游戏后就不适用
     */
    crossSaver?: boolean;

    /**
     * 将原先的html方法和bind方法合并为dom方法
     * @param config 
     * @param callback 
     */
    dom(config: {activate: boolean} & any | undefined,
        callback: (config?: {activate: boolean} & any, option?: { justUpdate?: boolean}) => void): JQuery<HTMLElement>;

    /**
     * 运行周期,最小单位为秒
     * 不存在运行周期时,不做任何操作
     */
    period?: timeobj.Time;

    /**
     * period存在,则script必须存在
     * 每个周期执行的事件
     * @param options 所有选项的字典,可以对OptionConfig进行修改但是无法对字典本身进行修改
     * @param config 选项的启用情况,无法修改。
     * @returns 反馈是否执行了操作,返回true,代表本次循环执行了操作
     */
    script?: () => boolean;
}