Card Reading portals only read Line #1
This commit is contained in:
1 parent
cf557d02ff
commit
7c4997d930
1 file changed
+2
@@ -1361,6 +1361,8 @@ local function onRender(t)
|
|||||||
local descriptionObj = EID:getDescriptionObj(5, 300, subtypeToCard[closest.SubType+1], closest, false)
|
local descriptionObj = EID:getDescriptionObj(5, 300, subtypeToCard[closest.SubType+1], closest, false)
|
||||||
-- Card Reading's name
|
-- Card Reading's name
|
||||||
descriptionObj.Name = EID:getObjectName(5, 100, 660)
|
descriptionObj.Name = EID:getObjectName(5, 100, 660)
|
||||||
|
-- Only keep the first line of the description
|
||||||
|
descriptionObj.Description = string.sub(descriptionObj.Description, 1, string.find(descriptionObj.Description, "#"))
|
||||||
EID:addDescriptionToPrint(descriptionObj)
|
EID:addDescriptionToPrint(descriptionObj)
|
||||||
-- Handle Crane Game
|
-- Handle Crane Game
|
||||||
elseif closest.Type == 6 and closest.Variant == 16 then
|
elseif closest.Type == 6 and closest.Variant == 16 then
|
||||||
|
|||||||
Reference in new issue
Block a user