This is the code:
Code: Select all
#--------------------------------------------------------------------#
# * Configuration variables
#--------------------------------------------------------------------#
default friendship = 0
default love = 0
default lust = 0
#---------------------------------------------------------------------
# * GUI
#---------------------------------------------------------------------
screen gui_screen():
add "gui/p lust.png" xalign 0.01 yalign 0.015
add "gui/p stats.png" xalign 0.11 yalign 0.055
text "{b}[friendship]{/b}" xalign 0.025 yalign 0.245 color "#000000"
text "{b}[love]{/b}" xalign 0.0655 yalign 0.245 color "#000000"
text "{b}[lust]{/b}" xalign 0.129 yalign 0.075 color "#010101"
init python:
def ch_friendship(amount):
global friendship
friendship += amount
def ch_love(amount):
global love
love += amount
def ch_lust(amount):
global lust
lust += amount
Pretty straightforward
How do i include this file in my game. When i start my game i dont see anything happening.
I asume i have to give some sort of include statement to my script.pry file but i dont know how.