Page 1 of 1

New Hope campaign level 3 car inventory

Posted: Wed Dec 17, 2014 8:46 am
by Rodhern
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:

Code: Select all

  local car = game.getentitybytag("car")
  car.insert{name = "piercing-bullet-magazine", count = 2000}
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:

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}
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

Re: New Hope campaign level 3 car inventory

Posted: Wed Dec 17, 2014 12:14 pm
by Rahjital
This bug seems to have been introduced in 0.11.6 when car got the roof mounted machinegun. Still, it's strange that the insert command only fills the ammo slot and not the trunk. Perhaps it could use some fixing as well.

Re: New Hope campaign level 3 car inventory

Posted: Sun Dec 21, 2014 10:13 am
by kovarex
Thank you for the report.

I noticed in some Zisteau videos that also the shift/control clicking didn't work. I decided that this functionality is more important than having the possibility for simple refuel stations for cars, it will be solvable later with better circuit network possibilities.

So it is fixed for 0.11.8

Re: New Hope campaign level 3 car inventory

Posted: Sun Dec 21, 2014 6:55 pm
by Rahjital
kovarex wrote:I noticed in some Zisteau videos that also the shift/control clicking didn't work. I decided that this functionality is more important than having the possibility for simple refuel stations for cars, it will be solvable later with better circuit network possibilities.
So car refueling is back to how it worked in 0.10? If so, it's no loss, car refueling was barely any harder back then.

Re: New Hope campaign level 3 car inventory

Posted: Sun Dec 28, 2014 3:14 am
by Aki-San
Dont know if this a bug / same bug zisteau had but i could shift click coal into my car and at a certain point i wasnt able to do it anymore. :/ now i can use the inventory of the normal car for everything but coal..