This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Code Not Working for Screens
Post Flair (click to view more posts with a particular flair)
Post Body
I am coding a screen that lets you see the romance/friendship status of certain characters. For some reason, it's not working. And I'm genuinely not sure how to fix the problem. I've tried troubleshooting it myself but I'm at a loss.
Here is a portion of the code that is giving me an issue.
screen ro_rom_fren_stats_screen:
frame:
xpadding 10
ypadding 10
xalign 0.5
yalign 0.5
text “Ro Friendship Score: [player_fren_ro_status].\nRo Romance Score: [player_rom_ro_status].”
textbutton "Dismiss":
xalign 0.5
action Return()
That is my code. This is the error that I receive:
File "game/extra_screens.rpy", line 32: 'Friendship' is not a keyword argument or valid child for the text statement.
text “Ro Friendship Score: [player_fren_ro_status].\nRo Romance Score: [player_rom_ro_status].”
I'm confused as to why I cannot use the word 'Friendship' in a text statement. Maybe I wrote it incorrectly, but I'm not sure.
Any thoughts?
Author
Account Strength
70%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
724
Link Karma
210
Comment Karma
514
Profile updated: 5 days ago
Posts updated: 2 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 3 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/RenPy/comme...