游民星空 > 攻略秘籍 > 攻略 > 正文

异星工厂 物品/实体/创建地图数据修改方法

2014-04-24 15:09:34 来源:异星工厂吧 作者:Alone_player 编辑:天浩君 我要投稿

1.6 工具

  X:\Factorio\data\base\prototypes\item\demo-mining-tools.lua

  name = "iron-axe",(铁斧)

  ……

  damage = { amount = 5 , type = "physical"}(伤害)

  ……

  durability = 4000,(耐久度)

  subgroup = "tool",

  order = "a[mining]-a[iron-axe]",

  speed = 2.5,(速度)

  stack_size = 32(堆叠数量)

  X:\Factorio\data\base\prototypes\item\mining-tools.lua

  name = "steel-axe",(钢斧)

  同上

1.7 能源装甲装备

  X:\Factorio\data\base\prototypes\item\equipment.lua

  name = "solar-panel-equipment",(太阳能电板装备

  name = "fusion-reactor-equipment",(小型聚变反应堆

  name = "energy-shield-equipment",(能量护盾

  name = "energy-shield-mk2-equipment",(能量护盾2型

  name = "battery-equipment",(储能电池

  name = "battery-mk2-equipment",(储能电池2型

  name = "basic-laser-defense-equipment",(个人激光防御

  name = "basic-electric-discharge-defense-equipment",(基本放电防御装置

  name = "basic-exoskeleton-equipment",(外骨骼装置

  name = "night-vision-equipment",(夜视镜

1.8 炮塔

  X:\Factorio\data\base\prototypes\item\demo-turret.lua

  name = "gun-turret", 机枪炮塔

  X:\Factorio\data\base\prototypes\item\turret.lua

  name = "small-worm-turret",( 小虫炮 NPC

  name = "medium-worm-turret",( 中虫炮 NPC

  name = "laser-turret",( 激光炮塔

1.9 模块(重点)~~~

  name = "speed-module",(速度模块1 ……-2",(速度模块2 ……-3",(速度模块3

  ……

  effect = { speed = {bonus = 0.2}, consumption = {bonus = 0.5}} 速度增加比率,能量消耗增加比率,0.2即*1.2

  ……

  name = "effectivity-module",(节能模块1……同上

  ……

  effect = { consumption = {bonus = -0.3}},能量消耗增加比率,负值即为减少

  ……

  name = "productivity-module",(生产力模块1……同上

  ……

  effect = { productivity = {bonus = 0.04}, consumption = {bonus = 0.4}, pollution = {bonus = 0.3}, speed = {bonus = -0.15}}, 产量增加比例,能量消耗增加比例,速度增加比例,负值即为减少

  ……

  function productivitymodulelimitation() 这边下边是可以运用模块的设备,可以通过调节实体参数或者添加条目给设备增加插件槽位

  return {"sulfuric-acid",

  ……

更多相关内容请关注:异星工厂专题

上一页 1 2 3 4 5 6 7 8 9 10 11 下一页
友情提示:支持键盘左右键“← →”翻页
游民星空APP
随手浏览游戏攻略
code
    没有任何记录
    没有任何记录
单机游戏下载
休闲娱乐
综合热点资讯
游民星空联运游戏