关于修改代码作弊 - 《
异星工厂》 - 3DMGAME论坛 - Powered by Discuz!
{
type = "player",
name = "player",
icon = "__base__/graphics/icons/player.png",
flags = {"pushable", "placeable-off-grid", "breaths-air", "not-repairable", "not-on-map"},
max_health = 92000, 血量
alert_when_damaged = false,
healing_per_tick = 15, 每秒恢复血量
collision_box = {{-0.2, -0.2}, {0.2, 0.2}},
selection_box = {{-0.4, -1.4}, {0.4, 0.2}},
crafting_categories = {"crafting"},
mining_categories = {"basic-solid"},
character_corpse = "character-corpse",
inventory_size = 360, 背包格子
build_distance = 660, 建筑范围
drop_item_distance = 660, 好像是人物采集的范围
reach_distance = 660, 好像是人物拆除的范围
item_pickup_distance = 1,
loot_pickup_distance = 2,
reach_resource_distance = 2.7,
ticks_to_keep_gun = 600,
ticks_to_keep_aiming_direction = 100,
--ticks you need to wait after firing a weapon or taking damate to get out of combat and get healed
ticks_to_stay_in_combat = 600,
damage_hit_tint = {r = 1, g = 0, b = 0, a = 0},
running_speed = 0.35, 跑步速度
distance_per_frame = 0.13,
maximum_corner_sliding_distance = 0.7,
subgroup = "creatures",
order="a",
minimum_darkness = 0.3,
intensity = 0.4,
size = 25,
color = {r=1.0, g=1.0, b=1.0}
},
{
type = "oriented",
minimum_darkness = 0.3,
picture =
{
filename = "__core__/graphics/light-cone.png",
priority = "extra-high",
flags = { "light" },
scale = 2,
width = 200,
height = 200
},
shift = {0, -13},
size = 2,
intensity = 0.6,
color = {r=1.0, g=1.0, b=1.0}
},
},
mining_speed = 5, 手工挖矿砍树速度
mining_with_hands_particles_animation_positions = {29, 63},
mining_with_tool_particles_animation_positions = {28},
running_sound_animation_positions = {5, 16}
},
fluid-----demo-fluid.lua 这个文件里面可以修改 水的流速
pressure_to_speed_ratio = 4,
flow_to_energy_ratio = 5.9 修改这2个数字,流速会很大。
地下传送带和地下水管
打开下面lua文件。
地下传送带:
搜 type = "underground-belt",
修改 max_distance 不要大于255
共三种地下传送带要改
一般地下输送带
name = "underground-belt",
高速地下传送带
name = "fast-underground-belt",
超高速地下输送带
name = "express-underground-belt",
地下管道:
搜寻 max_underground_distance 字串
将后面的数值10,改成你要的数值
(注意!最大值只可到255,数值超过255,游戏会崩溃!)