车厢
除了质量,其他速度方面需要与火车头一致
inventory_size = 15,(仓库格数
……
weight = 1000,(质量
max_speed = 1.5,(最大速度
braking_force = 3,(制动力
friction_force = 0.0015,(摩擦力
air_resistance = 0.002,(空气阻力
connection_distance = 3.3,(链接距离
joint_distance = 4,(节点距离
energy_per_hit_point = 5,(每次撞击能量
另可以调整车头,车厢长度以配合车站与装卸机械臂,方法前面有提过,不再赘述
墙
墙可以反射伤害,你可以自己添加类型进反射伤害类别里
-- this kind of code can be used for having walls mirror the effect
-- there can be multiple reaction items
--attack_reaction =
--{
--{
---- how far the mirroring works
--range = 2,(在墙的多少范围之内反射功能被启用
---- what kind of damage triggers the mirroring
---- if not present then anything triggers the mirroring
--damage_type = "physical",(被造成物理伤害时,会触发反射
---- caused damage will be multiplied by this and added to the subsequent damages
--reaction_modifier = 0.1,(造成的反射伤害倍数
--action =
--{
--type = "direct",(反射伤害为直接
--action_delivery =
--{
--type = "instant",(反射速度即时
--target_effects =
--{
--type = "damage",(反射的为伤害
---- always use at least 0.1 damage(至少反射0.1的伤害
--damage = {amount = 0.1, type = "physical"}(反射数值为0.1,类型为物理
--}
--}
--},
--}
--},
配合抗性可以将墙设置成免伤,并且反射大量伤害,适合喜欢建设围墙堡垒,又不喜欢主动攻击的玩家
地雷
trigger_radius = 2.5,(触发半径,生物进入多少范围内爆炸
……
type = "area",
perimeter = 6,(伤害半径
……
type = "damage",
damage = { amount = 40, type = "explosion"}(伤害数值与类型
实验室
energy_usage = "60kW",(能量使用
inputs =(可以使用这些物品作为消耗,通过修改科技文件可以达到使用铁板铜条钢板研发科技
{
"science-pack-1",
"science-pack-2",
"science-pack-3",
"alien-science-pack"
},
module_slots = 2(模块插槽
},
后勤,建造机器人
max_payload_size = 1,(搭载物品的数量
speed = 0.1,(飞行速度
transfer_distance = 0.5,(输送物品的距离
max_energy = "1MJ",(每机器人储存的能量
energy_per_tick = "0.01kJ",(存在即消耗的能量
energy_per_move = "0.1kJ",(移动消耗的能量
min_to_charge = 0.02,(最小充电时间
max_to_charge = 0.095,(最大充电时间
各种智能箱
inventory_size = 48,(仓库格数
火箭防御
buffer_capacity = "100MJ",(缓冲能量
机器人控制中心
energy_source =
{
type = "electric",
usage_priority = "secondary-input",
input_flow_limit = "4MW",(最大输入电流
buffer_capacity = "64MJ"(最大缓存电量
},
recharge_minimum = "10MJ",(保持建筑内最少有多少缓存电量,这以下就会充电
energy_usage = "500kW",(电能使用速度
-- per one charge slot(机器人充电接口
charging_energy = "500kW",(给机器人充电的功率
logistics_radius = 25,(物流机器人的活动半径,地图单位
construction_radius = 50,(建筑机器人的活动半径,地图单位
charge_approach_distance = 5,(可充电范围
robot_slots_count = 7,(机器人槽位
material_slots_count = 7,(材料槽位,修理包等
stationing_offset = {0, 0},(回收位置
更多相关内容请关注:异星工厂专题