bup
This commit is contained in:
70
dst/clippy.lua
Normal file
70
dst/clippy.lua
Normal file
@@ -0,0 +1,70 @@
|
||||
local function getClippy(speechBubbleX, speechBubbleY, speechBubbleFontHeight)
|
||||
return {
|
||||
-- clippy
|
||||
{
|
||||
id = "clippy_character",
|
||||
filter = 0, -- nearest neigbour
|
||||
dst = {
|
||||
{ x = speechBubbleX - 10, y = 66, w = 300, h = 300, a = 255 }
|
||||
}
|
||||
},
|
||||
{
|
||||
id = "clippy_speechbubble",
|
||||
dst = {
|
||||
{ x = speechBubbleX, y = speechBubbleY, w = 300, h = 300, a = 255 }
|
||||
}
|
||||
},
|
||||
-- clippy speech text
|
||||
{
|
||||
id = "clippy_rank",
|
||||
dst = {
|
||||
{ x = speechBubbleX + 10, y = speechBubbleY + 220, w = 300, h = 60, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
},
|
||||
{
|
||||
id = "clippy_rank_best",
|
||||
dst = {
|
||||
{ x = speechBubbleX + 190, y = speechBubbleY + 230, w = 100, h = speechBubbleFontHeight, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
},
|
||||
-- gauge type
|
||||
{
|
||||
id = "clippy_clear_type",
|
||||
dst = {
|
||||
{ x = speechBubbleX + 10, y = speechBubbleY + 160, w = 300, h = speechBubbleFontHeight, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
},
|
||||
{
|
||||
id = "clippy_clear_type_best",
|
||||
dst = {
|
||||
{ x = speechBubbleX + 190, y = speechBubbleY + 160, w = 100, h = speechBubbleFontHeight, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
},
|
||||
-- ir display
|
||||
{
|
||||
id = "clippy_ir_unavailable",
|
||||
op = { 50 },
|
||||
dst = {
|
||||
{ x = speechBubbleX + 10, y = speechBubbleY + 100, w = 300, h = speechBubbleFontHeight, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
},
|
||||
{
|
||||
id = "clippy_ir_rank",
|
||||
op = { 51 },
|
||||
dst = {
|
||||
{ x = speechBubbleX + 10, y = speechBubbleY + 100, w = 300, h = speechBubbleFontHeight, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
},
|
||||
-- rate
|
||||
{
|
||||
id = "clippy_rate",
|
||||
dst = {
|
||||
{ x = speechBubbleX + 10, y = speechBubbleY + 40, w = 300, h = speechBubbleFontHeight, a = 255, r = 10, g = 10, b = 10 }
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
return {
|
||||
getClippy = getClippy
|
||||
}
|
||||
Reference in New Issue
Block a user