forked from Cavemanon/SnootGame
Add Mod Support
This commit is contained in:
12
game/mods/storyline_ex.rpy
Normal file
12
game/mods/storyline_ex.rpy
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
init python:
|
||||
# Modding Support variables
|
||||
# All mod rpy files must have title of their mod (this shows up on a button)
|
||||
# and finally the label that controls the flow of dialogue
|
||||
|
||||
mod_menu_access += [["Example Mod", "storyline_ex"]];
|
||||
|
||||
image template_sample = Image("mods/template/img/sample.png")
|
||||
|
||||
label storyline_ex:
|
||||
call chapter_2_new
|
9
game/mods/template/chapter2_redo.rpy
Normal file
9
game/mods/template/chapter2_redo.rpy
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
label chapter_2_new:
|
||||
show template_sample at scenter
|
||||
"Sample Text"
|
||||
hide template_sample
|
||||
show anon neutral flip at aright with dissolve
|
||||
A "Sample Text"
|
||||
return
|
BIN
game/mods/template/img/sample.png
Normal file
BIN
game/mods/template/img/sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 468 B |
Reference in New Issue
Block a user