Added GridEntity Description feature; Reworked sacrifice spike descriptions
This commit is contained in:
1 parent
81efabf913
commit
d2ecc50c56
4 files changed
+211
-199
No files matched your search
+1
-1
@@ -217,8 +217,8 @@ end
|
||||
-- Handle Sacrifice room payout
|
||||
local function SacrificeRoomCallback(descObj)
|
||||
local curCounter = descObj.ObjSubType or 1
|
||||
descObj.Name = descObj.Name.." ("..curCounter.."/12)"
|
||||
if curCounter <= 2 then
|
||||
--Remove B1 Bomb drop info when not on B1
|
||||
if game:GetLevel():GetAbsoluteStage() > 1 then
|
||||
local splitPoint = string.find(descObj.Description, '#', 1)
|
||||
descObj.Description = descObj.Description:sub(1,splitPoint-1)
|
||||
|
||||
Reference in new issue
Block a user