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 parentd2903fe commit7e24c56Copy full SHA for 7e24c56
events/local_system_map_seller.lua
@@ -47,6 +47,7 @@ local hailhook
47
localtimeouthook
48
localseller=nil
49
localNPC_name=_("A vending machine of a map seller")
50
+localolder_than_ver012a2=naev.versionTest(naev.version(),"0.12.0-alpha.1")<=0
51
52
functionhasLocalMap ()
53
ifplayer.outfitNumthen
@@ -96,7 +97,7 @@ function spawn ()
96
97
localseller_faction=faction.dynAdd(nil,"Map_Seller",_("Map Seller"))
98
localseller_ship=ship.get("Llama")
99
seller=pilot.add(seller_ship,"Trader",pos,NPC_name )
-ifplayer.misnActive("Seek And Destroy")andnotnaev.claimTest(system.cur())then
100
+ifolder_than_ver012a2andplayer.misnActive("Seek And Destroy")andnotnaev.claimTest(system.cur())then
101
-- Prevent the seller talking about the wanted pilot in the mission "Seek And Destroy."
102
-- This workaround reveals the offstage a bit, so I would use it only when it's necessary.
103
seller:setLeader(player.pilot())
plugin.xml
@@ -3,8 +3,8 @@
3
<author>oo13 @ github</author>
4
<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>
+ <compatibility>^0\.1[012]\..*</compatibility>
+ <source>https://github.com/oo13/easy_mapping_plugin_for_naev</source>
8
</plugin>
9
<!--
10
This plugin is free software: you can redistribute it and/or modify