New Hope campaign level 3 car inventory
Posted: Wed Dec 17, 2014 8:46 am
Hello,
I am playing Factorio v. 0.11.6.12779.
In New Hope level 2 you fill up the car with inventory like ammunition.
In New Hope Level 3 you start out with quite a lot of this stuff in your inventory, the lua file reads:
The problem is that the default inventory for a car makes the the ammunition go to the gun that is capped at 100 magazines.
I suggest changing the script to something like this:
I can see from older Youtube clips that this must be a new bug, because the Youtubers get a car load of ammunition.
Maybe this bug is related to other script commands that have changed behavior?
Best regards
Rodhern
I am playing Factorio v. 0.11.6.12779.
In New Hope level 2 you fill up the car with inventory like ammunition.
In New Hope Level 3 you start out with quite a lot of this stuff in your inventory, the lua file reads:
Code: Select all
local car = game.getentitybytag("car")
car.insert{name = "piercing-bullet-magazine", count = 2000}
I suggest changing the script to something like this:
Code: Select all
local car = game.getentitybytag("car")
local trunk = car.getinventory(2)
car.insert{name = "piercing-bullet-magazine", count = 100}
trunk.insert{name = "piercing-bullet-magazine", count = 1900}
Maybe this bug is related to other script commands that have changed behavior?
Best regards
Rodhern