-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # .gitignore # README.md # game/screens.rpy # game/script.rpy
- Loading branch information
Showing
26 changed files
with
1,500 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# These are supported funding model platforms | ||
|
||
github: DonRP # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: DRincs # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
custom: ['https://www.buymeacoffee.com/DRincs'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: DevSkim | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: '23 14 * * 5' | ||
|
||
jobs: | ||
lint: | ||
name: DevSkim | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run DevSkim scanner | ||
uses: microsoft/DevSkim-Action@v1 | ||
|
||
- name: Upload DevSkim scan results to GitHub Security tab | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: devskim-results.sarif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"DRincs Get Relation Name By Character": { | ||
"scope": "renpy", | ||
"prefix": "DR_RelationGet", | ||
"body": [ | ||
"$ ${1:relaction} = ${2:mc}I.getRelationNameByCharacter(${3:friend})", | ||
"", | ||
], | ||
"description": "Get Relation Name By Character" | ||
}, | ||
"DRincs Set Relation Name By Character": { | ||
"scope": "renpy", | ||
"prefix": "DR_RelationSetOrAdd", | ||
"body": [ | ||
"$ ${1:mc}I.setRelationNameByCharacter(character= ${2:friend})", | ||
"", | ||
], | ||
"description": "Set Relation Name By Character" | ||
}, | ||
"DRincs Add Character": { | ||
"scope": "renpy", | ||
"prefix": "DR_CharacterAdd", | ||
"body": [ | ||
"default ${1:mc}I = CharacterInfo(name = \"${2:Name}\", sname = \"${3:Surname}\", age = ${4:18}, ", | ||
"other_values ={", | ||
" ${5:story: __(\"Story.\")}", | ||
"}, ", | ||
"relationships = {", | ||
" ${6:girl : relactions[\"girlfriend\"],}", | ||
"})", | ||
"define ${1} = Character(\"{b}[${1}I.name]{/b}\", color=\"#0702ff\", who_outlines=[(2,\"#000000\")], what_prefix=\"\\\"\", what_suffix=\"\\\"\", what_outlines=[(2,\"#000000\")])", | ||
"", | ||
], | ||
"description": "Add Character" | ||
}, | ||
"DRincs Change Name": { | ||
"scope": "renpy", | ||
"prefix": "DR_CharacterInfo_ChangeName", | ||
"body": [ | ||
"${1:mc} \"${2:My name is:}\"", | ||
"$ ${1}I.changeName()", | ||
"", | ||
], | ||
"description": "Change Name" | ||
}, | ||
"DRincs Change Surname": { | ||
"scope": "renpy", | ||
"prefix": "DR_CharacterInfo_ChangeSurname", | ||
"body": [ | ||
"${1:mc} \"${2:My surname is:}\"", | ||
"$ ${1}I.changeSurname()", | ||
"", | ||
], | ||
"description": "Change Surname" | ||
}, | ||
"DRincs Change Age": { | ||
"scope": "renpy", | ||
"prefix": "DR_CharacterInfo_ChangeAge", | ||
"body": [ | ||
"${1:mc} \"${2:I am ... years old}\"", | ||
"$ ${1}I.changeAge()", | ||
"", | ||
], | ||
"description": "Change Age" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"DRincs Get Character Statistic": { | ||
"scope": "renpy", | ||
"prefix": "DR_StatisticGet", | ||
"body": [ | ||
"$ {1}_{3} = ${1:mc}${2:Statistic}.get(\"${3:strength}\")", | ||
"", | ||
], | ||
"description": "Get Relation Name By Character" | ||
}, | ||
"DRincs Set Character Statistic": { | ||
"scope": "renpy", | ||
"prefix": "DR_StatisticSet", | ||
"body": [ | ||
"$ ${1:mc}${2:Statistic}.set(\"${3:strength}\", ${4:1})", | ||
"", | ||
], | ||
"description": "Set Character Statistic" | ||
}, | ||
"DRincs Improvment Character Statistic": { | ||
"scope": "renpy", | ||
"prefix": "DR_StatisticImprovment", | ||
"body": [ | ||
"$ ${1:mc}${2:Statistic}.improve(name = \"${3:strength}\", amt = ${4:1}, max = 10, min = 0, show_notify= True)", | ||
"", | ||
], | ||
"description": "Improvment Character Statistic" | ||
}, | ||
"DRincs Challenge Character Statistic": { | ||
"scope": "renpy", | ||
"prefix": "DR_StatisticChallenge", | ||
"body": [ | ||
"$ ${1}_${3} = ${1:mc}${2:Statistic}.get(\"${3:strength}\")", | ||
"$ ${4}_${3} = ${4:ch}${2}.get(\"${3}\")", | ||
"if isGreaterThan(${1}_${3}, ${4}_${3} ): # ${1}_${3} > ${4}_${3}", | ||
" \"You have won\"", | ||
"else:", | ||
" \"You lost\"", | ||
"", | ||
], | ||
"description": "Challenge Character Statistic" | ||
}, | ||
"DRincs Compare Menu Character Statistic": { | ||
"scope": "renpy", | ||
"prefix": "DR_StatisticCompareMenu", | ||
"body": [ | ||
"$ ${1}_${3} = ${1:mc}${2:Statistic}.get(\"${3:strength}\")", | ||
"menu:", | ||
" \"${4:Can ...}\" if isGreaterThan(${1}_${3}, ${5:0}): # ${1}_${3} > 0", | ||
" ", | ||
], | ||
"description": "Compare Menu Character Statistic" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 | ||
// for the documentation about the extensions.json format | ||
"recommendations": [ | ||
"luquedaniel.languague-renpy", | ||
"ms-python.python", | ||
"ms-vscode.powershell", | ||
"mrorz.language-gettext" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
// Usare IntelliSense per informazioni sui possibili attributi. | ||
// Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti. | ||
// Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Ren'Py: Setup", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "echo \"${input:RenPySdk}\" > .renpy-sdk", | ||
}, | ||
{ | ||
"name": "Ren'Py: Run", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "bin/renpy run", | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "Ren'Py: Recompile & Run", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "bin/renpy compile; bin/renpy run", | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "Ren'Py: Delete Persistent", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "bin/renpy rmpersistent", | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "Ren'Py: Lint", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "bin/renpy lint", | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "Ren'Py: Distribute", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "bin/renpy distribute", | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "RenPySdk", | ||
"description": "Paste the path to your Ren'Py SDK folder", | ||
"type": "promptString", | ||
} | ||
] | ||
} |
Oops, something went wrong.