DiscoveryGC / FLHook

FLHook for Discovery Freelancer
Other
28 stars 33 forks source link

Re-add stackables to autobuy plugin #73

Closed Kazinsal closed 6 years ago

Kazinsal commented 6 years ago

This commit re-adds stackable ammo counts for missiles and guns to the autobuy plugin. The list of weapons that are stackable is configured in autobuy.cfg, with the following format:

[stackable]
weapon = torpedo03_mark01
weapon = dsy_silencer_missile
weapon = dsy_nightmare_torpedo

Any gun, missile launcher, or torpedo launcher given a weapon = <id> entry under the [stackable] section in autobuy.cfg will be considered stackable, ie. having multiple of the same launcher equipped will increase the amount of ammo the autobuy plugin loads into your ship accordingly. For example, equipping two Hellfire Rocket Pods will result in twice the ammo capacity of a single rocket pod (120 each) being loaded into your ship by the autobuy plugin.

Kazinsal commented 6 years ago

It's a map in the original implementation. I believe the intent was to allow partial stacking down the line if the balance team wanted that. Not 100 percent sure because it was a quick hack in the first place.

zibbizor commented 6 years ago

Yeah, the initial beta testing was done on hellfire pods to test the feature and its balance implications. It was pretty much left like that for a while as Haste went inactive and no progress was made.