Skip to content

Instantly share code, notes, and snippets.


videlais/script.rpy Secret

Created Jul 26, 2018
What would you like to do?
Custom text tags
init python:
def big_tag(tag, argument, contents):
size = int(argument) * 20
return [
(renpy.TEXT_TAG, u"size={}".format(size)),
] + contents + [
(renpy.TEXT_TAG, u"/size"),
config.custom_text_tags["big"] = big_tag
label start:
"This is {big=3}BIG!{/big}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment