Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

When specified, crew will have to go to a specified location in order to actually drop off the ammo into the AmmoStorage. This DropOffLocation can also be chained like other locations. Example of usage:

AmmoStorage
{
	Type = AmmoStorage
	AmmoType = bullet
	MaxAmmo = 20
	DropOffLocation = [1, 3]
	ChainedTo = Turret
}

OR

AmmoStorage
{
	Type = AmmoStorage
	AmmoType = bullet
	MaxAmmo = 20
	DropOffLocation
	{
		Active = true
		Location = [1, 3]
		ChainedTo = Turret
	}
}

This would mostly help with modding aesthetic parts and making it look more mechanically interesting.

  • Lafiel and Jared like this.
  • This is probably easy to add, except the the chaining part.

Oh, yeah, components used to have location features in the old days. I think it should still work for many but haven't been re-tested this for storages for a long time.

    Lafiel A surprising amount of components support location, but last I checked, storages are unfortunately not one of them.

    Ultranova Yeah.
    Also since storages have split into AmmoStorage and AmmoConsumer it might be more appropriate to do this for the consumer component. But it would be nice to apply it for all just in case. 😀

    Lafiel Yeah, it would also be nice if it was able to be used for picking up ammo to be honest. Putting location in AmmoConsumer would definitely work for placing ammo, but putting it in AmmoStorage would probably work for both picking up and putting down ammo.

      This is probably easy to add, except the the chaining part.

      Walt Would a Rect be easier to add rather than a Location? Just curious because I've been mulling over it for a couple of days and I think a Rect might suit this better than a location.

        Ultranova Would a Rect be easier to add rather than a Location? Just curious because I've been mulling over it for a couple of days and I think a Rect might suit this better than a location.

        No. Currently the crew pathfinding can only take whole-part or single-point destinations, so I'd have to expand it to be able to take rectangular destinations.

        Write a Reply...