Modify the number of trees cut in mining
Publish: 2021-05-06 00:19:09
1. 1.主角自动回血
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst.components.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:
inst.components.health:StartRegen(30, 10)
即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整
2.
主角自动回复san
用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,将下列内容:
SANITY_DAY_GAIN = 0,--100/(day_time*32),
SANITY_NIGHT_LIGHT = -100/(night_time*20),
SANITY_NIGHT_MID = -100/(night_time*20),
SANITY_NIGHT_DARK = -100/(night_time*2),
替换为:
SANITY_DAY_GAIN = 100/(day_time),
SANITY_NIGHT_LIGHT = 100/(night_time),
SANITY_NIGHT_MID = 100/(night_time),
SANITY_NIGHT_DARK = 100/(night_time),
3.
1.用记事本打开游戏目录\data\scripts\prefabs\axe.lua文件,将inst.components.tool:SetAction(ACTIONS.CHOP)替换为inst.components.tool:SetAction(ACTIONS.CHOP, 15)
2.用记事本打开游戏目录\data\scripts\prefabs\pickaxe.lua文件,将inst.components.tool:SetAction(ACTIONS.MINE)替换为inst.components.tool:SetAction(ACTIONS.MINE, 15)
即可一斧砍倒一棵树、一镐开掉一块石
4.
砍树掉落
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\evergreens.lua文件,
1.将下列内容:
normal_loot = {"log", "log", "pinecone"},
short_loot = {"log"},
tall_loot = {"log", "log", "log", "pinecone", "pinecone"},
替换为:
normal_loot = {"log", "log", "log", "log", "log", "log", "pinecone"},
short_loot = {"log", "log", "log"},
tall_loot = {"log", "log", "log", "log", "log", "log", "log", "log", "log", "pinecone", "pinecone"},
2.将下列内容:
normal_loot = {"log","log"},
short_loot = {"log"},
tall_loot = {"log", "log","log"},
替换为:
normal_loot = {"log","log","log","log", "log", "log"},
short_loot = {"log","log", "log"},
tall_loot = {"log", "log","log","log","log","log", "log", "log", "log"},
5.
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst:AddComponent("resurrectable")下一行插入以下内容:
TheInput:AddKeyUpHandler(KEY_1, function()
if TheInput:IsKeyDown(KEY_CTRL) then
local map = TheSim:FindFirstEntityWithTag("minimap")
local x,y,z = GetPlayer().Transform:GetWorldPosition()
map.MiniMap:ShowArea(x, y, z, 10000)
end
end)
即可在游戏中按Ctrl + 1使地图全开
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst.components.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:
inst.components.health:StartRegen(30, 10)
即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整
2.
主角自动回复san
用记事本打开游戏目录\data\DLC0001\scripts\tuning.lua文件,将下列内容:
SANITY_DAY_GAIN = 0,--100/(day_time*32),
SANITY_NIGHT_LIGHT = -100/(night_time*20),
SANITY_NIGHT_MID = -100/(night_time*20),
SANITY_NIGHT_DARK = -100/(night_time*2),
替换为:
SANITY_DAY_GAIN = 100/(day_time),
SANITY_NIGHT_LIGHT = 100/(night_time),
SANITY_NIGHT_MID = 100/(night_time),
SANITY_NIGHT_DARK = 100/(night_time),
3.
1.用记事本打开游戏目录\data\scripts\prefabs\axe.lua文件,将inst.components.tool:SetAction(ACTIONS.CHOP)替换为inst.components.tool:SetAction(ACTIONS.CHOP, 15)
2.用记事本打开游戏目录\data\scripts\prefabs\pickaxe.lua文件,将inst.components.tool:SetAction(ACTIONS.MINE)替换为inst.components.tool:SetAction(ACTIONS.MINE, 15)
即可一斧砍倒一棵树、一镐开掉一块石
4.
砍树掉落
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\evergreens.lua文件,
1.将下列内容:
normal_loot = {"log", "log", "pinecone"},
short_loot = {"log"},
tall_loot = {"log", "log", "log", "pinecone", "pinecone"},
替换为:
normal_loot = {"log", "log", "log", "log", "log", "log", "pinecone"},
short_loot = {"log", "log", "log"},
tall_loot = {"log", "log", "log", "log", "log", "log", "log", "log", "log", "pinecone", "pinecone"},
2.将下列内容:
normal_loot = {"log","log"},
short_loot = {"log"},
tall_loot = {"log", "log","log"},
替换为:
normal_loot = {"log","log","log","log", "log", "log"},
short_loot = {"log","log", "log"},
tall_loot = {"log", "log","log","log","log","log", "log", "log", "log"},
5.
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst:AddComponent("resurrectable")下一行插入以下内容:
TheInput:AddKeyUpHandler(KEY_1, function()
if TheInput:IsKeyDown(KEY_CTRL) then
local map = TheSim:FindFirstEntityWithTag("minimap")
local x,y,z = GetPlayer().Transform:GetWorldPosition()
map.MiniMap:ShowArea(x, y, z, 10000)
end
end)
即可在游戏中按Ctrl + 1使地图全开
2. Yesterday, I just started playing this game and found that minerals are non renewable. This is quite depressing. I didn't find mod for mineral regeneration in the forum. I only found the modification method of collecting and removing minerals. I always felt uncomfortable. I found that many people in the forum wanted such mod, so I planned to make one myself (there are many ways to brush materials, but it's too disharmonious, Losing the balance of the game is also easy to destroy a good game. For this mod, I spent a whole night with backache. I just finished it. I tested it myself and found that there was no problem. Then I sent it out. I hope my brothers like it
the following is the basic description of mod:
three states are added to the ore:
large amount: more ore is g out
small amount: less ore is g out, which will become a large amount of ore in 20-30 days
vein: the foundation of the ore, which will become a small amount of ore in 10-15 days. If the ore is g out, it will not be regenerated, and a large amount of ore will be g out (knock it hard)
basically, it takes a hoe to dig out a pile of mines, including veins
PS: why should mineral regeneration be set for such a long time? Because most people hang up when they can't finish digging. In fact, the purpose is to affect the balance of the game to the minimum extent. If the regeneration is too fast, people won't be full of prospecting and digging, which will rece a lot of game fun
I forgot to say that there seems to be an automatic mining mod in this area. In theory, that mod conflicts with this mod. There is no test. I have been working all night. I'm too tired. If you want to integrate, you can try it yourself.
the following is the basic description of mod:
three states are added to the ore:
large amount: more ore is g out
small amount: less ore is g out, which will become a large amount of ore in 20-30 days
vein: the foundation of the ore, which will become a small amount of ore in 10-15 days. If the ore is g out, it will not be regenerated, and a large amount of ore will be g out (knock it hard)
basically, it takes a hoe to dig out a pile of mines, including veins
PS: why should mineral regeneration be set for such a long time? Because most people hang up when they can't finish digging. In fact, the purpose is to affect the balance of the game to the minimum extent. If the regeneration is too fast, people won't be full of prospecting and digging, which will rece a lot of game fun
I forgot to say that there seems to be an automatic mining mod in this area. In theory, that mod conflicts with this mod. There is no test. I have been working all night. I'm too tired. If you want to integrate, you can try it yourself.
3. Go to the Internet to search for "Yining famine" and modify it according to the prompt
4. Next call mod, plant wood to make tree spirit
5. [UNK] 35760;[UNK] 28216; 25103;[UNK] 24405;\ date scripts prefabs evergreens.lua[UNK]
1.html21015;[UNK]容[UNK]
normal_loot = {" log", & " log", & " pinecone"},< br /> short_loot = {" log"},< br /> tall_loot = {" log", & " log", & " log", & " pinecone", & quot; pinecone"},< br />
替换
normal_loot = {" log", & " log", & " log", & " log", & " log", & " log", & " pinecone"},< br /> short_loot = {" log", & " log", & " log"},< br /> tall_loot = {" log", & " log", & " log", & " log", & " log", & " log", & " log", & " log", & " log", & " pinecone", & " pinecone"},< br />
2 log",& quot; log"},< br /> short_loot = {" log"},< br /> tall_loot = {" log", & " log",& " log"},< br />
替换
normal_loot = {" log",& " log",& " log",& " log", & " log", & " log"},< br /> short_loot = {" log",& " log", & " log"},< br /> tall_loot = {" log", & " log",& " log",& " log",& " log",& " log", & " log", & " log", & " log"},< br />
即可砍树多掉3倍木头
1.html21015;[UNK]容[UNK]
normal_loot = {" log", & " log", & " pinecone"},< br /> short_loot = {" log"},< br /> tall_loot = {" log", & " log", & " log", & " pinecone", & quot; pinecone"},< br />
替换
normal_loot = {" log", & " log", & " log", & " log", & " log", & " log", & " pinecone"},< br /> short_loot = {" log", & " log", & " log"},< br /> tall_loot = {" log", & " log", & " log", & " log", & " log", & " log", & " log", & " log", & " log", & " pinecone", & " pinecone"},< br />
2 log",& quot; log"},< br /> short_loot = {" log"},< br /> tall_loot = {" log", & " log",& " log"},< br />
替换
normal_loot = {" log",& " log",& " log",& " log", & " log", & " log"},< br /> short_loot = {" log",& " log", & " log"},< br /> tall_loot = {" log", & " log",& " log",& " log",& " log",& " log", & " log", & " log", & " log"},< br />
即可砍树多掉3倍木头
6. c_ give" twigs", In fact, you can download a quick collection mod without using the console
7. Yes, it's called fast tree cutting mod. I don't know if I can find it on TGP. I bought the steam version and found it directly in the creative workshop
8. This can't be changed, but you can ask the pig man to chop it for you. After you give him food, you can cut down trees.
9. It takes an axe to cut down trees. It should be said that only the axe can cut down trees, instead of changing the weapon to cutting down trees, although the axe is also a weapon.
Hot content