Fixed display issues when no MCM is installed

This commit is contained in:
Wofsauge committed 2020-11-30 21:38:17 +01:00
1 parent 1ed40d6c92
commit 931d505bc9
3 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -215,8 +215,8 @@ end
-- returns the current text position
function EID:getTextPosition()
local posVector = EID.UsedPosition
for _,modifier in pairs(EID.PositionModifiers) do
local posVector = Vector(EID.UsedPosition.X,EID.UsedPosition.Y)
for a,modifier in pairs(EID.PositionModifiers) do
posVector = posVector + modifier
end
return posVector
+2
View File
@@ -302,6 +302,8 @@ local function onRender(t)
local player = Isaac.GetPlayer(0)
if player:HasCollectible(CollectibleType.COLLECTIBLE_SCHOOLBAG) then
EID:addTextPosModifier("Schoolbag", Vector(0,30))
else
EID:removeTextPosModifier("Schoolbag")
end
if EID.isDisplayingPermanent and EID.permanentDisplayTextObj ~= nil then
+5 -5
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<name>!External item descriptions</name>
<name>!!External item descriptions</name>
<directory>external item descriptions</directory>
<id>836319872</id>
<description>This mod displays detailed information about all items, trinkets, cards, runes and pills DIRECTLY onto your screen. Say goodbye to your browsertab with platinumgod open ;)
@@ -34,7 +34,7 @@
[tr]
[td]by Wofsauge[/td]
[td]by Arroyo Purroy[/td]
[td]by hell2Pay & fly_6 & TrJ-VoRon[/td]
[td]by hell2Pay, fly_6 and TrJ-VoRon[/td]
[td]by Nicolas Delvaux[/td]
[td]by Marcelino Cruz[/td]
[td]by Gothika_47[/td]
@@ -49,11 +49,11 @@
[h1][b]------------------CONFIGURATION------------------[/b][/h1]
[h1]You can use [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1603631350]"Mod config Menu"[/url] to customize this mod![/h1]
[h1]You can use [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1603631350]'Mod config Menu'[/url] to customize this mod![/h1]
or
[b]Windows[/b]
1. Go to ..\Documents\My Games\Binding of Isaac Afterbirth+ Mods\External item descriptions\
2. Open "config.lua" with any texteditor
2. Open 'config.lua' with any texteditor
3. Edit the Config
4. Save the file
5. Play the game
@@ -76,7 +76,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
[img]https://i.imgur.com/P6a8043.png[/img] [url=https://github.com/wofsauge/External-Item-Descriptions]Any Problems? Visit this project on GitHub[/url]</description>
<version>1.67</version>
<version>3.4</version>
<visibility>Public</visibility>
<tag id="Lua"/>
<tag id="Items"/>