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

Commit7e24c56

Browse files
committed
Naev version 0.12.0-alpha.2 will need no workaround.
1 parentd2903fe commit7e24c56

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎events/local_system_map_seller.lua‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ local hailhook
4747
localtimeouthook
4848
localseller=nil
4949
localNPC_name=_("A vending machine of a map seller")
50+
localolder_than_ver012a2=naev.versionTest(naev.version(),"0.12.0-alpha.1")<=0
5051

5152
functionhasLocalMap ()
5253
ifplayer.outfitNumthen
@@ -96,7 +97,7 @@ function spawn ()
9697
localseller_faction=faction.dynAdd(nil,"Map_Seller",_("Map Seller"))
9798
localseller_ship=ship.get("Llama")
9899
seller=pilot.add(seller_ship,"Trader",pos,NPC_name )
99-
ifplayer.misnActive("Seek And Destroy")andnotnaev.claimTest(system.cur())then
100+
ifolder_than_ver012a2andplayer.misnActive("Seek And Destroy")andnotnaev.claimTest(system.cur())then
100101
-- Prevent the seller talking about the wanted pilot in the mission "Seek And Destroy."
101102
-- This workaround reveals the offstage a bit, so I would use it only when it's necessary.
102103
seller:setLeader(player.pilot())

‎plugin.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<author>oo13 @ github</author>
44
<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>
6-
<compatibility>^0\.1[01]\..*</compatibility>
7-
<priority>5</priority>
6+
<compatibility>^0\.1[012]\..*</compatibility>
7+
<source>https://github.com/oo13/easy_mapping_plugin_for_naev</source>
88
</plugin>
99
<!--
1010
This plugin is free software: you can redistribute it and/or modify

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp