offer gun upgrades
This commit is contained in:
parent
ccd2c64103
commit
ce14d03669
@ -1868,7 +1868,11 @@ end
|
||||
-- ordinary upgrades
|
||||
function small_opts()
|
||||
-- todo: include gun opts
|
||||
return pick(primary_ship:small_upgrade_opts(), 2)
|
||||
if(not primary_ship.special_guns) return pick(primary_ship:small_upgrade_opts(), 2)
|
||||
local opts = {rnd(primary_ship:small_upgrade_opts())}
|
||||
for g in all(primary_ship.special_guns) do
|
||||
add(opts, rnd(g:small_upgrade_opts()))
|
||||
end
|
||||
end
|
||||
|
||||
-->8
|
||||
|
Loading…
x
Reference in New Issue
Block a user