Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b8cf77

Browse files
committed
Prevent the seller talking about the wanted pilot in the mission "Seek And Destroy."
1 parentdeb5bfb commit2b8cf77

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

‎events/local_system_map_seller.lua‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ GNU General Public License for more details.
2626
You should have received a copy of the GNU General Public License
2727
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
2828
29-
Copyright © 2023 OOTA, Masato
29+
Copyright © 2023, 2024 OOTA, Masato
3030
--]]
3131
--[[
3232
When you enter a system:
@@ -96,6 +96,11 @@ function spawn ()
9696
localseller_faction=faction.dynAdd(nil,"Map_Seller",_("Map Seller"))
9797
localseller_ship=ship.get("Llama")
9898
seller=pilot.add(seller_ship,"Trader",pos,NPC_name )
99+
ifplayer.misnActive("Seek And Destroy")andnotnaev.claimTest(system.cur())then
100+
-- Prevent the seller talking about the wanted pilot in the mission "Seek And Destroy."
101+
-- This workaround reveals the offstage a bit, so I would use it only when it's necessary.
102+
seller:setLeader(player.pilot())
103+
end
99104
seller:setFaction(seller_faction)
100105
seller:setFriendly()
101106
seller:setInvincible()

‎plugin.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<pluginname="Easy Mapping Mod">
33
<author>oo13 @ github</author>
4-
<version>1.0</version>
4+
<version>1.1</version>
55
<description>A plugin to get the local system maps easily. You can remove this plugin without any side effects anytime you like.</description>
66
<compatibility>^0\.1[01]\..*</compatibility>
77
<priority>5</priority>
@@ -20,5 +20,5 @@ GNU General Public License for more details.
2020
You should have received a copy of the GNU General Public License
2121
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
2222
23-
Copyright © 2023 OOTA, Masato
23+
Copyright © 2023, 2024 OOTA, Masato
2424
-->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp