Lan-CloseMarketPauseTime icon

CloseMarketPauseTime

『TheWorld』只属于我的时间!只需要关闭这个开关,世界就会暂停!清晨采矿钓鱼、早上种田烘焙,这就是我理想的生活!---『TheWorld』 this time is my sole dominion! With this switch

By Lan
Last updated a day ago
Total downloads 40
Total rating 0 
Categories Mods
Dependency string Lan-CloseMarketPauseTime-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

关店暂停时间

🔮 中文

✨ 功能说明

背景 我一直觉得早上6点到7点这短时间过的真几把快,我都完全来不及思考今天要上什么菜的时候,就已经快要到七点了,第一批顾客马上就要来买菜了,游戏跟现实时间流逝速度是60倍,也就是现实中的一秒等于游戏中的1分支,有哪个神仙能够在早上60秒内完成去码头拿菜、取出酿酒器里的酒、取出昨天做好的奶酪,没有吧,实际上我连哪个货物腐烂了需要清理掉这点小事我都没办法在60秒内完成,经常是一边忙着清点货物,一边把菜挪到地窖里面,然后拿酒,拿奶酪,做完了这点东西后,就已经到下午了,感觉自己做了,但是又感觉什么都没做,一天的时间半天都在搬货,晚上还得摸黑找矿,摸黑采花,摸黑钓鱼,这对吗,这不对,要不,咱们早上去钓鱼、采矿、摘花、种地、收蜂蜜,晚上看看风景然后直接睡觉吧,这样挺好。

Mod功能 此Mod提供了暂停游戏时间的功能:

  • 每天早上六点的时候自动把你放在地图上的灯、火把全部点亮,无需再担心看不清的问题。
  • 每天早上6.05之后,你可以通过店铺的营业标志暂停或者开启时间流逝,店铺打烊会暂停时间,同理,店铺营业的时候,时间会正常流逝。
  • 我很少用帧Hook的方式写插件,算上这一次也就三次,如果插件有BUG,欢迎通过我的邮箱反馈: [email protected]

📦 技术细节

  • 修改

    通过GameManager.ServerUpdateTimeline前置补丁检测店铺状态,如果店铺状态为打烊,就会停止时间流逝,再通过重Hook MonoBehaviourupdate()事件进行帧检测,如果店铺状态被开启,则恢复时间流逝。

  • 兼容性:未发现与其他Mod冲突。

🛠️ 安装指南

  1. 下载 Lan-CloseMarketPauseTime-1.0.0.zip
  2. 解压至 Old Market Simulator 游戏的根目录

CloseMarketPauseTime

🔮 English

✨ Features

Background I've always felt that the one-hour window from 6:00 AM to 7:00 AM passes absurdly fast. Before I can even decide what dishes to prepare for the day, it's already nearly 7:00 AM - the first customers are arriving, and I haven't even started. The game's time progression speed is 60× faster than reality (1 real-life second = 1 in-game minute). How can anyone reasonably complete all these tasks in just 60 seconds? Tasks like fetching vegetables from the dock, retrieving wines from the fermenter, and collecting yesterday's cheese? Impossible. I can't even manage minor chores like clearing spoiled goods in that timeframe. I often find myself frantically inventory-checking while moving vegetables to the cellar, grabbing wines, collecting cheese - and by the time I finish these basic tasks, it's already afternoon. I feel like I've accomplished something, yet also like I've done nothing meaningful. Half the day gets consumed just moving cargo, while evenings involve stumbling around in darkness searching for ores, picking flowers, and fishing. That's not sustainable. Let's fix this: mornings for outdoor activities (fishing, mining, flower-picking, farming, honey collection), evenings for scenic views and early bedtime. Sounds much better.

Mod Features This mod introduces time-pausing functionality:

  • Automatically illuminates all map lights/torches at 6:00 AM daily, eliminating visibility issues
  • From 6:05 AM onward, use your store's operating status to control time flow:
    • Closing the shop pauses time progression
    • Opening the shop resumes normal time flow
  • This is only my third mod using frame hooking methodology. For bug reports, please contact: [email protected]

📦 Technical Details

  • Implementation
    • Applies a pre-patch to GameManager.ServerUpdateTimeline to detect shop status
    • Halts time progression when shop status is "closed for business"
    • Implements frame-by-frame detection through re-hooking MonoBehaviour.Update()
    • Resumes time flow when shop status changes to "open for business"
  • Compatibility No conflicts detected with other mods

🛠️ Installation Guide

  1. Download Lan-CloseMarketPauseTime-1.0.0.zip
  2. Extract contents to the root directory of Old Market Simulator game folder