五十五.延長燃料燃燒時間
五十六.使不能堆疊的物品可堆疊
五十七.使不可燃物品可作燃料
五十八.讓物品不腐壞
五十九.修改制作道具的配方
六十惡魔零件制造
六十一.1刀砍樹五十五.延長燃料燃燒時間
用記事本打開游戲目錄\data\scripts\tuning.lua文件,將以下內(nèi)容:
TINY_FUEL = seg_time*.25,
SMALL_FUEL = seg_time * .5,
MED_FUEL = seg_time * 1.5,
MED_LARGE_FUEL = seg_time * 3,
LARGE_FUEL = seg_time * 6,
修改為:
TINY_FUEL = seg_time*1.25,
SMALL_FUEL = seg_time * 2.5,
MED_FUEL = seg_time * 7.5,
MED_LARGE_FUEL = seg_time * 12,
LARGE_FUEL = total_day_time*1,
游戲中seg_time(小時)數(shù)不要超過16,會跳出。如果想改超過一天就用total_day_time*1,這樣的格式
五十六.使不能堆疊的物品可堆疊
打開游戲目錄\data\scripts\prefabs文件夾,其中的.lua文件為游戲中的物品。舉例:用記事本打開牛角horn.lua,查找local function fn(Sim),在下面的空白處插入以下內(nèi)容:
inst:AddComponent("stackable")
inst.components.stackable.maxsize = TUNING.STACK_SIZE_SMALLITEM
即可實(shí)現(xiàn)不能堆疊的物品可堆疊。其實(shí)只要不插在兩句關(guān)相連的地方,插哪里都行
五十七.使不可燃物品可作燃料
打開游戲目錄\data\scripts\prefabs文件夾,其中的.lua文件為游戲中的物品。舉例:用記事本打開牛角horn.lua,查找local function fn(Sim),在下面的空白處插入以下內(nèi)容:
inst:AddComponent("fuel")
inst.components.fuel.fuelvalue = TUNING.LARGE_FUEL
即可實(shí)現(xiàn)不可燃物品可作燃料
五十八.讓物品不腐壞
打開游戲目錄\data\scripts\prefabs文件夾,其中的.lua文件為游戲中的物品。用記事本打開會腐壞物品的文件,在其中inst:AddComponent("perishable")前加--,在以inst.components.perishable為開頭的全部語句前加--即可讓該物品不腐壞,注意不要遺漏,否則游戲會跳出。
例如修改讓雞蛋不腐壞:用記事本打開游戲目錄\data\scripts\prefabs\egg.lua文件,查找下列內(nèi)容:
inst:AddComponent("perishable")
inst.components.perishable:SetPerishTime(TUNING.PERISH_FAST)
inst.components.perishable:StartPerishing()
inst.components.perishable.onperishreplacement = "rottenegg"
inst.components.perishable:SetPerishTime(TUNING.PERISH_MED)
在每行前面加--后,變?yōu)橄铝袃?nèi)容:
--inst:AddComponent("perishable")
--inst.components.perishable:SetPerishTime(TUNING.PERISH_FAST)
--inst.components.perishable:StartPerishing()
--inst.components.perishable.onperishreplacement = "rottenegg"
--inst.components.perishable:SetPerishTime(TUNING.PERISH_MED)
即可讓雞蛋不腐壞。下列為部分會腐壞的物品文件名:
butter.lua 黃油
butterflywings.lua 蝴蝶翅膀
egg.lua 雞蛋
froglegs.lua 蛙腿
hambat.lua 火腿棒
honey.lua 蜂蜜
mushrooms.lua 蘑菇
petals.lua 花瓣
petals_evil.lua 邪惡花瓣
seeds.lua 種子
fish.lua 魚
veggies.lua 蔬菜
meats.lua 肉
lightbulb 燈泡(熒光果)
五十九.修改制作道具的配方
用記事本打開游戲目錄\data\scripts\recipes.lua文件,以第一段第一行為例:
--LIGHT
Recipe("campfire", {Ingredient("cutgrass", 3),Ingredient("log", 2)}, RECIPETABS.LIGHT, 0, "campfire_placer")
--照明
配方("營火", {成分("草", 3),成分("木頭", 2)}, 配方標(biāo)簽, 0, "放置營火")
其中Recipe(配方)后面的campfire(營火)為道具名,Ingredient(成分)后面的cutgrass(草)和3分別是制造道具的材料和數(shù)量,還有另一個Ingredient(成分)后面的log(木頭)和2也是。只須將材料替換或刪掉,和改變數(shù)量即可修改制作道具的配方。
舉例1:將寒冬背心配方(藍(lán)色象鼻1、蛛絲8、牛毛2)簡化為5個草。用記事本打開游戲目錄\data\scripts\recipes.lua文件,將以下內(nèi)容:
Recipe("trunkvest_winter", {Ingredient("trunk_winter", 1),Ingredient("silk", 8), Ingredient("beefalowool", 2)}, RECIPETABS.DRESS, 2)
修改為:
Recipe("trunkvest_winter", {Ingredient("cutgrass", 5)}, RECIPETABS.DRESS, 2)
即可在游戲中僅以5個草制作寒冬背心
舉例2:用1個黃金制造燈泡。用記事本打開游戲目錄\data\scripts\recipes.lua文件,在Recipe("nightmarefuel", {Ingredient("petals_evil", 4)}, RECIPETABS.REFINE, 3)下一行加入以下內(nèi)容:
Recipe("lightbulb", {Ingredient("goldnugget", 1)}, RECIPETABS.REFINE, 1)
即可在精煉項(xiàng)目下,用1個黃金制造燈泡
備注:全部道具配方翻譯
--LIGHT(照明)
campfire(營火):cutgrass(草)3、log(木)2
firepit(石頭營火):log(木)2、rocks(石)12
torch(火炬):cutgrass(草)2、twigs(樹枝)2
minerhat(礦工帽):strawhat(草帽)1、goldnugget(金塊)1、fireflies(螢火蟲)1
pumpkin_lantern(南瓜燈):pumpkin(南瓜)1、fireflies(螢火蟲)1
lantern(提燈):twigs(樹枝)3、rope(繩子)2、lightbulb(燈泡)2
--STRUCTURES(建造)
treasurechest(木箱):boards(木板)3
homesign(標(biāo)牌):boards(木板)1
wall_hay_item(干草墻):cutgrass(草)4、twigs(樹枝)2
wall_wood_item(木墻):boards(木板)2、rope(繩子)1
wall_stone_item(石墻):cutstone(石磚)2
pighouse(豬人房):boards(木板)4、cutstone(石磚)3、pigskin(豬皮)4
rabbithouse(兔子房):boards(木板)4、carrot(胡蘿卜)10、manrabbit_tail(膨脹小兔子)4
birdcage(鳥籠):papyrus(紙)2、goldnugget(金塊)6、seeds(種子)2
turf_road(卵石路):turf_rocky(巖石草皮)1、boards(木板)1
turf_woodfloor(木地板):boards(木板)1
turf_checkerfloor(棋盤地板):marble(大理石)1
turf_carpetfloor(地毯地板):boards(木板)1、beefalowool(牛毛)1
--FARM(種植)
slow_farmplot(一般農(nóng)田):cutgrass(草)8、poop(糞便)4、log(木)4
fast_farmplot(高級農(nóng)田):cutgrass(草)10、poop(糞便)6、rocks(石)4
beebox(蜂箱):boards(木板)2、honeycomb(蜂巢)1、bee(蜜蜂)4
meatrack(晾肉架):twigs(樹枝)3、charcoal(木炭)2、rope(繩子)3
cookpot(煮鍋):cutstone(石磚)3、charcoal(木炭)6、twigs(樹枝)6
icebox(冰箱):goldnugget(金塊)2、gears(齒輪)1、boards(木板)1
--SURVIVAL(生存)
trap(陷阱):twigs(樹枝)2、cutgrass(草)6
birdtrap(捕鳥陷阱):twigs(樹枝)3、silk(蛛絲)4
compass(指南針):goldnugget(金塊)1、papyrus(紙)1
backpack(背包):cutgrass(草)4、twigs(樹枝)4
piggyback(豬皮包):pigskin(豬皮)4、silk(蛛絲)6、rope(繩子)2
healingsalve(治愈藥膏):ash(灰)2、rocks(石)1、spidergland(蜘蛛腺體)1
bandage(蜂蜜繃帶):papyrus(紙)1、honey(蜂蜜)2
bedroll_straw(草席卷):cutgrass(草)6、rope(繩子)1
bedroll_furry(毛皮鋪蓋):bedroll_straw(草席卷)1、manrabbit_tail(膨脹小兔子)2
tent(帳篷):silk(蛛絲)6、twigs(樹枝)4、rope(繩子)3
umbrella(傘):twigs(樹枝)6),pigskin(豬皮)1、silk(蛛絲)2
bugnet(捕蟲網(wǎng)):twigs(樹枝)4、silk(蛛絲)2、rope(繩子)1
fishingrod(魚桿):twigs(樹枝)2、silk(蛛絲)2
heatrock(保溫石):rocks(石)10、pickaxe(鎬)1、flint(燧石)3
--TOOLS(工具)
axe(斧頭):twigs(樹枝)1、flint(燧石)1
goldenaxe(黃金斧頭):twigs(樹枝)4、goldnugget(金塊)2
pickaxe(鎬):twigs(樹枝)2、flint(燧石)2
goldenpickaxe(黃金鎬):twigs(樹枝)4、goldnugget(金塊)2
shovel(鏟子):twigs(樹枝)2、flint(燧石)2
goldenshovel(黃金鏟子):twigs(樹枝)4、goldnugget(金塊)2
hammer(錘子):twigs(樹枝)3、rocks(石)3、rope(繩子)2
pitchfork(草叉):twigs(樹枝)2、flint(燧石)2
razor(剃刀):twigs(樹枝)2、flint(燧石)2
--SCIENCE(科學(xué))
researchlab(科學(xué)機(jī)器):goldnugget(金塊)1、log(木)4、rocks(石)4
researchlab2(煉金術(shù)引擎):boards(木板)4、cutstone(石磚)2、goldnugget(金塊)6
researchlab3(陰影操縱者):livinglog(活木頭)2、purplegem(紫寶石)1、nightmarefuel(噩夢燃料)10
diviningrod(魔杖):twigs(樹枝)1、nightmarefuel(噩夢燃料)4、gears(齒輪)1
winterometer(寒冬溫度計(jì)):boards(木板)2、goldnugget(金塊)2
rainometer(雨量計(jì)):boards(木板)2、goldnugget(金塊)2、rope(繩子)2
gunpowder(火藥):rottenegg(爛雞蛋)1、charcoal(木炭)1、nitre(硝石)1
lightning_rod(避雷針):goldnugget(金塊)3、cutstone(石磚)1
--MAGIC(魔法)
resurrectionstatue(肉塊雕像):boards(木板)4、cookedmeat(熟肉)4、beardhair(胡須)4
panflute(排簫):cutreeds(蘆葦)5、mandrake(曼德拉草)1、rope(繩子)1
onemanband(獨(dú)奏樂器):goldnugget(金塊)2、nightmarefuel(噩夢燃料)4、pigskin(豬皮)2
nightlight(暗影照明燈):goldnugget(金塊)8、nightmarefuel(噩夢燃料)2、redgem(紅寶石)1
armor_sanity(夜魔盔甲):nightmarefuel(噩夢燃料)5、papyrus(紙)3
nightsword(暗夜劍):nightmarefuel(噩夢燃料)5、livinglog(活木頭)1
batbat(蝙蝠):batwing(蝙蝠)5、livinglog(活木頭)2、purplegem(紫寶石)1
--REFINE(精煉)
rope(繩子):cutgrass(草)3
boards(木板):log(木)4
cutstone(石磚):rocks(石)3
papyrus(紙):cutreeds(蘆葦)4
purplegem(紫寶石):redgem(紅寶石)1、bluegem(藍(lán)寶石)1
nightmarefuel(噩夢燃料):petals_evil(惡魔花瓣)4
--WAR(戰(zhàn)斗)
spear(長矛):twigs(樹枝)2、rope(繩子)1、flint(燧石)1
hambat(火腿球棒):pigskin(豬皮)1、twigs(樹枝)2、meat(大肉)2
armorgrass(草盔甲):cutgrass(草)10、twigs(樹枝)2
armorwood(木盔甲):log(木)8、rope(繩子)2
armormarble(大理石盔甲):marble(大理石)12、rope(繩子)4
footballhat(豬皮足球頭盔):pigskin(豬皮)1、rope(繩子)1
blowdart_sleep(麻醉吹箭):cutreeds(蘆葦)2、stinger(蜂刺)1、feather_crow(烏鴉羽毛)1
blowdart_fire(燃燒吹箭):cutreeds(蘆葦)2、charcoal(木炭)1、feather_robin(紅雀羽毛)1
blowdart_pipe(吹箭):cutreeds(蘆葦)2、houndstooth(犬牙)1、feather_robin_winter(雪雀羽毛)1
boomerang(回旋鏢):boards(木板)1、silk(蛛絲)1、charcoal(木炭)1
beemine(蜜蜂地雷):boards(木板)1、bee(蜜蜂)4、flint(燧石)1
trap_teeth(牙齒陷阱):log(木)1、rope(繩子)1、houndstooth(犬牙)1
--DRESSUP(穿戴)
sewing_kit(針線包):log(木)1、silk(蛛絲)8、houndstooth(犬牙)2
flowerhat(花環(huán)):petals(花瓣)12
earmuffshat(兔毛耳套):rabbit(兔子)2、twigs(樹枝)1
strawhat(草帽):cutgrass(草)12
beefalohat(野牛帽):beefalowool(牛毛)8、horn(野牛角)1
beehat(養(yǎng)蜂帽):silk(蛛絲)8、rope(繩子)1
featherhat(羽毛帽):feather_crow(烏鴉羽毛)3、feather_robin(紅雀羽毛)2、tentaclespots(斑點(diǎn)觸手皮)2
bushhat(叢林帽):strawhat(草帽)1、rope(繩子)1、dug_berrybush(漿果灌木叢)1
winterhat(寒冬帽):beefalowool(牛毛)4、silk(蛛絲)4
tophat(高禮帽):silk(蛛絲)6
cane(步行手杖):goldnugget(金塊)2、walrus_tusk(海象牙)1、twigs(樹枝)4
sweatervest(小巧背心):houndstooth(犬牙)8、silk(蛛絲)6
trunkvest_summer(夏日背心):trunk_summer(紅色象鼻)1、silk(蛛絲)8
trunkvest_winter(寒冬背心):trunk_winter(藍(lán)色象鼻)1、silk(蛛絲)8、beefalowool(牛毛)2
----GEMS----(寶石)
blueamulet(藍(lán)色護(hù)身符):goldnugget(金塊)3、nightmarefuel(噩夢燃料)1、bluegem(藍(lán)寶石)1
amulet(護(hù)身符):goldnugget(金塊)3、nightmarefuel(噩夢燃料)2、redgem(紅寶石)1
purpleamulet(紫色護(hù)身符):goldnugget(金塊)3、nightmarefuel(噩夢燃料)2、purplegem(紫寶石)1
icestaff(冰魔杖):spear(長矛)1、bluegem(藍(lán)寶石)1
firestaff(火魔杖):nightmarefuel(噩夢燃料)2、spear(長矛)1、redgem(紅寶石)1
telestaff(遠(yuǎn)程魔杖):nightmarefuel(噩夢燃料)4、livinglog(活木頭)2、purplegem(紫寶石)21刀砍樹
打開\data\scripts\tuning.lua
EVERGREEN_CHOPS_SMALL = 1,
EVERGREEN_CHOPS_NORMAL = 1,
EVERGREEN_CHOPS_TALL = 1,
惡魔零件制造
打開data\scripts\recipes.lua
teleportato_base 惡魔底座
teleportato_crank 圓環(huán)
teleportato_potato 身體
teleportato_box 盒子
teleportato_ring 戒指
把 這些名字加到 “” 里面去就行 材料自選
例如 Recipe("teleportato_base", {Ingredient("cutgrass", 1)}, RECIPETABS.LIGHT, TECH.NONE) 這是18版本的
mandrake 曼德拉草
flower_cave 地底發(fā)光的草 (制造出來后 打開data\scripts\prefabs\flower_cave.lua 搜索 SetRadius 修改里面的數(shù)字 光照范圍 我一般設(shè)定 15)
真麻煩啊