troelsbjerre / Bottleneck

Factorio mod that tell you which assemblers are starved of ingredients
Other
29 stars 21 forks source link

Updates for 0.15 #25

Closed Wulfson closed 7 years ago

Wulfson commented 7 years ago

Haven't done a tremendous amount of testing, but this gets the mod working in 0.15

Nexela commented 7 years ago

I don't think it can be nil just isn't accounted for. I would set it to 1 just to be on the safe side.

Related but not mandatory: the storage-tank entity should be replaced with simple-entity-force and use variations for changing the icon (this is on my todo list if @troelsbjerre doesn't beat me to it)

Wulfson commented 7 years ago

It -does- work with the nil...but I changed it to 1. Still works.

troelsbjerre commented 7 years ago

Awesome! Thanks :+1:

I also had to set the max_health of the lights to make the mod load. Hope that doesn't break anything.

Nexela commented 7 years ago

It shouldn't :)

Wulfson commented 7 years ago

Whoops, had the health change in my debug copy but forgot to port it to my branch...sorry about that

troelsbjerre commented 7 years ago

Great! Thanks for getting the mod up and running for 0.15. I'm a little pressed for time these days, so @Nexela, you don't have to worry about me beating you to overhaul the mod ;)