It is already a setting in freeplay.
Search found 3324 matches
- Thu Mar 04, 2021 7:20 pm
- Forum: Modding discussion
- Topic: Making Biter attacks based on Time intervals
- Replies: 6
- Views: 156
- Tue Mar 02, 2021 7:04 pm
- Forum: Gameplay Help
- Topic: Fluids are killing me
- Replies: 12
- Views: 491
Re: Fluids are killing me
Solid fuel is the answer. Turn every fluid you don't want into solid fuel. You will need all that solid fuel to launch a rocket.
- Sun Feb 28, 2021 6:57 pm
- Forum: Gameplay Help
- Topic: How do you close the Tips window
- Replies: 3
- Views: 254
Re: How do you close the Tips window
/unlock-tips
This will stop any tips from ever appearing again. If you just want the current tips to disappear, you need to mark each one as read.
This will stop any tips from ever appearing again. If you just want the current tips to disappear, you need to mark each one as read.
- Sat Feb 27, 2021 7:51 am
- Forum: General discussion
- Topic: How to download older version 0.18.26
- Replies: 20
- Views: 437
Re: How to download older version 0.18.26
Download version 1.0.0, which is compatible with 0.18 and has a working LTN mod.
- Sat Feb 27, 2021 7:04 am
- Forum: General discussion
- Topic: Math Riddle: Is it possible to launch infinite rocket on island map?
- Replies: 6
- Views: 489
Re: Math Riddle: Is it possible to launch infinite rocket on island map?
C = constant mining productivity cost Total = C/1 + C/2 + C/3 + C/4 + C/5 + C/6 ... Total = C * (1/1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6 ...) Total = C * Harmonic series The harmonic series sums to infinity, therefore a finite island cannot launch infinite rockets. But the harmonic series diverges very sl...
- Tue Feb 23, 2021 11:12 pm
- Forum: Modding help
- Topic: Detect when a key is held down
- Replies: 4
- Views: 167
Re: Detect when a key is held down
Yes, character.walking_state is writable, so you can automate running by updating it every tick.
- Tue Feb 23, 2021 10:28 pm
- Forum: Modding help
- Topic: Detect when a key is held down
- Replies: 4
- Views: 167
Re: Detect when a key is held down
There are no key down events. The best you can do is make one button to start teleporting in a direction, and one button to stop. Then do the teleporting in on_tick() depending on which was pressed last. You could also hijack the player controls by checking character.walking_state every tick, which ...
- Tue Feb 23, 2021 4:48 pm
- Forum: Gameplay Help
- Topic: Help find train
- Replies: 1
- Views: 200
Re: Help find train
Use this console command:
Code: Select all
/c length = 6
for _, train in pairs(game.player.force.get_trains()) do
if #train.carriages ~= length then
game.player.print("[gps=".. train.carriages[1].position.x ..",".. train.carriages[1].position.y .."]")
end
end
- Tue Feb 23, 2021 4:28 pm
- Forum: Modding help
- Topic: Changing all resources to result uranium
- Replies: 1
- Views: 101
Re: Changing all resources to result uranium
Code: Select all
for i, resource in pairs(data.raw.resource) do
resource.minable.result = "uranium-ore"
end
- Sun Feb 21, 2021 6:11 pm
- Forum: Modding help
- Topic: Require and subdirectories
- Replies: 4
- Views: 178
Re: Require and subdirectories
Don't use the local keyword if you want a global module.
control.lua:
file1.lua:
control.lua:
Code: Select all
my_functions = require("scripts.some_functions")
require("scripts.file1")
Code: Select all
assert(my_functions, "my_functions does not exist!") -- will not fail
- Sat Feb 20, 2021 3:32 pm
- Forum: Modding help
- Topic: Could I get help to fix a mod for personal use?
- Replies: 3
- Views: 166
Re: Could I get help to fix a mod for personal use?
Delete every line that contains data.raw["decorative"].
The mod is trying to remove them, but they have already been removed from the current version of the game.
The mod is trying to remove them, but they have already been removed from the current version of the game.
- Sat Feb 20, 2021 1:33 pm
- Forum: Modding help
- Topic: Can I get the path to the current file?
- Replies: 4
- Views: 141
Re: Can I get the path to the current file?
Code: Select all
local tmp = 1
log(debug.getinfo(tmp).source)
- Fri Feb 19, 2021 12:25 am
- Forum: Ideas and Requests For Mods
- Topic: Electric furnace?
- Replies: 2
- Views: 171
Re: Electric furnace?
Put 2 speed modules in it.
- Sat Feb 13, 2021 9:53 pm
- Forum: Modding help
- Topic: Console data:extend
- Replies: 6
- Views: 233
Re: Console data:extend
No, the data table is destroyed after the game starts. You can't create prototypes from the console.
The console only supports stuff you can do in control.lua, which is documented here: https://lua-api.factorio.com/latest
The console only supports stuff you can do in control.lua, which is documented here: https://lua-api.factorio.com/latest
- Fri Feb 12, 2021 3:55 pm
- Forum: Railway Setups
- Topic: 4-way intersections: Throughput and deadlocks [image heavy]
- Replies: 693
- Views: 476021
- Thu Feb 11, 2021 8:47 pm
- Forum: General discussion
- Topic: Stages of Factorio gameplay
- Replies: 10
- Views: 779
Re: Stages of Factorio gameplay
I am on step 1 out of 12.
- Tue Feb 09, 2021 8:11 pm
- Forum: Gameplay Help
- Topic: Help with choosing balance between belt and bots transportation in a blueprint
- Replies: 5
- Views: 384
Re: Help with choosing balance between belt and bots transportation in a blueprint
1) Spaghetti is great, underground belts and turns are highly optimized. What hurts UPS is side merges and splitters. 2) Every "thing" takes about the same amount of UPS. So using 14 splitters to save 2 furnaces and 4 inserters is a bad trade. 4) Bots are worse than full belts. The only ti...
- Tue Feb 09, 2021 6:35 pm
- Forum: Modding help
- Topic: Mod giving Nil error/not working
- Replies: 4
- Views: 224
Re: Mod giving Nil error/not working
local make_capsule_stream = function(attack_parameters) local ammo_type = attack_parameters.ammo_type local root_projectile local root_speed if ammo_type and ammo_type.action and ammo_type.action.action_delivery.type == "projectile" then You are validating ammo_type.action.action_delivery...
- Mon Feb 08, 2021 12:15 pm
- Forum: Gameplay Help
- Topic: Fluid Arrows
- Replies: 1
- Views: 229
Re: Fluid Arrows
You cannot.
- Sun Feb 07, 2021 12:36 am
- Forum: Gameplay Help
- Topic: Almost identical blueprints
- Replies: 17
- Views: 1060
Re: Almost identical blueprints
Make a blueprint book of train stops only, and paste it on top of your loading depot?