Avorion
Arsenal Extension - Helix Cannon
9 comentarii
KnifeHeart  [autor] 6 sept. la 7:35 
If you're running over 9000 mods, you might want to figure out which one this is in conflict with :D
Baka yellow 4 sept. la 22:32 
i;'ve reasonh to believe the mod might be causing conflicts with the turret generator. Probaly.
KnifeHeart  [autor] 23 ian. 2024 la 12:32 
Issue w/ Alliances should be fixed. Please let me know if it's not.
KnifeHeart  [autor] 17 ian. 2024 la 23:27 
I guess you can tell I don't use alliances much, lol. Thanks for pointing me to the specific line.
KnifeHeart  [autor] 17 ian. 2024 la 23:20 
I'll take a look at it sometime later this week.
[uRxP]DrChocolate 17 ian. 2024 la 22:33 
Hi @KnifeHeart, @Bugget! is right - you have an issue in your code:

data\scripts\entity\merchants\fighterfactory.lua line 8:

local turret = Player():getInventory():find(idx)

If the turret is actually in the inventory of an alliance, instead of the player, this will be nil. It then passes the nil object down the chain to other consumers of the function, which causes an error.

This means that no player can build fighters from an alliance ship/inventory, clicking the button will silently fail.
Bubbet! 27 dec. 2023 la 21:18 
You need to account for alliances in your fighter factory hook, it throws with nil value on line 9 because it cant find the turret.
KnifeHeart  [autor] 1 aug. 2021 la 17:31 
This mod is now 2.0 compatible.
TESLA 6 iul. 2021 la 13:43 
Cool stuff!