Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

no matter what i try i cannot seem to get this to work

[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/inline_tooltip.rpy", line 7, in script

    define inline_tooltip_list = [

  File "game/inline_tooltip.rpy", line 8, in <module>

    inline_tooltip_data("night", [_("Night"), "Night", "Night", _("night")], _("The Elves are a pointy eared people with a lot of rizz.")),

TypeError: __init__() missing 1 required positional argument: 'description'

-- Full Traceback ------------------------------------------------------------

Full traceback:

  File "game/inline_tooltip.rpy", line 7, in script

    define inline_tooltip_list = [

     return eval(bytecode, globals, locals)

  File "game/inline_tooltip.rpy", line 8, in <module>

    inline_tooltip_data("night", [_("Night"), "Night", "Night", _("night")], _("The Elves are a pointy eared people with a lot of rizz.")),

TypeError: __init__() missing 1 required positional argument: 'description'

Windows-10-10.0.22631 AMD64

Ren'Py 8.3.4.24120703

Test Game 1.0

Sat Feb 15 23:06:49 2025

[/code]

The data requires 4 arguments, not 3!

The second last should be the title, and the last the description so it should probably look like:

inline_tooltip_data("night", [_("Night"), _("night")], _("Night Title"), _("Night Description."))