SnootGameItalian/game/script.rpy
2021-07-17 16:37:32 +10:00

373 lines
17 KiB
Plaintext

#TODO
#add chadshark
#The game needs something like a CG gallery, if only to track your progress.
#remove sex
#troll /adgd/
#idk debug lol
#just like make game
#??????
#Profit&Export
#/usr/bin/touch gf - cannot touch 'gf': Permission denied
#To whoever looked at the old script file of this, woe be upon ye, because it was an absolute clusterfuck. story scripts are now in the script directory. everything here is just boilerplate code for characters, scenes, transitions, and whatnot.
#Why yes all my code was formerly in one massive file called "script" thats 28k lines long, how could you tell?
#Licensed under the GNU AGPL v3, for more information check snootgame.xyz or the LICENSE file that should have came with this work.
init python:
import random
import webbrowser
#function for insult layers
def showCG():
files = ["text0", "text1", "text2", "text3", "text4", "text5", "text6", "text7", "text8", "text9"]
length = len(files)
picked = random.randint(0,length - 1)
fileName = files[picked]
renpy.show(fileName, at_list=[randPosition])
if persistent.scroll == True:
config.keymap['dismiss'].append('mousedown_4')
transform randPosition:
alpha 0.0
xalign random.uniform(0.2,0.8)
yalign random.uniform(0.2,0.8)
linear 0.6 alpha 1.0
linear 1.0 alpha 0.0
#python:
# def Walking( name ):
# show name:
# xalign 0.2 yalign 0.25
# ease 1.0 yalign 0.0
# ease 1.0 yalign 0.25
# repeat
#layeredimage aquariumexhibit:
#group animals:
# attribute babyTurtle:
# attribute octo:
# attribute
# attribute
# attribute
# attribute
#layeredimage aquarium
#group kids:
# attribute wkids:
# "smolpatrol.webp"
#layeredimage anon:
# group face:
# attribute neutralFace default:
# "anonb1f1.webp"
# attribute happyFace:
# "anonhappyface.webp"
# attribute flipNeutralFace:
# "flipanonb1f1.webp"
# attribute flipHappyFace:
# "flipanonhappyface.webp"
# group body:
# attribute neutralBody default:
# "anonspriteneutral.webp"
# attribute thumbsUp:
# "anonspritethumbsup.webp"
# attribute flipThumbsUp:
# "flipanonspritethumbsup.webp"
# attribute:
# "flipanonspriteneutral.webp"
# attribute monkey:
# "monkeyanon.webp"
# group holding:
# attribute guitar:
# "guitar.webp"
#Raw Image & kwargs for long textboxes
define long_textbox_img = Image("gui/textbox_long.png", xalign=0.5, yalign=1.0)
define long_textbox = { "window_background": long_textbox_img, 'namebox_style': "namebox_large" }
#Characters
define A = Character ('Anon',color="#36E12D") #Light Green
define F = Character ('Fang',color="#7E2DE1") #Purple
define Lucy = Character ('Lucy',color="#7E2DE1") #Purple
define Ro = Character ('Rosa',color="#E12D36") #Red
define St = Character ('Stella',color="#E17E2D") #orang
define N = Character ('Naomi',color="#2D36E1") #Blue
define Nas = Character ('Naser',color="#501D5E") #Dark Purple
define T = Character ('Trish',color="#8A0036") #Maroon
define Attendant = Character ('Attendant',color="#8A0036") #Maroon
define Sp = Character ('Spears',color="#7B8A00") #Dark Yellow
define Re = Character ('Reed',color="#368A00") #Dark Green
define D = Character ('Driver',color="#098A00")
define FM = Character ('Fangs Mom',color="#EA1A84")
define FD = Character ('Fangs Dad',color="#1A1CEA")
define Tsuki = Character ('Mr. Tsuki',color="#CEAF23")
define unknown = Character ('(???)',color="#000000")
define jingo = Character ('Mr. Jingo',color="#42C053")
define MaitD = Character ('Maitre D',color="#42C053")
define Moe = Character('Moe',color="#42C053")
define Vince = Character ('Vince',color="#3C770D") #Dark Green
define Waitress = Character ('Waitress',color="#C89B19") #Gold
#long TB chars
define AnonAndFang = Character('Anon and Fang',color="34F313", **long_textbox)
define SV = Character ('Street Vendor',color="#420046", **long_textbox)
define carl = Character ('Mr. Carldewskii',color="#4963A5", **long_textbox)
define Drf = Character ('Dr. Fernsworth',color="#4963A5", **long_textbox)
define FRT = Character ('Fang Reed & Trish',color="#4963A5", **long_textbox)
#Extra image translations
#siloettes
image stellaSilo = im.Flip(im.MatrixColor("stella/stella neutral.png",im.matrix.brightness(-1)), horizontal=True)
image rosaSilo = im.MatrixColor("rosa/rosa neutral.png",im.matrix.brightness(-1))
image naomiSilo = im.MatrixColor("naomi/naomi neutral.png",im.matrix.brightness(-1))
image naserSilo = im.Flip(im.MatrixColor("naser/naser neutral.png",im.matrix.brightness(-1)), horizontal=True)
image fangSilo = im.MatrixColor("fang/basic set/fang neutral.png",im.matrix.brightness(-1))
image fangAngrySilo = im.MatrixColor("fang/basic set/fang angry.png",im.matrix.brightness(-1))
#violence flips
image fang kicking flip = im.Flip("fang/emotive set/fang kicking.png", horizontal=True)
#neutral flips
image anon neutral flip = im.Flip("anon/base set/anon neutral.png", horizontal=True)
image anond neutral flip = im.Flip("anon/ending sets/anond neutral.png", horizontal=True)
image anon prom neutral flip = im.Flip("anon/prom set/anon prom neutral.png", horizontal=True)
image anon prom blacklight neutral flip = im.Flip("anon/Other/anon prom blacklight neutral.png", horizontal=True)
image fang neutral flip = im.Flip("fang/basic set/fang neutral.png", horizontal=True)
image fang a prom neutral flip = im.Flip("fang/prom sets/fang a prom neutral.png", horizontal=True)
image fang d prom neutral flip = im.Flip("fang/prom sets/fang d prom neutral.png", horizontal=True)
image fang d neutral flip = im.Flip("fang/future sets/fang d neutral.png", horizontal=True)
image fang c prom neutral flip = im.Flip("fang/prom sets/fang c prom neutral.png", horizontal=True)
image naser neutral flip = im.Flip("naser/naser neutral.png", horizontal=True)
image naser prom neutral flip = im.Flip("naser/naser prom neutral.png", horizontal=True)
image trish neutral flip = im.Flip("trish/trish neutral.png", horizontal=True)
image trish future neutral flip = im.Flip("trish/trish future neutral.png", horizontal=True)
image trish prom neutral flip = im.Flip("trish/trish prom neutral.png", horizontal=True)
image naomi neutral flip = im.Flip("naomi/naomi neutral.png", horizontal=True)
image naomi prom neutral flip = im.Flip("naomi/naomi prom neutral.png", horizontal=True)
image fangmom neutral flip = im.Flip("fangparents/fangmom neutral.png", horizontal=True)
image fangdad neutral flip = im.Flip("fangparents/fangdad neutral.png", horizontal=True)
image spears neutral flip = im.Flip("spears/spears neutral.png", horizontal=True)
image stella neutral flip = im.Flip("stella/stella neutral.png", horizontal=True)
image stella neutral alt flip = im.Flip("stella/stella neutral alt.png", horizontal=True)
image stella prom neutral flip = im.Flip("stella/stella prom neutral.png", horizontal=True)
image moe neutral flip = im.Flip("moe/moe neutral.png", horizontal=True)
image rosa neutral flip = im.Flip("rosa/rosa neutral.png", horizontal=True)
image rosa prom neutral flip = im.Flip("rosa/rosa prom neutral.png", horizontal=True)
image reed neutral flip = im.Flip("reed/reed neutral.png", horizontal=True)
image reed king rex flip = im.Flip("reed/reed king rex.png", horizontal=True)
image reed future neutral flip = im.Flip("reed/reed future neutral.png", horizontal=True)
#angry flips
image spears angry flip = im.Flip("spears/spears angry.png", horizontal=True)
image fang angry flip = im.Flip("fang/basic set/fang angry.png", horizontal=True)
image fang very angry flip = im.Flip("fang/emotive set/fang very angry.png", horizontal=True)
image fang ultra angry flip = im.Flip("fang/emotive set/fang ultra angry.png", horizontal=True)
image fang a prom angry flip = im.Flip("fang/prom sets/fang a prom angry.png", horizontal=True)
image naomi angry flip = im.Flip("naomi/naomi angry.png", horizontal=True)
image naomi prom angry flip = im.Flip("naomi/naomi prom angry.png", horizontal=True)
image rosa angry flip = im.Flip("rosa/rosa angry.png", horizontal=True)
image naser angry flip = im.Flip("naser/naser angry.png", horizontal=True)
image trish angry flip = im.Flip("trish/trish angry.png", horizontal=True)
image trish prom angry flip = im.Flip("trish/trish prom angry.png", horizontal=True)
image trish fury flip = im.Flip("trish/trish fury.png", horizontal=True)
image reed angry flip = im.Flip("reed/reed angry.png", horizontal=True)
#very angry flips
image anon angry flip = im.Flip("anon/emotive set/anon angry.png", horizontal=True)
#sad flips
image anon sad flip = im.Flip("anon/emotive set/anon sad.png", horizontal=True)
image fang very sad flip = im.Flip("fang/emotive set/fang very sad.png", horizontal=True)
image fang sad flip = im.Flip("fang/basic set/fang sad.png", horizontal=True)
image fang pendant sad flip = im.Flip("fang/christmas/fang pendant sad.png", horizontal=True)
image fang c prom sad flip = im.Flip("fang/prom sets/fang c prom sad.png", horizontal=True)
image fang c sad flip = im.Flip("fang/future sets/fang c sad.png", horizontal=True)
image fang c sad2 flip = im.Flip("fang/future sets/fang c sad2.png", horizontal=True)
image fang c sad3 flip = im.Flip("fang/future sets/fang c sad3.png", horizontal=True)
image fang c sad4 flip = im.Flip("fang/future sets/fang c sad4.png", horizontal=True)
image anon sad flip = im.Flip("anon/emotive set/anon sad.png", horizontal=True)
image naomi sad flip = im.Flip("naomi/naomi sad.png", horizontal=True)
image naser sad flip = im.Flip("naser/naser sad.png", horizontal=True)
image trish sad flip = im.Flip("trish/trish sad.png", horizontal=True)
image trish prom sad flip = im.Flip("trish/trish prom sad.png", horizontal=True)
image stella sad flip = im.Flip("stella/stella sad.png", horizontal=True)
image stella prom sad flip = im.Flip("stella/stella prom sad.png", horizontal=True)
image reed sad flip = im.Flip("reed/reed sad.png", horizontal=True)
#shocked flips
image anon shocked flip = im.Flip("anon/emotive set/anon shocked.png", horizontal=True)
image fang shocked flip = im.Flip("fang/emotive set/fang shocked.png", horizontal=True)
image fang c shocked flip = im.Flip("fang/future sets/fang c shocked.png", horizontal=True)
image reed shocked flip = im.Flip("reed/reed shocked.png", horizontal=True)
image naser shocked flip = im.Flip("naser/naser shocked.png", horizontal=True)
image naomi shocked flip = im.Flip("naomi/naomi shocked.png", horizontal=True)
image stella shock alt flip = im.Flip("stella/stella shock alt.png", horizontal=True)
#considering flips
image fang considering flip = im.Flip("fang/basic set/fang considering.png", horizontal=True)
image reed considering flip = im.Flip("reed/reed considering.png", horizontal=True)
image naser considering flip = im.Flip("naser/naser considering.png", horizontal=True)
image naomi considering flip = im.Flip("naomi/naomi considering.png", horizontal=True)
image rosa considering flip = im.Flip("rosa/rosa considering.png", horizontal=True)
#happy flips
image fang happy flip = im.Flip("fang/basic set/fang happy.png", horizontal=True)
image fang a prom happy flip = im.Flip("fang/prom sets/fang a prom happy.png", horizontal=True)
image fang d prom happy flip = im.Flip("fang/prom sets/fang d prom happy.png", horizontal=True)
image fang c prom happy flip = im.Flip("fang/prom sets/fang c prom happy.png", horizontal=True)
image fang c happy flip = im.Flip("fang/future sets/fang c happy.png", horizontal=True)
image naser happy flip = im.Flip("naser/naser happy.png", horizontal=True)
image naser prom happy flip = im.Flip("naser/naser prom happy.png", horizontal=True)
image naomi happy flip = im.Flip("naomi/naomi happy.png", horizontal=True)
image trish happy flip = im.Flip("trish/trish happy.png", horizontal=True)
image trish very happy flip = im.Flip("trish/trish very happy.png", horizontal=True)
image naomi prom happy flip = im.Flip("naomi/naomi prom happy.png", horizontal=True)
image reed happy flip = im.Flip("reed/reed happy.png", horizontal=True)
image reed happy sunglasses flip = im.Flip("reed/reed happy sunglasses.png", horizontal=True)
image anon face happy flip = im.Flip("anon/base set/anon face happy.png", horizontal=True)
image trish future smug flip = im.Flip("trish/trish future smug.png", horizontal=True)
image trish prom happy flip = im.Flip("trish/trish prom happy.png", horizontal=True)
image stella happy flip = im.Flip("stella/stella happy.png", horizontal=True)
image stella happy alt flip = im.Flip("stella/stella happy alt.png", horizontal=True)
#fear flips
image anon fear flip = im.Flip("anon/emotive set/anon fear.png", horizontal=True)
#bossy flips
image rosa bossy flip = im.Flip("rosa/rosa bossy.png", horizontal=True)
#explanatory flip
image reed explanatory flip = im.Flip("reed/reed explanatory.png", horizontal=True)
image trish explanatory flip = im.Flip("trish/trish explanatory.png", horizontal=True)
image reed future explanatory flip = im.Flip("reed/reed future explanatory.png", horizontal=True)
image stella explanatory flip = im.Flip("stella/stella explanatory.png", horizontal=True)
image naser explanatory flip = im.Flip("naser/naser explanatory.png", horizontal=True)
image naomi explanatory flip = im.Flip("naomi/naomi explanatory.png", horizontal=True)
#unimpressed flip
image fang unimpressed flip = im.Flip("fang/basic set/fang unimpressed.png", horizontal=True)
image fang d prom unimpressed flip = im.Flip("fang/prom sets/fang d prom unimpressed.png", horizontal=True)
image reed unimpressed flip = im.Flip("reed/reed unimpressed.png", horizontal=True)
image anon unimpressed flip = im.Flip("anon/base set/anon unimpressed.png", horizontal=True)
image naser unimpressed flip = im.Flip("naser/naser unimpressed.png", horizontal=True)
image trish unimpressed flip = im.Flip("trish/trish unimpressed.png", horizontal=True)
image naomi unimpressed flip = im.Flip("naomi/naomi unimpressed.png", horizontal=True)
image stella unimpressed flip = im.Flip("stella/stella unimpressed.png", horizontal=True)
image trish future unimpressed flip = im.Flip("trish/trish future unimpressed.png", horizontal=True)
image fangdad unimpressed flip = im.Flip("fangparents/fangdad unimpressed.png", horizontal=True)
image fangmom unimpressed flip = im.Flip("fangparents/fangmom unimpressed.png", horizontal=True)
#annoyed flip
image naser annoyed flip = im.Flip("naser/naser annoyed.png", horizontal=True)
image trish annoyed flip = im.Flip("trish/trish annoyed.png", horizontal=True)
#embarrass flip
image fang embarrass flip = im.Flip("fang/emotive set/fang embarass.png", horizontal=True)
#hiding flip
image fang hiding flip = im.Flip("fang/emotive set/fang hiding.png", horizontal=True)
#indignant flip
image trish prom indignant flip = im.Flip("trish/trish prom indignant.png", horizontal=True)
#surprised flip
image fang surprised flip = im.Flip("fang/basic set/fang surprised.png", horizontal=True)
#other flips
image spears happy flip = im.Flip("spears/spears happy.png", horizontal=True)
image fang flip off happy flip = im.Flip("fang/emotive set/fang flip off happy.png", horizontal=True)
image fang ear cover flip = im.Flip("fang/emotive set/fang ear cover.png", horizontal=True)
image anon monkey flip = im.Flip("anon/Other/anon monkey.png", horizontal=True)
image rosa prom closed flip = im.Flip("rosa/rosa prom closed.png", horizontal=True)
image reed sunglasses flip = im.Flip("reed/reed sunglasses.png", horizontal=True)
image trish prom bass flip = im.Flip("trish/trish prom bass.png", horizontal=True)
image trish smug flip = im.Flip("trish/trish smug.png", horizontal=True)
image rosa future flip = im.Flip("rosa/rosa future.png", horizontal=True)
image jinflip = im.Flip("other/jin.png", horizontal=True)
image farnsworth flip = im.Flip("other/farnsworth.png", horizontal=True)
image carldelewski flip = im.Flip("other/carldelewski.png", horizontal=True)
image fangdad unimpressed flip = im.Flip("fangparents/fangdad unimpressed.png", horizontal=True)
image black = "#000"
#WAOH ITS THE TITLE SCREEN!!!!
label splashscreen:
$ persistent.splashtype = random.randint(0,2000 - 1)
$ renpy.movie_cutscene("images/intros/CaveManonProductions.webm")
if persistent.autoup:
python:
UpdateCheck()
if persistent.updateresult != "No new version is available":
updater.update(persistent.updateWebServer, force=True)
stop sound
return
#Custom Vars for positions
transform scenter:
xalign 0.5 yalign 0.0
transform sleft:
xalign 0.0 yalign 0.0
transform sright:
xalign 1.0 yalign 0.0
#Stella
transform stcenter:
xalign 0.5 yalign 0.1
transform stleft:
xalign 0.0 yalign 0.1
transform stright:
xalign 1.0 yalign 0.1
#Anon
transform acenter:
xalign 0.5 yalign 0.1
transform aleft:
xalign 0.0 yalign 0.1
transform aright:
xalign 1.0 yalign 0.1
#Naser
transform ncenter:
xalign 0.6 yalign 0.1
transform nleft:
xalign -0.2 yalign 0.1
transform nright:
xalign 1.9 yalign 0.1
#Fangs mom
transform fmcenter:
xalign 0.5 yalign 0.1
transform fmleft:
xalign 0.0 yalign 0.1
transform fmright:
xalign 1.0 yalign 0.1
#Trish
transform tcenter:
xalign 0.5 yalign 0.1
transform tleft:
xalign 0.0 yalign 0.1
transform tright:
xalign 1.0 yalign 0.1
#Reed and other long tailed dinos
transform rcenter:
xalign 1.2 yalign 0.1
transform rleft:
xalign -0.2 yalign 0.1
transform rright:
xalign 1.7 yalign 0.1
label start:
$ fangscore = 0
$ anonscore = 0
$ tradwife = False
$ wingStory = False
pause 1.0
call storyline