饥荒巨人物品栏修改昨用八门改物品

当前位置: /
饥荒普通背包数据修改方法
时间: 13:59:47 来源: 作者:sola 热度: 401 次
饥荒相信大家都不陌生,游戏中背包是非常重要的,大家知道游戏中的背包数据怎么修改么?下面小编为大家带来了饥荒普通背包数据修改方法,有兴趣的玩家一起看看吧。
饥荒相信大家都不陌生,游戏中背包是非常重要的,大家知道游戏中的背包数据怎么修改么?下面小编为大家带来了饥荒普通背包数据修改方法,有兴趣的玩家一起看看吧。
首先是大家都知道的,文件位置:data\DLC0001\scripts\prefabs\backpack.lua,不开DLC则是data\ scripts\prefabs\backpack.lua
下面是原始数据:
for y = 0, 3 do
table.insert(slotpos,Vector3(-162, -y*75 + 114 ,0))
table.insert(slotpos,Vector3(-162 +75, -y*75 + 114 ,0))
一、每列(竖)格数的修改
for y = 0, 3 do 代表 3+1-0=4格
for y = 1, 5 do 代表 5+1-1=5格
(数字可以是负数,一下通用)
二、列数及列距修改
table.insert(slotpos, Vector3(-162, -y*75 +114 ,0))
table.insert(slotpos, Vector3(-162 +75,-y*75 + 114 ,0))
table.insert(slotpos, Vector3(-162, -y*75 +114 ,0))
table.insert(slotpos, Vector3(-162 +75,-y*75 + 114 ,0))
table.insert(slotpos, Vector3(-162 +150,-y*75 + 114 ,0))
table.insert(slotpos, Vector3(-162 +225,-y*75 + 114 ,0))
代表四列,几列就几行,列距是+75,这个数字的正号代表下一列在位置参考列的右边
table.insert(slotpos, Vector3(-162, -y*75 +114 ,0))
table.insert(slotpos, Vector3(-162 +75,-y*75 + 114 ,0))
中-y*75的75代表行距
这个位置虽然每一行数据都修改,但是都代表第一列的参考位置
table.insert(slotpos, Vector3(-162, -y*75 +114 ,0))
table.insert(slotpos, Vector3(-162 +75,-y*75 + 114 ,0))
-162代表水平位置,负是左,这个值一般不设正值,因为-50左右就是右边边界了
+ 114代表垂直位置,正是上负是下。
觉得我讲的不清楚的可以直接看数据对应图片,理解起来应该是十分容易的
for y = 1, 3 do
table.insert(slotpos, Vector3(-600, -y*78 + 100 ,0))
table.insert(slotpos, Vector3(-600 -75, -y*78 + 200 ,0))
table.insert(slotpos, Vector3(-600 -150, -y*78 + 300 ,0))
table.insert(slotpos, Vector3(-600 -225, -y*78 + 400 ,0))
table.insert(slotpos, Vector3(-600 -300, -y*78 + -100 ,0))
table.insert(slotpos, Vector3(-600 -375, -y*78 + -200 ,0))
table.insert(slotpos, Vector3(-600 -450, -y*50 + 100 ,0))
table.insert(slotpos, Vector3(-600 -525, -y*50 + 100 ,0))
table.insert(slotpos, Vector3(-600 -600, -y*100 + 200 ,0))
table.insert(slotpos, Vector3(-600 -675, -y*100 + 200 ,0))
←扫一扫关注“k73手游”
游戏、动画、漫画,ACG的圈内圈外事
公众号查询:k73手游 轻松订阅 &&
官方QQ群1: 官方QQ群2:
游戏平台:
游戏类型:动作角色扮演冒险沙盒
游戏版本:日版美版欧版中文版
游戏标签:
玩家评分:42
k73评分:42
版权所有 鄂ICP备号
鄂公网安备 03号
K73电玩之家&>&&>&&>&正文
饥荒 全人物解锁及主角自动回血等实用修改教程
11:28:46 来源:互联网 作者:易宁
第424页:修改制作道具的配方
三七四.修改制作道具的配方
  用记事本打开游戏目录\data\DLC0001\scripts\recipes.lua文件,以营火(campfire)配方为例:
  Recipe("campfire", {Ingredient("cutgrass", 3),Ingredient("log", 2)}, RECIPETABS.LIGHT, TECH.NONE, "campfire_placer")
  配方("营火", {成分("草", 3),成分("木头", 2)}, 制造选项.照明, 科技.0, "放置营火")
  其中Recipe(配方)后面的campfire(营火)为道具名,Ingredient(成分)后面的cutgrass(草)和3分别是制造道具的材料和数量,还有另一个Ingredient(成分)后面的log(木头)和2也是。只须将材料替换或删掉,及改变数量即可修改制作道具的配方。
  举例1(简化所用材料):将寒冬背心配方(蓝色象鼻1、蛛丝8、牛毛2)简化为5个草。用记事本打开游戏目录\data\DLC0001\scripts\recipes.lua文件,将以下内容:
  Recipe("trunkvest_winter", {Ingredient("trunk_winter", 1),Ingredient("silk", 8), Ingredient("beefalowool", 2)}, RECIPETABS.DRESS, TECH.SCIENCE_TWO)
  替换为:
  Recipe("trunkvest_winter", {Ingredient("cutgrass", 5)}, RECIPETABS.DRESS, TECH.SCIENCE_TWO)
  即可在游戏中仅以5个草制作寒冬背心
  举例2(添加制造物品):用1个黄金制造曼德拉草。用记事本打开游戏目录\data\DLC0001\scripts\recipes.lua文件,在Recipe("purplegem", {Ingredient("redgem",1), Ingredient("bluegem", 1)}, RECIPETABS.REFINE, TECH.MAGIC_TWO)下一行插入以下内容:
  Recipe("mandrake", {Ingredient("goldnugget", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE)
  即可在精炼项目下,增加用1个黄金制造曼德拉草
  举例3(一次制造多个物品):用1个草制造100个木炭。用记事本打开游戏目录\data\DLC0001\scripts\recipes.lua文件,在Recipe("purplegem", {Ingredient("redgem",1), Ingredient("bluegem", 1)}, RECIPETABS.REFINE, TECH.MAGIC_TWO)下一行插入以下内容:
  Recipe("charcoal", {Ingredient("cutgrass", 1)}, RECIPETABS.REFINE, TECH.NONE,nil,nil,nil,100)
  即可在精炼项目下,增加用1个草制造100个木炭
  备注:全部道具配方翻译
  --LIGHT(照明)
  campfire(营火):cutgrass(草)3、log(木)2
  firepit(石头营火):log(木)2、rocks(石)12
  torch(火炬):cutgrass(草)2、twigs(树枝)2
  coldfire(冷火):cutgrass(草)3、nitre(硝石)2
  coldfirepit(石头冷火):nitre(硝石)2、cutstone(石砖)5、transistor(晶体管)2
  minerhat(矿工帽):strawhat(草帽)1、goldnugget(黄金)1、fireflies(萤火虫)1
  molehat(鼹鼠帽):mole(鼹鼠)2、transistor(晶体管)2、wormlight(虫子果)1
  pumpkin_lantern(南瓜灯):pumpkin(南瓜)1、fireflies(萤火虫)1
  lantern(提灯):twigs(树枝)3、rope(绳子)2、lightbulb(荧光果)2
  --STRUCTURES(建造)
  treasurechest(木箱):boards(木板)3
  homesign(标牌):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
  pottedfern(盆栽植物):foliage(叶子)5、slurtle_shellpieces(蜗牛壳碎片)1
  dragonflychest(蜻蜓箱子):dragon_scales(蜻蜓鳞片)1、boards(木板)4、goldnugget(黄金)10
  --FARM(种植)
  slow_farmplot(一般农田):cutgrass(草)8、poop(便便)4、log(木)4
  fast_farmplot(高级农田):cutgrass(草)10、poop(便便)6、rocks(石)4
  fertilizer(化肥):poop(便便)3、boneshard(硬骨头)2、log(木)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、cutstone(石砖)1
  --SURVIVAL(生存)
  trap(陷阱):twigs(树枝)2、cutgrass(草)6
  birdtrap(捕鸟陷阱):twigs(树枝)3、silk(蛛丝)4
  bugnet(捕虫网):twigs(树枝)4、silk(蛛丝)2、rope(绳子)1
  fishingrod(鱼竿):twigs(树枝)2、silk(蛛丝)2
  grass_umbrella(草伞):twigs(树枝)4、cutgrass(草)3、petals(花瓣)6
  umbrella(伞):twigs(树枝)6),pigskin(猪皮)1、silk(蛛丝)2
  bandage(蜂蜜绷带):papyrus(纸)1、honey(蜂蜜)2
  healingsalve(治疗药膏):ash(灰)2、rocks(石)1、spidergland(蜘蛛腺体)1
  compass(指南针):goldnugget(黄金)1、papyrus(纸)1
  heatrock(保温石):rocks(石)10、pickaxe(镐)1、flint(燧石)3
  backpack(背包):cutgrass(草)4、twigs(树枝)4
  piggyback(猪皮包):pigskin(猪皮)4、silk(蛛丝)6、rope(绳子)2
  bedroll_straw(草席卷):cutgrass(草)6、rope(绳子)1
  bedroll_furry(毛皮铺盖):bedroll_straw(草席卷)1、manrabbit_tail(兔人尾巴)2
  tent(帐篷):silk(蛛丝)6、twigs(树枝)4、rope(绳子)3
  siestahut(午睡小屋):silk(蛛丝)2、boards(木板)4、rope(绳子)3
  featherfan(羽毛扇):goose_feather(鹿鸭羽毛)5、cutreeds(芦苇)5、rope(绳子)2
  icepack(冰包):bearger_fur(熊皮)1、gears(齿轮)3、transistor(晶体管)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、cutgrass(草)6
  pitchfork(草叉):twigs(树枝)2、flint(燧石)2
  razor(剃刀):twigs(树枝)2、flint(燧石)2
  --SCIENCE(科学)
  researchlab(科学机器):goldnugget(黄金)1、log(木)4、rocks(石)4
  researchlab2(炼金术引擎):boards(木板)4、cutstone(石砖)2、transistor(晶体管)2
  transistor(晶体管):goldnugget(黄金)2、cutstone(石砖)2
  diviningrod(探矿杖):twigs(树枝)1、nightmarefuel(噩梦燃料)4、gears(齿轮)1
  winterometer(寒冬温度计):boards(木板)2、goldnugget(黄金)2
  rainometer(雨量计):boards(木板)2、goldnugget(黄金)2、rope(绳子)2
  gunpowder(火药):rottenegg(烂鸡蛋)1、charcoal(木炭)1、nitre(硝石)1
  lightning_rod(避雷针):goldnugget(黄金)4、cutstone(石砖)1
  firesuppressor(灭火器):gears(齿轮)2、ice(冰)15、transistor(晶体管)2
  --MAGIC(魔法)
  researchlab4(灵子分解器):rabbit(兔子)4、boards(木板)4、tophat(高礼帽)1
  researchlab3(阴影操纵者):livinglog(活木头)3、purplegem(紫宝石)1、nightmarefuel(噩梦燃料)7
  resurrectionstatue(肉块雕像):boards(木板)4、cookedmeat(熟肉)4、beardhair(胡须)4
  panflute(排箫):cutreeds(芦苇)5、mandrake(曼德拉草)1、rope(绳子)1
  bell(铃):glommerwings(格罗门翅膀)1、glommerflower(格罗门花)1
  onemanband(独奏乐器):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
  armorslurper(饥饿腰带):slurper_pelt(啜食者皮)6、rope(绳子)2、nightmarefuel(噩梦燃料)2
  amulet(红色护身符):goldnugget(黄金)3、nightmarefuel(噩梦燃料)2、redgem(红宝石)1
  blueamulet(蓝色护身符):goldnugget(黄金)3、bluegem(蓝宝石)1
  purpleamulet(紫色护身符):goldnugget(黄金)6、nightmarefuel(噩梦燃料)4、purplegem(紫宝石)2
  firestaff(火魔杖):nightmarefuel(噩梦燃料)2、spear(长矛)1、redgem(红宝石)1
  icestaff(冰魔杖):spear(长矛)1、bluegem(蓝宝石)1
  telestaff(传送魔杖):nightmarefuel(噩梦燃料)4、livinglog(活木头)2、purplegem(紫宝石)2
  telebase(传送核心):nightmarefuel(噩梦燃料)4、livinglog(活木头)4、goldnugget(黄金)8
  --REFINE(精炼)
  rope(绳子):cutgrass(草)3
  boards(木板):log(木)4
  cutstone(石砖):rocks(石)3
  papyrus(纸):cutreeds(芦苇)4
  transistor(晶体管):goldnugget(黄金)2、cutstone(石砖)1
  nightmarefuel(噩梦燃料):petals_evil(噩梦花瓣)4
  purplegem(紫宝石):redgem(红宝石)1、bluegem(蓝宝石)1
  --WAR(战斗)
  spear(矛):twigs(树枝)2、rope(绳子)1、flint(燧石)1
  hambat(火腿短棍):pigskin(猪皮)1、twigs(树枝)2、meat(大肉)2
  nightstick(夜棍):lightninggoathorn(闪电羊角)1、transistor(晶体管)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
  armordragonfly(蜻蜓盔甲):dragon_scales(蜻蜓鳞片)1、armorwood(木盔甲)1、pigskin(猪皮)3
  staff_tornado(龙卷风魔杖):goose_feather(鹿鸭羽毛)10、lightninggoathorn(闪电羊角)1、gears(齿轮)1
  --DRESSUP(穿戴)
  sewing_kit(针线包):log(木)1、silk(蛛丝)8、houndstooth(犬牙)2
  flowerhat(花环):petals(花瓣)12
  strawhat(草帽):cutgrass(草)12
  tophat(高礼帽):silk(蛛丝)6
  rainhat(防雨帽):mole(鼹鼠)2、strawhat(草帽)1、boneshard(硬骨头)1
  earmuffshat(兔耳罩):rabbit(兔子)2、twigs(树枝)1
  beefalohat(牛毛帽):beefalowool(牛毛)8、horn(野牛角)1
  winterhat(寒冬帽):beefalowool(牛毛)4、silk(蛛丝)4
  catcoonhat(浣熊帽):coontail(浣熊尾巴)4、silk(蛛丝)4
  watermelonhat(西瓜帽):watermelon(西瓜)1、twigs(树枝)3
  icehat(冰帽):transistor(晶体管)2、rope(绳子)4、ice(冰)10
  beehat(养蜂帽):silk(蛛丝)8、rope(绳子)1
  featherhat(羽毛帽):feather_crow(乌鸦羽毛)3、feather_robin(红雀羽毛)2、tentaclespots(触手皮)2
  bushhat(丛林帽):strawhat(草帽)1、rope(绳子)1、dug_berrybush(浆果灌木丛)1
  raincoat(雨衣):tentaclespots(触手皮)2、rope(绳子)2、boneshard(硬骨头)2
  sweatervest(小巧背心):houndstooth(犬牙)8、silk(蛛丝)6
  trunkvest_summer(夏日背心):trunk_summer(红色象鼻)1、silk(蛛丝)8
  trunkvest_winter(寒冬背心):trunk_winter(蓝色象鼻)1、silk(蛛丝)8、beefalowool(牛毛)2
  reflectivevest(反射背心):rope(绳子)1、feather_robin(红雀羽毛)4、pigskin(猪皮)2
  hawaiianshirt(夏威夷衬衫):papyrus(纸)3、silk(蛛丝)3、cactus_flower(仙人掌花)5
  cane(步行手杖):goldnugget(黄金)2、walrus_tusk(海象牙)1、twigs(树枝)4
  beargervest(熊背心):bearger_fur(熊皮)1、sweatervest(小巧背心)1、rope(绳子)2
  eyebrellahat(眼睛帽):deerclops_eyeball(巨鹿眼球)1、twigs(树枝)15、boneshard(硬骨头)4
  ----ANCIENT----(远古)
  thulecite(铥矿石):thulecite_pieces(铥矿碎片)6
  wall_ruins_item(铥矿墙):thulecite(铥矿石)1
  nightmare_timepiece(铥矿奖章):thulecite(铥矿石)2、nightmarefuel(噩梦燃料)2
  orangeamulet(橙色护身符):thulecite(铥矿石)2、nightmarefuel(噩梦燃料)3、orangegem(橙色宝石)1
  yellowamulet(黄色护身符):thulecite(铥矿石)2、nightmarefuel(噩梦燃料)3、yellowgem(黄色宝石)1
  greenamulet(绿色护身符):thulecite(铥矿石)2、nightmarefuel(噩梦燃料)3、greengem(绿色宝石)1
  orangestaff(橙色魔杖):nightmarefuel(噩梦燃料)2、cane(步行手杖)1、orangegem(橙色宝石)2
  yellowstaff(黄色魔杖):nightmarefuel(噩梦燃料)4、livinglog(活木头)2、yellowgem(黄宝石)2
  greenstaff(绿色魔杖):nightmarefuel(噩梦燃料)4、livinglog(活木头)2、greengem(绿色宝石)2
  multitool_axe_pickaxe(多功能工具):goldenaxe(黄金斧头)1、goldenpickaxe(黄金镐)1、thulecite(铥矿石)2
  ruinshat(远古王冠):thulecite(铥矿石)4、nightmarefuel(噩梦燃料)4
  armorruins(远古盔甲):thulecite(铥矿石)6、nightmarefuel(噩梦燃料)4
  ruins_bat(远古短棒):livinglog(活木头)3、thulecite(铥矿石)4、nightmarefuel(噩梦燃料)4
  eyeturret_item(眼睛炮塔):deerclops_eyeball(巨鹿眼球)1、minotaurhorn(远古守护者角)1、thulecite(铥矿石)5
更多相关内容请关注:
责任编辑:Shy夏夏
友情提示:支持键盘左右键“← →”翻页
本文是否解决了您的问题
文章内容导航
第424页:修改制作道具的配方
用手机访问
扫一扫,手机浏览
相关攻略:
游戏制作:Klei Entertainment
游戏发行:Klei Entertainment
游戏平台:PC/PS4/PS Vita
上市时间:
游戏特色:
单机游戏下载
综合热点资讯}

我要回帖

更多关于 饥荒物品栏修改 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信