Amazing Cultivation Simulator

Amazing Cultivation Simulator

540 ratings
十度香炉(更好的空调MOD)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
418.560 KB
20 Nov, 2019 @ 10:01pm
29 May, 2020 @ 3:35am
18 Change Notes ( view )

Subscribe to download
十度香炉(更好的空调MOD)

Description
[作者]
想要爱的绒布球
[简介]
增加一个[color=#0000FF]十度香炉[/color],使室温保持在10摄氏度左右,可以在多个房间使用。

[color=#a33e16]可以设置数值,现在能保存到存档了。自定义了界面标签,不会再与其他同样未全自定义标签的MOD冲突了。[/color]

[color=#FF0000]每个房间有且仅能造一个,否则会调温过度。MOD1.8版本更新后,再次重写了实现代码,调温十分迅速。[/color]

尝试过现有空调MOD,发现只能用在一个房间,用在多个房间时会造成温度混乱,作为一个不懂xlua和C#的新手在苦思几天后终于做出了相对完美的方案。
55 Comments
ice33 17 May @ 2:26am 
一直卡顿,可以试试这样改,打开Cg20_Building.lua查找:
if (self.Time>=6) then
-- 改为(检测间隔从6秒延长到10秒):
if (self.Time>=10) then

改完后在代码最后一行添加下面的上去试试

function tbThing:OnRemove()
CS.XiaWorld.ThingMgr:RemoveThingsByPos(self.it.Pos, 3) -- 拆除香炉
end
heliostellar 22 Jan @ 4:46pm 
@CalvinballPro, the values are in Celsius... you didn't need to do trial and error. 21 C is approx equal to 70 F.
CalvinballPro 23 Nov, 2024 @ 1:39pm 
The fix posted by DiabeticOstrich works, can confirm. Once fixed, the item appears in Build > Decorations > Furniture. It will look like a vase or oil lamp; mine appears in the bottom right corner of Furniture. Temperature defaults to "10" on creation but through trial-and-error I found that setting it to "21" will get you a good 70 degree room. Set the temp, click the button in the window, close the window, and then let your time run for a second to see it activate.
DiabeticOstrich 31 Jul, 2024 @ 9:10pm 
To make the item appear in the build menu:
Go to \workshop\content\955900\1917318204\Settings\Ui\MainList
Open "Cg20MainList.xml" in a text editor
Change Type="装饰" Label="家具" to Type="Decoration" Label="Furniture"
teasippin 9 Sep, 2022 @ 5:16pm 
Does not show up in build menu for english I guess. And the english translated version of this mod does not seem to work either (even though you can build the item, it does not stabilize temp to what you set) as I have tried both mods separately. Maybe this mod is outdated or incompatible with english.
Zaphiel 4 Sep, 2022 @ 4:38am 
where is the burner to construct?
The Dill Dozer 17 Jul, 2022 @ 11:17am 
[author]
flannel ball for love
[Introduction]
Add a [color=#0000FF]10-degree incense burner[/color] to keep the room temperature around 10 degrees Celsius, which can be used in multiple rooms.

[color=#a33e16]The value can be set, and now it can be saved to the archive. Customized the interface label, it will no longer conflict with other mods that do not fully customize the label. [/color]

[color=#FF0000] Each room can only have one and only one, otherwise the temperature will be overheated. After the MOD1.8 version was updated, the implementation code was rewritten again, and the temperature adjustment was very fast. [/color]

I have tried the existing air conditioner MOD and found that it can only be used in one room. When used in multiple rooms, it will cause temperature confusion. As a novice who does not understand xlua and C#, I finally made a relatively perfect solution after thinking hard for a few days.
Sakura 14 Jun, 2022 @ 8:42pm 
求大佬优化下,一直卡顿
洞天子明 18 May, 2022 @ 5:05am 
降温不好使捏
sarinia 28 Feb, 2022 @ 4:18am 
亲测可用,终于不用为了木枯藤的温度犯愁了:steamhappy: