We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentdeb5bfb commit2b8cf77Copy full SHA for 2b8cf77
events/local_system_map_seller.lua
@@ -26,7 +26,7 @@ GNU General Public License for more details.
26
You should have received a copy of the GNU General Public License
27
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
28
29
-Copyright © 2023 OOTA, Masato
+Copyright © 2023, 2024 OOTA, Masato
30
--]]
31
--[[
32
When you enter a system:
@@ -96,6 +96,11 @@ function spawn ()
96
localseller_faction=faction.dynAdd(nil,"Map_Seller",_("Map Seller"))
97
localseller_ship=ship.get("Llama")
98
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
104
seller:setFaction(seller_faction)
105
seller:setFriendly()
106
seller:setInvincible()
plugin.xml
@@ -1,7 +1,7 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<pluginname="Easy Mapping Mod">
3
<author>oo13 @ github</author>
4
- <version>1.0</version>
+ <version>1.1</version>
5
<description>A plugin to get the local system maps easily. You can remove this plugin without any side effects anytime you like.</description>
6
<compatibility>^0\.1[01]\..*</compatibility>
7
<priority>5</priority>
@@ -20,5 +20,5 @@ GNU General Public License for more details.
20
21
22
23
24
-->