Stellaris

Stellaris

Expanded Ship Salvage
5 条留言
6thStrikeUnit  [作者] 10 月 23 日 上午 4:10 
@Error_error
Makes the listed mod ship types salvageable.
Error_error 10 月 21 日 下午 8:34 
Does this mod increase the types of ships that can be recovered in general? Or is it ment only for those listed mods?
6thStrikeUnit  [作者] 2024 年 5 月 16 日 上午 2:36 
@fatal_errorjp
情報提供ありがとうございます。
on_actionsの呼び出しを追加したバージョンに更新しました。
fatal_errorjp 2024 年 5 月 15 日 上午 7:23 
コード読んでたらたまたま見つけたので報告しておきます。

デブリ回収時のon_actionsイベントは「on_debris_researched」、「on_debris_scavenged」の他にもう一つ「on_debris_scavenged_and_researched」があります。
on_debris_scavenged_and_researchedはスカベンジャー専用の「デブリの回収/調査」の政策を選んでいる場合に呼ばれる処理で、バニラだとこの処理で呼ばれるtoxoids.700のイベントにてサルベージ処理が呼び出されています。

これを踏まえると恐らくon_debris_scavenged_and_researchedからもイベント呼び出しが必要なのではないかと思われます。
Spider 2024 年 5 月 6 日 上午 7:39 
Finally, somebody did it! Awesome! Instant sub from me.