VPet-Simulator

VPet-Simulator

136 ratings
Sleep
2
   
Award
Favorite
Favorited
Unfavorite
Text Content: Text Content, clicktext
Translate: Translate
Code plugin: Code plugin
File Size
Posted
Updated
1.545 MB
18 Jul, 2024 @ 12:43am
31 Oct, 2024 @ 10:47pm
11 Change Notes ( view )

Subscribe to download
Sleep

Description
This mod is designed to let your pet sleep on time and have a real sleep mechanism.
After enabling this mod, your pet will determine whether it needs to sleep based on time and work consumption.
1. Mod mechanism
This mod adopts the "desk pet day" mechanism.
Multipler Mode
When the "Timing Mode" switch is turned off, the mod is in magnification mode.When the "multiplier" is 1, a desk pet day roughly corresponds to 2.5 hours of wakefulness + 0.25 hours of sleep. When the "multiplier" is not 1, the wakefulness time and the sleep time correspond to the multiplier.
Timing Mode
When the "Timing Mode" switch is turned on, the MOD is in timer mode, and you can set the wake and sleep time of
your pet in standby mode
2. Mod logic:
When the sleepiness value is lower than 5%, the desk pet will wake up naturally. The desk pet does not need to sleep at all. At this time, letting her sleep many times will trigger the oversleep statement (corresponding to Working#OverSleepText:|)

When the sleepiness value is between 5% and 30%, the desk pet will trigger a no sleepiness statement (corresponding to Working#NoSleepyText:|)

When the sleepiness value is between 30% and 50%, the desk pet will trigger a mild sleepiness statement (corresponding to Working#LowSleepyText:|)

When the sleepiness value is between 50% and 60%, the desk pet will trigger a moderate sleepiness statement (corresponding to Working#MidSleepyText:|)

When the sleepiness value is between 60% and 80%, the desk pet will trigger a severe sleepiness statement (corresponding to Working#HighSleepyText:|)

When the sleepiness value is between 80% and 90%, the desk pet will trigger a need to sleep statement Sleeping statement (corresponding to Working#NeedSleepText:|), of which 80% to 85% will make the desk pet feel bad, and 85% to 90% will pose an additional threat to the health of the desk pet. At 80%, if there is no work, the desk pet will enter the sleep state and trigger the sleep statement (corresponding to Working#SleepText:|)

When the sleepiness value is between 90% and 100%, the desk pet will trigger the sleep statement (corresponding to Working#SleepText:|), end work and start sleeping

When the desk pet is in the sleep state, if it is woken up multiple times in a short period of time, it will trigger the insomnia state. At this time, if the desk pet's sleepiness value is high enough to need to actively sleep , will trigger the insomnia statement (corresponding to Working#SleeplessText:|), and will not be able to enter sleep

3. Develop more dialogues for this mod
This mod provides players with a way to add dialogues corresponding to various states. When a state has multiple dialogues, the dialogue will be randomly selected. The specific way to add dialogues is as follows:

Add the following statement to the ClickText.lps file in the text folder under the mod source path, where Working corresponds to the state of the trigger statement (refer to 2.mod logic for details), Text corresponds to the statement, and other content does not need to be modified

You can also create a new dialogue mod separately, add it according to the format, and mark the required mod clicktext:|Working#OverSleepText:|State#Empty:|Money#0:|Exp#0:|Strength#0:|StrengthFood#0:|StrengthDrink#0:|Feeling#0:|Health#0:|Likability#0:|mode#3:|LikeMin#0:|LikeMax#2147483647:|HealthMin#0:|HealthMax#2147483647 :|LevelMin#0:|L evelMax#2147483647:|MoneyMin#-2147483648:|MoneyMax#2147483647:|FoodMin#0:|FoodMax#2147483647:|DrinkMin#0:|DrinkMax#2147483647:|FeelMin#0:|FeelMax#2147483647:|StrengthMin#0:|StrengthMax#2147483647:|Text#I'm full of energy now, I don't need to go to sleep anymore:|Tag#all:|
What's new
1. For the 11025 version of Vpet, the adaptation of functional products has been updated, and the content is as follows:
Functional products will reduce the drowsiness value of sleepiness to a small extent when waking up, but will reduce the rate of drowsiness reduction when sleeping, and excessive consumption will make your pet uncomfortable
Popular Discussions View All (3)
12
9 Nov, 2024 @ 10:42am
bug反馈/想法征集
楚依云
1
1
26 Jul, 2024 @ 5:13am
源代码开放
楚依云
0
17 Aug, 2024 @ 8:38am
征集对话
楚依云
22 Comments
枫舞承 16 Jul @ 9:32am 
还是不太行,有时候会出bug,健康值和困意值合在一块,莫名其妙就会停日程表
枫舞承 13 Jul @ 4:08am 
可惜自动睡觉会取消自动任务
楚依云  [author] 20 Nov, 2024 @ 7:31am 
如果没有在工作,没有被自动工作打断的话,会自己睡的
Quan_Wander 19 Nov, 2024 @ 1:13pm 
桌宠困了会自己睡不,如果自己不手动设定
Yz🎶 21 Sep, 2024 @ 1:22am 
:FallFlat:
楚依云  [author] 19 Sep, 2024 @ 9:32pm 
审核完以后再上架,使用难度会低很多
楚依云  [author] 19 Sep, 2024 @ 9:32pm 
还在走B站审核流程
拜托你们很菜哎 19 Sep, 2024 @ 11:46am 
直播的MOD还没上架鸭
楚依云  [author] 1 Aug, 2024 @ 9:35am 
这个mod新加了一个属性,名字是困意值(在状态面板可以看到)
er971020ic 1 Aug, 2024 @ 7:21am 
困意值低是什麼意思