New Hope campaign level 3 car inventory

This subforum contains all the issues which we already resolved.
Rodhern
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 17, 2014 8:21 am
Contact:

New Hope campaign level 3 car inventory

Post 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
Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: New Hope campaign level 3 car inventory

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: New Hope campaign level 3 car inventory

Post 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
Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: New Hope campaign level 3 car inventory

Post 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.
Aki-San
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Dec 28, 2014 3:07 am
Contact:

Re: New Hope campaign level 3 car inventory

Post 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..
Post Reply

Return to “Resolved Problems and Bugs”