MetalZelda, I added the dialog_style options to my dialog box - I actually had forgotten this wasn't standard.
I also recently added the ability to pass, for example, an NPC name to the dialog box so it would display above it. This might be a useful feature. I also know someone (maybe it was Diarandor?) added NPC images to the dialog box, which could be a good standard feature.
Code (lua) Select
function game:set_dialog_style(style)
dialog_box.style = style
if style == "wood" then
dialog_box.box_img = sol.surface.create("hud/dialog_box_wood.png")
dialog_box.end_lines_sprite:set_animation("wood")
elseif style == "stone" then
dialog_box.box_img = sol.surface.create("hud/dialog_box_stone.png")
dialog_box.end_lines_sprite:set_animation("stone")
else
dialog_box.box_img = sol.surface.create("hud/dialog_box.png")
dialog_box.end_lines_sprite:set_animation("default")
end
end
I also recently added the ability to pass, for example, an NPC name to the dialog box so it would display above it. This might be a useful feature. I also know someone (maybe it was Diarandor?) added NPC images to the dialog box, which could be a good standard feature.