Skip to content

function

tacoen edited this page May 30, 2020 · 17 revisions

Non Class Function

Event

File: ramen/200-events.rpy

Return event from ramen.events by their id.


action_shortcut

File: plugins/hud/shortcut.rpy


collector

File: plugins/rds/_define.rpy


door

File: test/e1/test.rpy


font_uitag

File: theme/function.rpy


ico

File: theme/icons/icons.rpy

Translate Ramen Icon Webfont, see demo.html in the 'theme\icons' for the list


icon_tag

File: theme/icons/icons.rpy

put icons as renpy text_tag

e " {icon=alert} Warning "

inv_resnotify

File: plugins/hud/inventory-screen.rpy


item

File: ramen/200-item.rpy

Return item from ramen.items by their id.


labeloc

File: plugins/hud/inventory-screen.rpy


modal_display

File: theme/element/modals.rpy

show modal_display screen with keyword arguments.

    $ modal_display(text='show me some text', title='Information',showtitle=True,align=(0.5,0.5)):

modal_input

File: theme/element/modals.rpy

call modal_input screen with keyword arguments.

$ res = modal_input(prompt="Your name",default=mc.name,size=(380,150),padding=(16,16,16,32))
e "Hi! [res]."

Accepted argument:

  • default = 'string'
  • prompt = 'string'
  • size = (w,h)
  • padding = (l,t,r,b)
  • align = (xpos,ypos)
  • title = 'string'
  • showtitle = False
  • closebutton = True

notify_ico

File: theme/element/notify.rpy

Notify with icon

    $ notify_icon('You see notification with icon','logo-ramen')
    $ renpy.notify("You see renpy default notification.")

plugin

File: ramen/300-plugins.rpy

Load plugins-information


ramen_plugins_build

File: ramen/300-plugins.rpy


rtextformat

File: plugins/rds/_define.rpy


scene_map

File: ramen/200-scene-map.rpy


showimg

File: plugins/rds/etc.rpy



Generated Time: 05/30/20 12:45:31

Note This files created using ramen-dev makedoc() from working ramen ren'py project, same references may become a non existent.

Made with Ren'Py 7.3.5.606