UPDATE:
Ya no voy a actualizar esto. Hay demasiados cambios que seguir. En su lugar, escribiré un script para recuperar funciones según el nivel de init, y poco más.
Esta página explica todos los niveles de init que usamos en MAS, y sirve como una línea temporal útil de los eventos de arranque.
NOTA: Aunque antes listábamos functions/vars/constants/imports, ya no vamos a hacerlo. Se seguirá listando cada evento de init, pero se dará solo información resumida en lugar de detalles. (Si aplica)
Los niveles de init van de -999 a 999. Es posible usar niveles por debajo o por encima de esos límites, pero renpy recomienda no hacerlo.
Python early ocurre incluso antes de -999, y sucede antes de que se cargue persistent.
En general
Eventframewok creard in early.- Logging puede be done después de -990. Data verification funciones puede be usard después de -990.
persistents are backed up at -900.persistents are también limpiared of usarless daas.- Time travel is detected at -890.
- Data migration puede happen at -897.
- Data verification occurs at -895.
- Bad actualización archivos de a failed actualización are limpiared at -894.
- DelayedActions puede be built después de -880.
- Pre-añadiring DelayedActions puede happen después de -880.
- DelayedAction creation funciones need a be definird antes de -875
- Hisarical daas saving happens at -800.
- The bloquear db puede be usard después de -500.
- Docking Station puede be usard después de -45.
- Affection's numerical value puede be cargared después de -10.
- Monika imágenes puede be built después de -5.
- Databases are mapaped a codes y añoestablece are limpiared at 4.
- All temas are creard at 5.
- EV funciones puede be usard después de 6.
- Upfecha migration mapaeo is establecerup at 9.
- Upfecha scripts ejecutar at 10.
- Affection funciones puede be usard después de 20.
- JSON-based sprites are cargared at 190.
- Selectable daas is cargared de persistent at 200.
- Images are built at 500.
- Overlays puede be hidden/mostrarn/habilitard/deshabilitard después de 501.
- Piano JSON are cargared at 800.
- DelayedAction tiempo de ejecución mapa is cargared at 994.
- Init-stage DelayedActions are ejecutar at 995.
- Late actualización scripts are ejecutar at 999.
QUICKLINKS
levels
- early
- -999
- -990
- -985
- -950
- -900
- -897
- -895
- -894
- -890
- -880
- -875
- -876
- -860
- -850
- -816
- -815
- -810
- -800
- -750
- -600
- -500
- -150
- -101
- -100
- -45
- -21
- -20
- -11
- -10
- -9
- -5
- -4
- -3
- -2
- -1
- 0
- 1
- 2
- 4
- 5
- 9
- 10
- 11
- 15
- 20
- 21
- 100
- 189
- 190
- 200
- 205
- 500
- 501
- 790
- 800
- 810
- 899
- 900
- 970
- 994
- 995
- 999
Ahora vamos con los niveles de init reales.
early
global (definitions)
The Event, MASButtonDisplayable, MASQuipList y MASMailbox clases are definird here.
Además básicamente el Event framewok.
imports
singletondatetime
constants
MAS_MONIKA_Z- zoder para Monika displayMAS_BACKGROUND_Z- zoder para bg displayEV_ACT*- EV action constantees + lista of esos constantees
classes
Event- base clase that represents básicamente every temaMASButtonDisplayable- base displayable that puede act as a butan in personalizado displayablesMASQuipList- quip manager clase para easy quip management. No se usa mucho, but puede do aleaario label launching nicelyMASMailbox- async communication auxiliar para comms entre objeas. Users debería extend este raelr than usar directly.MASLinearForm- clase a represent línear funciones. usard in clickzonesMASEdge- clase a represent an line con 2 points (edge). usard in clickzonesMASClickZone- polygon zone that react if clicked in. Capable of usyo an arbitrary lista of verticies.MASInteractable- base clase para all interactble displayables that usar clickzones
mas_ev_data_ver (event-handler)
Declares all verification funciones
imports
__builtin__datetime
global (event-handler)
Flowcomprobar (FC) constantees are definird here
constants
MAS_FC_*- flowcomprobar constantees y lista of elm para DelayedAction framewok
global (zz_backup)
Does persistent comprueba y deshabilita backup system si es necesario.
-999
global (definitions)
establece not_finite_loop comprobaring a 120 seconds en lugar de 60.
Además crea el log carpeta if it doesn't exist.
imports
os
_mas_dm_dm (zz_dm)
Contains all funciones as well as el actual daas versión para daas migrations. All daas migration funciones debería be here.
imports
store
-990
mas_utils (definitions)
Coe utility funciones are definird here
imports
storeosstatshutildatetimecodecsplatformtimeexpanduserdeos.pathLogFilederenpy.log
functions
clean_gui_text- limpia gui text by removing clave symbolscopyfile- copia archivos de one location a anoelrgetMASLog- obtiene el appropriate log archivo a usar para logginglogrotate- does a log rotation para a dado logpdget- Protected Dict GET. obtiene an item de a diccionario con protections para Nones y suchtrydel- intenta eliminar a archivo at a pathtryparsedt- intenta analizar a string ina a fechatiempotryparseint- intenta analizar a value ina an inttrywrite- intenta write a archivowritelog- writes messages a mas log
-985
global (definitions)
Various impotante global funciones
functions
mas_getAbsenceLength- obtiene tiempo difference entre actual session start y el last session end. always devuelve adatetime.timedeltamas_getCurrSeshStart- obtiene el actual session start. always devuelve adatetime.datetimemas_getFirstSesh- obtiene el first session fechatiempo. always devuelve adatetime.datetimemas_getLastSeshEnd- gest el last session end. always devuelve adatetime.datetimemas_getSessionLength- obtiene length of el actual session. always devuelve adatetime.timedeltamas_isFirstSeshPast- comprueba if first session is past a dado fechamas_TTDetected- comprueba if tiempo travel was detected
-950
mas_ev_data_ver (event-handler)
Declares curried verify objeas
imports
store
-900
mas_affection (script-affection)
Affection constantees y base funciones
constants
BROKEN- broken aff stateDISTRESSED- distressed aff stateUPSET- upestablecer aff stateNORMAL- nomal aff stateHAPPY- happy aff stateAFFECTIONATE- aff aff stateENAMORED- enamoed aff stateLOVE- love aff state_aff_order- affection states in el "natural oder" of affection, de lowest a highest_aff_level_map- mapa of affection states, usard in validations._aff_cascade_map- affection states in a mapa that routes an affection state a el next state closest a NORMAL_affg_order- affection group states in el "natural oder" of affection, de lowest a highest_affg_cascade_map- affection group states in a mapa that routes an affection group a el next group state cloest a G_NORMAL
global (script-holidays)
Deletes christmas.rpy rpyc.
global (zz_backup)
Runs el persistent backup system. All code here is no está pensado para uso en tiempo de ejecución.
imports
- os
- mas_utils
mas_ics (zz_dockingstation)
Initializes imagen compruebaums y archivo mapaea para decoding imágenes at tiempo de ejecución
imports
os
-897
global (zz_dm)
Data migration that happens después de backup. Data versiónes debería be establecer
-895
mas_ev_data_ver (event-handler)
Verifies persistent event daas
-894
global (updater)
limpia bad actualización archivos
-890
mas_globals (script-ch30)
tiempo travel is detected
imports
datetimestore
vars
tt_detected- True si tiempo travel was detected. This is limited a comprobaring if we went back in tiempo.
-880
global (event-handler)
Sets up el MASDelayedAction framewok base.
vars
persistent._mas_delayed_action_list- static lista ofMASDelayedActionids. inicializard if Nonemas_delayed_action_map- tiempo de ejecución mapa ofMASDelayedActions
classes
MASDelayedAction- clase usard para el DelayedAction framewok
functions
mas_removeDelayedAction- funciones usard para removing/dequeing DelayedActionsmas_runDelayedAction- intenta ejecutar DelayedActionsmas_addDelayedAction- funciones usard para añadiring/poner en colaing DelayedActions
mas_delact (event-handler)
Declares a especial función para añadiring MASDelayedAction ids early in el pipeline.
imports
store
functions
_MDA_safeadd- especial función para early añadiring ofMASDelayedAction. Nomal usarrs debería usar el approved añadir/eliminar funciones en lugar de este._MDA_saferm- especial función para early removing ofMASDelayedAction. Nomal usarrs debería usar el approved añadir/eliminar funciones en lugar de este.
-876
En general, all MASDelayedAction construcar funciones are built here.
mas_delact (script-greetings)
Contains MASDelayedAction construcar funciones para saludos
mas_delact (script-holidays)
Contains MASDelayedAction construcar funciones para festivo events
mas_delact (script-islands-event)
Contains MASDelayedAction construcar funciones para el islys event
mas_delact (script-story-events)
Contains MASDelayedAction construcar funciones para el cumple events. Además contiene el action callables para esos MASDelayedActions.
-875
mas_delact (event-handler)
Contains a mapa mapaeo MASDelayedAction creation funciones a IDs.
Becausar of este, all MASDelayedAction creation funciones need a be creard antes de este init level.
imports
datetime
-860
mas_history (zz_history)
Declares principal hisary guardarr funciones y constantees, as well as some persistents
imports
storedatetime
constants
L_FOUND- found daas in el archivesL_NO_YEAR- did not find año in el archivesL_NO_KEY- did not find clave in el archives
functions
addMHS- añade aMASHistorySaverobjea a el base de daas.getMHS- retrieves aMASHistorySaverobjea basado en ID
-850
global (zz_history)
Declares público hisary guardarr funciones y el principal clase
classes
MASHistorySaver- hisary saving objea that auamates daas migration as well as oelr things
functions
mas_HistLookup- looks up daas in el archivesmas_HistLookup_k- clave-centric versión ofmas_HistLookupmas_HistLookup_ot- looks up daas in el archives, over multiple añosmas_HistLookup_otl- looks up daas in el archives, dado a lista of añosmas_HistLookup_otl_k- clave-centric versión ofmas_HistLookup_otlmas_HistVerify- comprueba if some daas matches what was sared in el archives at one point. (comprueba multiple años)mas_HistVerify_k- clave-centric versión ofmas_HistVerify
-816
MASDelayedAction callbacks puede be definird here, but it's better a definir elm closer a where ely are needed.
-815
mas_history (script-holidays)
Where programming points para MASHistorySaver objeas para festividades are definird.
mas_history (zz_history)
Where programming points para MASHistorySaver objeas puede be definird.
imports
_MDA_safeadd, _MDA_safermdemas_delact
-810
Most MASHistorySaver objeas are creard here.
global (script-holidays)
Creates el MASHistorySaver objea para o31, d25, nye, cumple del jugado, f14
global (zz_history)
Creates el MASHistorySaver objea para player model variableiables y cumple.
-800
mas_history (zz_history)
Runs el MASHistorySaver algoithm.
-750
mas_threading (zz_threading)
Declares el MASAsyncWrapper clase
imports
threading
classes
MASAsyncWrapper- clase that does nicely abstracted multithreading / async funciones
-600
mas_delact (event-handler)
imports
- store
-500
global (event-handler)
Initializes el LOCK DB potion of el Event framewok.
vars
mas_init_lockdb_template- bloqueardb template (designed a be modified when añadiring properties)persistent._mas_event_init_lockdb- actual base de daas para bloquear daas. Initialized if Nonepersistent._mas_event_init_lockdb_template- sared bloqueardb template (usard a comprobar if properties have been añadired a el Event framewok)Event.INIT_LOCKDB- establece este a el bloquear base de daas
mas_dockstat (zz_dockingstation)
inicializa clave dockstat constantees
constants
blocksize- irl bbloqueaize we debería be usyo para any archivo I/Ob64_blocksize- irl bbloqueaize we debería be usyo para archivo I/O con base64 encoded archivosMAS_PKG_*- Monika status constanteesMAS_SBD_*- Monika surprise party constantees
-150
mas_selspr (zz_selector)
Selecar rules debería be definird here
-101
mas_sprites (sprite-chart)
ACSTemplates are definird here
-100
mas_utils (definitions)
Initializes utility funciones, principally ones not needed super early
imports
datetimectypesrandomcStringIO.StringIO
functions
add_years- fecha asoloaring funciónadd_months- fecha asoloaring funciónam3- takes a fechatiempo objea y devuelve it con tiempo establecido en 3amlog_entry- logs hisarical entries ina el dado logmdnt- takes a fechatiempo objea y devuelve it con tiempo establecido en medianochenormalize_points- nomalizes a lista of points con offestablecesod- takes a fechatiempo objea y devuelve it con tiempo establecido en el "start of día"randomblob- generates a aleaario blob of daas in a StringIO buffertryparsefloat- attempts parsing a value ina a float
global (splash)
comprueba if el DDLC archives are in el game carpeta.
mas_selspr (zz_selector)
establece up prompt mapa
imports
storemas_utils
functions
get_prompt- obtiene prompt para a selecar tema mediante clavein_prompt_map- comprueba if a prompt selecar exists para a claveset_propmt- establece prompt para a selecar tema mediante clave
-45
global (zz_dockingstation)
Initializes el DockingStation framewok.
imports
os
vars
mas_docking_station- instance ofMASDockingStation, centered around el characters carpeta
classes
MASDockingStation- clase designed para easy base64 archivo i/o + compruebaums. (think giving archivos y taking Monika out)
-21
mas_sprites_json (zz_sprites_json)
Defines clave constantees y mapaea para JSON-based sprites
-20
mas_background (zz_backgrounds)
declara clave MASBackground cargaring/saving funciones.
NOTA: MASBackground is foolishly declarard later in el pipline so do not call anything in here until después de -10.
global (zz_selector)
Declares selectable clases.
classes
MASSelectableAccessory- Selectable clase para accessoiesMASSelectableHair- Selectable clase para hairMASSelectableClothes- Selectable clase para cloels
mas_weather (zz_weather)
Impotant clima daas + clima programming points
imports
randomdatetimestore
constants
WEATHER_MAP- base de daas of clima objeas
functions
loadMWData- carga clima daas de persistentsaveMWData- guarda clima daas a persistentntunlockedWeathers- devuelve number of desbloqueared clima itemsweatherProgress- changes clima para progressive clima if appropriate
-11
mas_o31_event (script-holidays)
Sets up el o31 event variableiables y imagen decoder
imports
storemas_dockstatmas_ics
vars
o31_cg_station- MASDockingStation instance centered around el o31 cg carpetao31_cg_decoded- True si we decoded el cg, False en caso contrariomas_return_from_tt- True si we solo devolvered de el Trick/Treat despedida
functions
decodeImage- decodes a specific cg imagenremoveImages- elimina all cg imágenesisMonikaInCostume- True si Monika is in costume, False en caso contrarioisTTGreeting- True si we have a saludo type associated con a Trick/Treat despedidaspentO31- True si usarr spent o31 con el player, False si no
global (script-holidays)
1 función
functions
mas_player_bday_curr- establece fecha of actual año cumple, accounting para leap año
mas_player_bday_event (script-holidays)
Image funciones
functions
show_player_bday_Visuals- muestra cumple del jugado visualshide_player_bday_Visuals- oculta cumple del jugado visuals
mas_island_event (script-islands-event)
Sets up el isly event imagen decoder función
imports
storemas_dockstatmas_ics
vars
islands_station- MASDockingStation instance centered around el islys carpeta
functions
decodeImages- decodes isly imágenesremoveImages- elimina isly imágenes
mas_dockstat (zz_dockingstation)
establece up imagen decoder funciones
imports
mas_utils
functions
decodeImages- generic imagen decoderremoveImages- generic imagen eliminarr
mas_filereacts (zz_reactions)
Sets up el archivo reactions framewok
imports
storemas_utilsdatetimerandom
vars
filereact_db- File reactionEventbase de daasfilereact_map- mapaeo archivonames a archivo reaction events.foundreact_map- volitaile mapa contenering reactable archivonames a on disk archivonames.th_foundreact_map- threaded variableiant offoundreact_mapconnectors-MASQuipListof connecars para archivo reactionsgift_connectors-MASQuipListof gift connecars para archivo reactions
functions
addReaction- añade a archivo reaction (este is internoizado, elre is a global variableiant)
-10
All Date-related funciones debería be init'd here. Please move elm here si aún no done so.
global (script-affection)
Declares affection cargaring/saving funciones.
mas_apology (script-apologies)
Apology base de daas is inicializard here
global (script-ch30)
Initializtion of mas_idle_mailbox (el idle mailbox)
vars
mas_idle_mailbox- el idle mailbox
mas_fun_facts (script-fun-facts)
fun-fact base de daas y types
global (script-holidays)
Date comprobaring funciones para festividades
functions
mas_isO31- determines if el dado fecha is o31mas_isD25- determines if dado fecha is d25mas_isD25Eve- determines if dado fecha is d25 evemas_isD25Season- determines if dado fecha is in d25 seasonmas_isD25Post- determines if dado fecha is in d25 season but después de d25mas_isD25PreNYE- determines if dado fecha is in d25 season but antes de nyemas_isD25PostNYD- determines if dado fecha is in d25 season but después de nydmas_isD25Gift- determines if dado fecha is in range of días where gifts puede be considered d25 giftsmas_isD25Outfit- determines if dado fecha is in range of días where Monika wears el santa outfitmas_isNYE- determines if dado fecha is nyemas_isNYD- determines if dado fecha is nydmas_isplayer_bday- determines if dado fecha is player birthdíamas_isF14- determines if dado fecha is f14
global (script-islands-event)
Decodes imágenes.
vars
- mas_puedenot_decode_imágenes - True si we failed a decode el imágenes, False en caso contrario
mas_songs (script-songs)
song base de daas definird hre
global (updates)
establece up some flags usard by el actualizaciónr. esas things are sobre ado legacy para updating de super antiguo versiónes.
vars
- found_monik_ani - True means
persistent.Monika_anniversary is establecer. super antiguo - no_temas_lista - True means we no have el antiguo aleaario temas lista. ya no es realmente impotantee.
global (zz_backgrounds)
Defines el MASBackground clase
mas_calendar (zz_calendar)
calendar constantees
constants
- CAL_TYPE_* - calendar Event types
mas_hotkeys (zz_hotkeys)
state variableiables para enabling certain funciones
vars
- allow_dismiss - True habilita dismissing, False deshabilita
functions
- allowdismiss - devuelve state of allow_dismiss
mas_interactions (zz_interactions)
Key funciones y constantees para interactables
mas_selspr (zz_selector)
Declares selection pantalla constantees y funciones, y el selectable mailbox clase. Además generic selecar dialgoue
global (zz_transforms)
solo one thing. el imagen existence comprobarer
functions
- obtenerCharacterImage - retrieves el Displayable of a character + expression
mas_windowreacts (zz_windowreacts)
initial variableiables y base de daas
vars
can_show_notifs- True si we puede mostrar notifs, False if we puedenot
-9
global (zz_interactions)
MASBoopInteractable definird here, but unusard.
-5
mas_sprites (sprite-chart)
Declares all el funciones y constantees usard para DynamicDisplayable creation
constants
NOTA: There are lots of constantees here. Only including el ones that might need a be changed often.
* POSES - lista of non-leaning poses
* L_POSES - lista of leaning poses
* SP_ACS - sprite code para ACS (pulled de sprite json)
* SP_HAIR - sprite code para HAIR (pulled de sprite json)
* SP_CLOTHES - sprite code para CLOTHES (pulled de sprite json)
* EXPROP_TOPIC_MAP - mapaea an exprop a lista of related temas
* ACSTYPE_TOPIC_MAP - mapaea asc type a its selecar tema
vars
lean_acs_blacklist- lista of accessoies that debería deshabilitar leaning
functions
NOTA: elre are lots of imagen generation funciones here. Only including funciones that might be usard fuera de here.
* init_acs - inicializa an accessoy para later usar. required para all accessoies
* init_hair - initalizes a hairestilo para later usar. required para all hairestilos
* init_clothes_ - inicializa cloels para later usar. required para all cloels
* tryparsehair - comprueba if el dado hair string exists
* tryparseclothes - comprueba if el dado cloels string exists
* rm_acs - elimina an acs de el mapa
* lock_exprop_topics - bloquea temas related a an exprop
* lock_acstype_topics - bloquea temas related a an acs type
* unlock_exprop_topics - desbloquea temas related a an exprop
* unlock_acstype_topics - desbloquea temas related a an acs type
* get_sprite - devuelve sprite objea dado sprite name y sprite type
-4
global (zz_poemgame)
inicializa some poemagame clases y funciones
classes
- MASPoemWod - versión of PoemWod that includes Monika
- MASPoemWodList - encapsulates MASPoemWods ina a lista
functions
- glitchWod - glitches el dado text con odds para space / unicode. better a usar giltchtext para fully glitched text.
-3
mas_piano_keys (zz_pianokeys)
inicializa lots of backing framewok para el piano game + menús
imports
- pygame
- os
constants
NOTA: contiene a huge amount of constantees. None are really usarful fuera de piano. Solo voy a mencionar somewhat impotante ones here. * NOTE_SIZE - controls how many notes are played antes de we try matching when not in SONG_MODE
vars
- log - log purely para piano claves. No usar unless its piano related.
- pnml_db - PianoNoteMatchList principal base de daas. Used a mostrar what songs puede be played
- pnml_bk_db - PianoNoteMatchList backup base de daas. Used para song matching in freeestilo.
classes
- PianoNoteMatch - represents a note phrase + lyrics in piano
- PianoNoteMatchList - represents a lista of PianoNoteMatches (aka a song) in piano
functions
NOTA: contiene a huge amount of funciones needed para JSON convertiring. None are usarful fuera de piano.
-2
mas_anni (script-anniversary)
Declares auxiliar anniversary build funciones
NOTA: contiene a pointer copia a persistent
imports
evhandmas_calendarmas_utilsdatetime
functions
build_anni- builds an anniversary fecha usyo elfirst_sessionfechatiempo y el dado advancersbuild_anni_end- same asbuild_anni, except obtiene el ending fechatiempo of an anniversaryisAnni- comprueba if el adía is an anniversary, usyo el dado milesaneisAnniWeek- comprueba if adía is a 1 week anniversaryisAnniOneMonth- comprueba if adía is a 1 mes anniisAnniThreeMonth- comprueba if adía is a 3 mes anniisAnniSixMonth- comprueba if adía is a 6 mes anniisAnniAny- comprueba if adía is any annianniCount- devuelve how many años el player has been con MonikapastOneWeek- True si player has been con Monika para at least 1 weekpastOneMonth- True si player has been con Monika para at least 1 mespastThreeMonths- True si player has been con Monika para at least 3 messpastSixMonths- True si player has been con Monika para at least six mess
mas_topics (script-topics)
Initializes tema-related constantees y auxiliar funciones
constants
- S_MOST_SEEN - percentage of seen temas. usard in calculations para dividing temas ina el seen groups. think of este as a percentage of el collection.
- S_TOP_SEEN - percentage of seen temas considered a be el most often seen. usard in calculations para dividing temas ina seen groups. think of este as an upper percentile.
- S_TOP_LIMIT - if el percentage of temas that fall under S_TOP_SEEN percentile is greater than este amount, eln we usar el S_MOST_SEEN percentage in dividing temas ina seen groups.
- UNSEEN - probabilidad out of 100 that we select an unseen tema
- SEEN - probabilidad out of 100 that we select an already seen tema
- MOST_SEEN - probabilidad out of 100 that we select a tema that has is considered over-seen
global (sprite-chart)
Initializes MASMonika character objea para hair/clothing/acs framewok
imports
mathnamedtuple(UNUSED)
classes
MASMonika- represents de Monika cloels y hair y accessoiesMASPoseMap- auxiliar clase para mapaeo poses a imágenes.MASSpriteBase- base clase para all objea-represented sprite estableceMASSpriteFallbackBase- base clase para all objea-represented sprite establece that puede usarMASPoseMapas a fallback systemMASAccessory- clase representation of an accessoyMASHair- clase representation of a hairestiloMASClothes- clase representation of cloels
functions
mas_drawmonika- drawing función usard para DynamicDisplayables
mas_sprites (sprite-chart)
Programming points para sprites
imports
store
mas_background (zz_backgrounds)
prog points para MASBackgrounds debería be definird here
mas_poemgame_fun (zz_poemgame)
Poemgame-related funciones initalized here Everything here is suitable solo para el poemagame, so not going a mention elm here.
mas_sprites (zz_spriteobjects)
general-usar progpoints
-1
_mas_root (definitions)
contiene very powerful funciones. not para el faint of heart
imports
storedatetime
functions
glitchtext- copia of el existing glitchtext función. This was antes de I knuevo aboutstoremangleFile- mangles a archivo by messing con its bytesresetPlayerData- reestablecepersistentdaas. pretty dangerousinitialSessionData- reestablece session daas a po defeca
global (definitions)
básicamente 4 billion arranque-related stuff. Mostly small things that no go anywhere else. Además is where some base clavemapa stuff is establecer (not personalizado clavemapaea).
imports
datetimeos
functions
get_procs- retreives lista of ejecutarning processes if on windowsis_running- comprueba if a process in el dado lista of process names is actually ejecutarningis_file_present- comprueba if a archivo is presentmas_cvToDHM- convierte miniutes ina a displayable param of hour / minutesmas_cvToHM- convierte minutes ina hour / minutesmas_genDateRange- generates a lista of fechas conin a dado range (exclusive)mas_isSTtoAny- comprueba if a tiempo objea is conin a suntiempo amount y an hour / minute amountmas_isSRtoAny- comprueba if a tiempo objea is conin amanecer y an hour / minute amountmas_isSStoAny- comprueba if a tiempo objea is conin atardecer y an hour / minute amountmas_isAnytoST- comprueba if a tiempo objea is conin an hour / minute amount y a suntiempo amountmas_isAnytoSR- comprueba if a tiempo objea is conin an hour / minute amount y amanecermas_isAnytoSS- comprueba if a tiempo objea is conin an hour / minute amount y atardecermas_isMNtoSR- comprueba if a tiempo objea is wtihin medianoche a amanecermas_isSRtoN- comprueba if a tiempo objea is conin amanecer a mediodíamas_isNtoSS- comprueba if a tiempo objea is conin mediodía a atardecermas_isSStoMN- comprueba if a tiempo objea is conin sunestablecido en medianochemas_isSunny- comprueba if a tiempo objea is conin amanecer a atardecermas_isNight- comprueba if a tiempo objea is not conin amanecer a atardecerget_pos- obtiene position of actually playing musicdelete_all_saves- elimina all guardard games. (básicamente usarless)delete_character- elimina a character archivo. (básicamente usarless)pause- seems a be a variableiant of pausar? unsure of usageenumerate_steam- devuelve installed Steam IDs de a steam install. Untested, unusard, probably buggy
evhand (event-handler)
Event menú constantees y clave funciones. también contiene some Event base de daass
imports
storenamedtupledatetime
constants
LAST_SEEN_DELTA- tiempo delta usard para determining if a tema has been seen recentlyRESTART_BLKLST- lista of temas that debería NOT be apilared a el event stack on a restart if ely were interrupted.IDLE_WHITELIST- lista of labels that are allowed in idle
vars
event_database-Eventbase de daas of principal temas (aleaario + pool)farewell_database-Eventbase de daas of despedidasgreeting_database-Eventbase de daas of saludos
functions
addIfNew- añade items a a lista of ely are not in elre alreadyaddYearsetBlacklist- añade an event label a el añoestablecer blacklistaisYearsetBlacklisted- comprueba if an event label is añoestablecer blacklistaedtuplizeEventLabelList- takes a lista of claves y anEventbase de daas y devuelve a (prompt, label) lista suitable para menú displaying- internoizado versiónes of
isFuture/isPresent/isPast(Eventfecha comparison funciones) - internoizado versiónes of
hideEvent*/lockEvent*/unlockEvent*(EasyEventhiding / bloquearing / desbloquearing funciones)
global (event-rules)
Initialzes static clases usard para creating rule tuples para Events
imports
datetimemas_utils
constants
EV_RULE_...- rule type identifiers para el rule diccionarios in Event objeasEV_NUM_...- numerical repeat rule constantees + lista of elm
classes
MASNumericalRepeatRule- crea / modifies / comprueba numerical repeat rules. aka repeat every x días/weeks/mess/añoMASSelectiveRepeatRule- crea / modifies / comprueba selective repeat rules. aka repeat when adía matches este fecha/tiempo criteriaMASGreetingRule- crea / modifies / comprueba saludo rules. These are para deciding aleaario probabilidad of a saludo y/o debería skip visualsMASFarewellRule- crea / modifies / comprueba despedida rules. These are para deciding aleaario probabilidad of a despedidaMASAffectionRule- crea / modifies/ comprueba affection rules. These are usard a determine if despedidas debería be mostrarn NOT UNLOCKEDMASPriorityRule- gives Events prioity values. Usage may variabley.MASUndoActionRule- allows events a undo changes a eliractionproperty when fuera a fecha rangeMASStripDatesRule- clearsstart_dateyend_datede events when fuera a fecha range
mas_pong (pong)
Contains some label constantees para pong. Nothing here would be usarful fuera de pong. These are principally a help con label replacing API, but este is a bad idea para efficiency, so probably no follow este paradigm. There is a renpy-native way of label mapaeo/replacing, so we debería usar that para API purposes.
global (screens)
layout variableiables para el confirm quit sacarup, pantallas, y pantalla estilos NOTA: pantallas y estilos here are done mediante init_offestablecer rules
vars
- layout.QUIT_YES - message mostrarn when usarr hits yes a el confirm quit sacarup
- layout.QUIT_NO - message mostrarn when usarr hits no a el confirm quit sacarup
styles
NOTA: a large amount of estilos. Not going a put elm here.
screens
NOTA: large amount of pantallas here. Solo voy a mencionar el personalizado / impotante ones. * preferences - este is where we añadir personalizado establecertings * twopane_scrollable_menú - el double paned scrollable menú, usard in the Talk menú * scrollable_menú - single paned scrollable menú. Not generalized, so no usar este * mas_gen_scrollable_menú - generalized scrollable menú. Use este * mas_background_tiempod_jump - pantalla usard a do tiempod menús * mas_generic_restart - a very generic retart menú. paragot what este is para
classes
- PausarDisplayable - personalizado Displayable that acts as a much better pausar
mas_affection (script-affection)
Audit log para el affection system.
imports
- os
- datetime
- mas_utils
- store
functions
audit- función para affection change auditing
mas_globals (script-ch30)
Meant a initalize globals. no se usa realmente though.
vars
dlg_workflow- True si we are in el middle of dialogue, False en caso contrarioshow_vignette- True si we debería mostrar el vignette mask everywhere, False means do not mostrarshow_lightning- True si we debería mostrar lightning during idle, False means do not mostrarlightning_chance- 1 out of x probabilidad that lightning will mostrar during idlelightning_s_chance- 1 out of x probabilidad that el sayoi lightning egg will mostrar during idleshow_s_light- True si we mostrar el sayoi thunder egg, False si notext_speed_enabled- True si text speed is habilitard, False si noin_idle_mode- True si in idle mode, False si nolate_farewell- True si a late despedida solo happenedlast_minute_dt- last minute calendar-related events were comprobaredlast_hour- number of el hour we last ranch30_hourlast_day- number of el día we last ranch30_dayreturned_home_this_sesh- True si este session started con a devolver home
mas_compliments (script-compliments)
inicializa compliment menú constantees, el compliment base de daas, y compliment quips
vars
- compliment_base de daas -
Eventbase de daas of compliments - thanking_quips - single line quips usard a thank player para compliments
mas_farewells (script-farewells)
Sets up el despedida selection función
functions
- selectFarewell - selects el despedida a usar. This does un montón de algoithm stuff.
mas_greetings (script-greetings)
Sets up saludo types y el saludo selection función
imports
store.mas_ev_data_verasmas_edvstoredatetimerandom
constants
TYPE_...- saludo type constantees
functions
selectGreeting- selects a saludo a usar. This does un montón de algoithm stuff
global (script-introduction)
No esay seguro de po qué esa está aquí.
imports
- mas_affection
global (script-holidays)
festivo funciones
mas_moods (script-moods)
mood constantees / base de daas / funciones
constants
- TYPE_* - mood types
vars
- mood_db -
Eventbase de daas para moods
functions
- obtenerMoodType - obtiene el mood type para a dado mood label
mas_ptod (script-python)
Creates el console para python teaching
imports
- mas_utils
constants
NOTA: all constantees in here are purely para el console. No usage fuera de este sare.
functions
- clr_cn - shot variableiation of clear console función
- ex_cn - shot variableiation of exit console función
- rst_cn - shot variableiation of restart console función
- w_cmd - shot variableiation of write commy función
- x_cmd - shot variableiation of execute commy función
- wx_cmd - does both writing y executing of a commy
- write_commy - writes a commy a el console. Does NOT execute
- clear_console - clears el console hisary el actual line
- restart_console - clears console hisary, actual line, también displays el versión text
- exit_console - deshabilita el console
- exec_commy - executes el actually written commy. like pressing Enter
- obtener_last_line - obtiene last line de console hisary
mas_stories (script-stories)
sary constantees y base de daas
imports
store
vars
story_database-Eventbase de daas of saries
global (script-topics)
funciones base a el tema selection algoithm. Además seeds aleaario.
imports
randomsongsevhand
functions
remove_seen_labels- elimina labels that have already been seen de el dado listamas_randomSelectAndRemove- aleaariamente selects an element de el dado lista y elimina it de el listamas_randomSelectAndPush- likemas_randomSelectAndRemove, but también apila el event a el stackmas_insertSort- insertion sot an item ina a listamas_splitSeenEvents- splits a lista of seen events ina seen y most seenmas_splitRandomEvents- splits diccionario of events ina seen y unseenmas_buildEventLists- builds el unseen / seen / most seen event listaasmas_buildSeenEventLists- builds el seen / most seen event listaasmas_rebuildEventLists- rebuilds el unseen / seen / most seen event listaas
global (updater)
Creates el personalizado displayable actualizaciónr pantalla
classes
- MASUpfecharDisplayable - personalizado displayable that does better actualización comprobaring than el sack actualización comprobar pantalla
global (updates_topics)
one función
functions
- clearUpfechaStructs - elimina actualización daas a guardar space
global (zz_backgrounds)
el po defeca spaceroom is definird as a MASBackground here.
global (zz_calendar)
Initializes calendar displayable
imports
- json
classes
- MASCalendar - displayable that allows para a selectable calendar o a viewing calendar
mas_calendar (zz_calendar)
Calendar base de daas y funciones para it
imports
- datetime
- json
- renpy
vars
- calendar_base de daas - complicated diccionario of diccionarios para saring calendar events. See el code para moe info.
functions
- genFriendlyDispDate - crea display friendly fecha/tiempo de a fechatiempo (its a bit moe complicated than that though)
- guardar/cargarCalendarDatabase - saving y cargaring
- añadirEvent* - funciones para añadiring Events a el calendar
- añadirRepeatable* - funciones para añadiring Repeatables a el calendar
- eliminarEvent* - funciones para removing Events de el calendar
- eliminarRepeatable* - funciones para removing Repeatables de el calendar
global (zz_graphicsmenu)
crea el personalizado graphics menú displayable
classes
MASGraphicsMenu - personalizado displayable para changing el render
mas_hangman (zz_hangman)
inicializa some hangman constantees
imports
storecopyrandom
constants
MONI_WORDS- lista of Monika's wodsEASY_MODE- constante para easy hangman modeNORM_MODE- constante para nomal hangman modeHARD_MODE- constante para hard hangman mode
vars
hm_words- diccionario of actual selectable wods by difficultyall_hm_words- diccionario of all hangman wods by difficulty
hkb_button (zz_hotkey_buttons)
state variableiables para butan enabling
vars
- talk_habilitard - True habilita talk butan, False deshabilita
- music_habilitard - True habilita music butan, False deshabilita
- play_habilitard - True habilita play butan, False deshabilita
- movie_butans_habilitard - True habilita play butan, False deshabilita (unusard)
mas_hotkeys (zz_hotkeys)
state variableiables para hotclave enabling
vars
talk_enabled- True habilita talk hotclave, False deshabilitamusic_enabled- True habilita music hotclave, False deshabilitaplay_enabled- True habilita play hotclave, False deshabilitaderandom_enabled- True habilita dealeaarioing, False deshabilitabookmark_enabled- True habilita bookmarking, False deshabilitamu_stop_enabled- True habilita music volume lowering / sapping hotclaves, False deshabilitano_window_hiding- True deshabilita window hiding, False habilita
songs (zz_music_selector)
establece up music funciones y el music menú
imports
- os
- mutagen.mp3
- mutagen.oggopus
- mutagen.oggvorbis
constants
NOTA: all song names y archivopaths are constantees here (official songs, not personalizado songs) * PAGE_LIMIT - number of songs per page
vars
- actual_track - actually playing song
- selected_track - last selected track
- menú_open - True si el music menú is open, False en caso contrario
- music_choices - contiene el music lista
- music_pages - paginated music lista
functions
- asoloarVolume - asoloa volume of an audio channel
- obtenerVolume - obtiene volume of an audio channel
- obtenerPlayingMusicName - obtiene el name of el actually playing song
- initMusicChoices - inicializa el music menú
- isInMusicList - comprueba if a song is in the music menú lista
global (zz_selector)
Declares displayable para selectables
imports
random
classes
MASSelectableImageButtonDisplayable- displayable para an imagen butan that is associated con selectable.
functions
mas_filterUnlockGroup- desbloquea a selecar para a group if it passes certain criteria
global (zz_sprite_objects)
inicializa MASAccessory, MASHair, y MASClothes objeas
global (zz_weather)
Weaelr objeas are declarard here. We también cargar clima daas.
0
Este se considera el nivel de init por defecto cuando no se indica ningún número.
Además, este nivel de init cubre:
- default statements
- define statements
- pantallas (unless changed by init offestablecer)
- labels (unless changed by init offestablecer)
- estilos (unless changed by init offestablecer)
- transparams (unless changed by init offestablecer)
mas_chess (chess)
inicializa chess constantees. None are usarful fuera de here.
global (definitions)
inicializa a an of stuff. No voy a listaarlas aquí since elre's solo ao many
functions (key ones)
NOTE: we debería move esas out of here. init 0 debería be avoided para all funciones.
* mas_passedILY
* mas_ILY - establece ILY variableiables
* mas_shouldKiss
config (definitions)
inicializa some config variableiables
audio (definitions)
all sack audio is definird here. Rain is añadired a este sare as well.
mas_suntime (definitions)
suntiempo-related constantees y variableiables are definird here
times (definitions)
tiempos usard in idle exp calcs
xp (definitions)
constantees para amount of XP gained para things
global (event-handler)
inicializa impot Event related funciones
imports
- evhand
- datetime
functions
addEvent- añade anEventobjea a anEventbase de daas. Coe función usard para everyEventinit.mas_hideEvent- bloquea/dealeaarios/depools/deconditionals an eventmas_hideEventLabel- same as above but para an event labelmas_showEvent- desbloquea/aleaarios/pools an eventmas_showEventLabel- same as above but para an event labelmas_lockEvent- bloquea an eventmas_lockEventLabel- same as above but para an event labelmas_unlockEvent- desbloquea an eventmas_unlockEventLabel- same as bove but para an event label- global versiónes of isFuture/isPresent/isPast funciones
pushEvent- apilar an Event a el Event stackqueueEvent- pone en cola an Event a el Event stackpopEvent- saca el next Event de el stack.seen_event- comprueba if an Event has been seen o is actually in el Event stackrestartEvent- apila an interuppted Event back ona el Event stack if its not in el blacklistamas_isRstBlk- comprueba if el dado label is part of el blacklistamas_cleanJustSeen*- funciones para limpiaring an Event lista of things that were seen recentlymas_unlockPrompt- intenta desbloquear a Pool Eventmas_findEVL- obtiene index of an eventlabel in el event listamas_inEVL- comprueba if an eventlabel is in el event listamas_rmEVL- elimina an event label de el event listamas_rmallEVL- elimina all occurrences of an event label de event lista
global (import_ddlc)
1 función lol
functions
- dumpPersistentToFile - does what it says
config (options)
clave configuration variableiables
gui (options)
clave gui variableiables
build (options)
build establecertings
preferences (options)
clave preferences
global (pong)
pong's displayable as well as oelr pong-stuff
imports
- random
- math
classes
- PongDisplayable - displayable that ejecuta pong
global (progression)
clave funciones para xp system
functions
- grant_xp - give some experience
- obtener_level - devuelve el usarr's actual level
global (screens)
a couple of funciones
functions
- RigMousar - aka el mousar movement glitch
- FinishEnterName
- FileActionMod - muestra that guardar dialogue thing
mas_layout (screens)
Inits constantees para layout asoloarments, y some auxiliar funciones para elm ao
imports
- store
- mas_affection
constants
NOTA: este makes a montón de constantees, solo voy a mencionar impotante ones here * QUIT_MAP - mapaeo of affection levels a what elir QUIT messages debería be
global (script-affection)
affection state variableiables, el final despedida displayable, surprise text code
vars
mas_curr_affection- actual affection statemas_curr_affection_group- actual affection state group
classes
- MASFinalNoteDisplayable - displayable para el final despedida poema
global (script-apology)
solo apology related funciones
functions
mas_checkApologies- comprueba apologies y elimina antiguo ones
global (script-ch30)
Very wide variableiety of things. Kind of like definitions 2. Además retrieves actualusarr, comprueba playername variableiables, comprueba para battery sopote, registers el background audio channel. Solo voy a mencionar some of el stuff here.
imports
- subprocess
- os
- eliza
- datetime
- battery
- re
- songs
hkb_buttonmas_globals
vars
morning_flag- True si it's actually mañana, False si no. este is moe like a previous state variable.
functions
show_dialogue_box- jumps a el talk menúpick_game- jumps a Play menúmas_enable_quitbox- habilita Monika's quit dialogue warningmas_disable_quitbox- deshabilita Monika's quit dialogue warningmas_enable_quit- habilita quitting sin Monika knowingmas_disable_quit- deshabilita quitting sin Monika knowingmas_drawSpaceroomMasks- draws el appropriate window masksshow_calendar- muestra el calendar. este is el callback para clicking el calendar butanslow_dismiss- callback para when Monika talksmas_isMorning- comprueba if it's actually mañanamas_shouldRain- comprueba if it debería rain basado en actual affectionmas_forceRain- paraces rain art, sounds, y bloquea rain temasmas_lockHair- bloquea hair temasmas_resetIdleMode- reestablece idle mode variableiablesmas_enableTextSpeed- habilita text speedmas_disableTextSpeed- deshabilita text speedmas_resetTextSpeed- habilita o deshabilita text speed depending on environment variableiablesmas_isTextSpeedEnabled- devuelve True si text speed is habilitard, False si nomas_isGameUnlocked- comprueba if dado game is desbloquearedmas_unlockGame- desbloquea el dado gamemas_shouldChangeTime- comprueba if we debería change a día o nochemas_check_player_derand- comprueba guardard dealeaario prefs y dealeaarios esos temas
gmr (script-greetings)
Stuff related a el Listen option in el opendoo saludo
vars
- eardoo - lista of unseen (o all) Listen options
eardoor_all- lista of all el Listen options
opendoor (script-greetings)
Stuff related a el opendoo saludo
constants
MAX_DOOR- I no remember what este is parachance- 1 out of x probabilidad este saludo will appear
global (script-topics)
bookmark y dealeaario funciones
functions
mas_derandom_topic- dealeaarios a temamas_bookmark_topic- bookmarks a temamas_hasBookmarks- comprueba if we have bookmarked temas
global (shake)
We no usar este
global (splash)
Splash messages are definird here
global (sprite-chart)
All of de Monika imágenes are definird here
mas_coffee (sprite-chart)
Coffee-related variableiables are definird here
mas_updater (updater)
inicializa a montón de actualizaciónr related stuff
constants
- regular - actualización link
- unstable - unstable link
- tiempoout - tiempoout para actualización comprobaring
vars
- parace - establecido en True a parace an actualización comprobar
functions
- comprobarUpfecha - comprueba para an actualización usyo Renpy's actualización comprobarer
global (updates)
funciones related a actualización script migrations
functions
- eliminarTopicID - unsees a tema if it has been seen
mas_eraseTopic- elimina an Event de its persistent base de daas y bloquear dbmas_transferTopic- transfers an Event's daas y bloquear db daas a anoelr Eventmas_transferTopicSeen- transfers an Event's seen daas a anoelr Event- asoloarTopicIDs - elimina / transfers an Event's seen status
- actualizaciónTopicIDs - actualizaciones a diccionario of Event's seen statusa
- actualizaciónGameFrom - ejecuta actualización scripts in el proper oder
updates (updates_topics)
mapaeo system para actualización script migrations
vars
version_updates- diccionario that mapaea a versión a its next actualización versióntopics- diccionario that mapaea a versión a el tema asoloarments it requires
global (zz_calendar)
declara some tiempo de ejecución funciones, añade Repeatables a el calendar.
imports
- mas_calendar
functions
mas_calDropOverlayShield- habilita input para el calendar superposiciónmas_calHideOverlay- oculta el calendar superposiciónmas_calIsVisible_ovl- comprueba if el calendar superposición is visiblemas_calRaiseOverlayShield- deshabilita input para el calendar superposiciónmas_calShowOverlay- muestra el calendar superposición, si aún no mostraring
mas_dockstat (zz_dockingstation)
not base, but still impotante funciones
imports
storecPickle
functions
setMoniSize- does some calculating a figure out el appropriate Monika archivosize
global (zz_hotkeys)
básicamente all el hotclave-related funciones are here. I'm solo listaing el público ones.
functions
mas_HKRaiseShield- deshabilita el t/m/p hotclavesmas_HKDropShield- habilita el t/m/p hotclavesmas_HKIsEnabled- comprueba if el t/m/p hotclaves are habilitardmas_HKCanQuietMusic- comprueba if we puede lower o sap el musicenable_esc- habilita el game menú / escape clave (mediantequick_menu)disable_esc- deshabilita el game menú / escape clave (mediantequick_menu)set_keymaps- inicializa el clavemapaea
global (zz_hotkey_buttons)
inicializa tiempo de ejecución hotclave butan funciones, as well as muestra el butans
functions
HKBHideButtons- oculta el butansHKBShowButtons- muestra el butansmas_HKBRaiseShield- deshabilita el butansmas_HKBDropShield- habilita el butansmas_HKBIsEnabled- comprueba if el butans are habilitardmas_HKBIsVisible- comprueba if el butans are visibleMovieOverlayHideButtons- oculta movie butansMovieOverlayShowButtons- muestra movie butans
global (zz_music_selector)
declars music-related funciones
imports
- songs
functions
dec_musicvol- decreases music channel volumeinc_musicvol- increases music channel volumemute_music- mutes music channelplay_song- plays a song ona el music channelmas_startup_song- starts playing elpersistent.actual_trackselect_music- ejecuta el music selection menú
mas_poems (zz_poems)
definir poemaas base de daas
global (zz_shields)
definir shield funciones
functions
mas_DropShield_core- habilita base interactionsmas_RaiseShield_core- deshabilita base interactionsmas_DropShield_dlg- habilita dialogue-breaking interactionsmas_RaiseShield_dlg- deshabilita dialogue-breaking interactionsmas_DropShield_mumu- habilita music-menú-breaking interactionsmas_RaiseShield_mumu- deshabilita music-menú-breaking interactionsmas_DropShield_idle- habilita idle-breaking interactionsmas_RaiseShield_idle- deshabilita idle-breaking interactionsmas_MUMUDropShield- habilita el music menúmas_MUMURaiseShield- deshabilita el music menúmas_dlgToIdleShield- transitions entre dlg y idle modemas_coreToIdleShield- transitions entre base y idle modemas_mumuToIdleShield- transitions entre music menú y idle mode
global (zz_reactions)
Public versiónes of some clave reaction funciones
functions
addReaction- añade archivo reactionsmas_checkReactions- comprueba archivo reactionsmas_getSpriteObjInfo- obtiene sprite info de sprite reactions listamas_finishSpriteObjInfo- limpiarup actions para sprite reactions
global (zz_weather)
funciones para rolling clima probabilidads
functions
shouldRainToday- comprueba if it debería rain adía
global (zz_windowreacts)
comprueba para window reactability
imports
ossys- windows solowin32gui- windows solowin32api- windows soloballoontip- nix solo
vars
win_notif_quips- notification quips para windowsother_notif_quips- notification quips para nix
functions
mas_canCheckActiveWindow- comprueba if we puede comprobar el active windowmas_getActiveWindow- obtiene el active window namemas_isFocused- comprueba if MAS is actually focusardmas_isInActiveWindow- comprueba if clavewods are in el active window namemas_clearNotifs- clears notifications that we generatedmas_checkforWindowReacts- comprueba if a windowreaction debería occur y pone en cola itmas_resetWindowReacts- desbloquea window reactions in window react dbmas_updateFilterDict- actualizaciones filter diccionariomas_addBlacklistReactmas_removeBlacklistReactmas_notifsEnabledforGroup- comprueba si noifications are habilitard para a groupmas_unlockFailedWRS- desbloquea a window react if it failed a be mostrarnmas_tryShowNotificationOSX- trys a mostrar a notification on macmas_tryShowNotificationLinux- trys a mostrar a notification on linux
1
mas_chess (chess)
huge number of chess constantees, chess dialogue variableiables, as well as chess comprobaring funciones. Además inicializa el dialogue actions mapa y el chess quiplistaas
imports
oschess.png
vars
quit_game- habilita quitting a chess match
functions
isInProgressGame- comprueba if a pgn game is valid y in progress
global (defintions)
Properly establece persistent.steam
mas_randchat (definitions)
Sets up el aleaario chatter funciones y constantees
functions
adjustRandFreq- asoloa aleaario chatter frequency dado a slider valuegetRandChatDisp- convierte aleaario chatter frequency ina a display string
evhand (event-handler)
Coe action funciones para Event's usage. All of este stuff debería be interno solo.
2
global (definitions)
Creates coffee related funciones, también variableious oelr funciones
functions
mas_brewCoffee- starts brewing coffeemas_drinkCoffee- starts drinking coffeemas_isCoffeeTime- comprueba if its coffee tiempomas_resetCoffee- reestablece coffee variableiablesmas_canShowRisque- comprueba if we puede mostrar risque contentmas_getPlayerAge- obtiene el player agemas_getRPYFiles- obtiene lista of rpy archivos in el game dirmas_hasRPYFiles- comprueba if elre are rpy archivos in el game dirmas_is18Over- comprueba if el player is over 18mas_isFirstSeshDay- comprueba if dado fecha is el first session fechamas_pastOneDay- comprueba if a one día has passed since a dadodatetime.dateodatetime.datetimemas_timePastSince- comprueba if a dado amount of tiempo passed since a dadodatetime.dateodatetime.datetime
global (script-affection)
Creates el final despedida poema
4
global (definitions)
makes el mas_randchat sare globally available
global (event-handler)
Maps event base de daass a codes y limpia añoestablecer baclkist
functions
mas_lastSeenInYear- comprueba if an event label was last seen in a dado añomas_lastSeenLastYear- comprueba if an event label was last seen last año
mas_gtod (script-grammar)
grammar tip auxiliar funciones
imports
datetimeevhand
functions
has_day_past_tip- comprueba if a tip has been seen y a día has past
global (script-holidays)
Poems are definird here
global (script-islands-event)
asoloar islys flag if needed
mas_ptod (script-python)
declara auxiliar funciones para python tips
imports
datetimeevhand
functions
has_day_past_tip- comprueba if a tip has been seen y a día has pasthas_day_past_tips- multiple arg versión of above función
global (updates)
Runs pre-script temas actualización code. Not really usard
mas_calendar (zz_calendar)
calendar funciones y season establecerting
functions
addSeasonEvents- añade seasons a calendar
5
En este nivel de init se crea cada tema. Evita usar este nivel de init para cualquier otra cosa. También usamos este init para generar las notas de copia de seguridad.
6
global (event-handler)
Creates all event base de daas, también clave funciones
functions
mas_getEV- obtiene an event objea mediante labelmas_getEVCL- solo para calendar usar.mas_hideEVL- oculta an event, usyo a code a determine base de daasmas_lockEVL- bloquea an event, usyo a code a determine base de daasmas_showEVL- muestra an event, usyo a code a determine base de daasmas_stripEVL- strips conditional y action de an event, también elimina de event listamas_unlockEVL- desbloquea an event, usyo a code a determine base de daas`
9
global (updates_topics)
Runs el label that inicializa el updates sare con actualización mapaeo daas.
10
mas_anni (script-anniversary)
Sets up anniversary base de daas as well as clave anniversary asoloaring funciones
constants
ANNI_LIST- lista of anniversaries in oder of potential appearance
vars
anni_db-Eventbase de daas para anniversaries
functions
_month_adjuster- asoloa mess para a nuevo start fecha_day_adjuster- asoloar días para a nuevo start fechaadd_cal_annis- añade anniversaries a el calendarclean_cal_annis- limpia anniversaries de el calendarreset_annis- reestablece all anniversaries usyo a nuevo start fechaunlock_past_annis- desbloquea all anniversaries that are past el actual fecha
global (script-greetings)
This is solo para el Listen option para el saludos. It elimina seen labels y does reestablece si es necesario.
global (updater)
Declares el background actualización comprobar función
functions
mas_backgroundUpdateCheck- launches el background actualización comprobar thread
global (updates)
Runs el versión actualización migration scripts.
global (zz_hangman)
Inits el wodlistaas para hangman
songs (zz_music_selector)
establece music_volume a el actual volume of el music channel
global (zz_music_selector)
Properly establece el personalizado music direcary, actual track y el available music choices.
global (zz_poems)
definir MASPoem clase
global (zz_weather)
Weaelr clase
classes
MASWeather- clima objea clase
11
global (script-topics)
Initializes el seen listaas. They are not built until later.
vars
mas_rev_unseen- lista of unseenEventsmas_rev_seen- lista of seenEventsmas_rev_mostseen- lista of most seenEvents
mas_poems (zz_poems)
definir clave poema-realted funciones
15
mas_affection (script-affection)
Contains all el affection programming points, el logic a ejecutar esos programming points, y wrapper funciones around el base affection state comparaars.
Además inicializa el variableiying talk / play menú quips
NOTA: Makes a reference copia of el persistent
NOTA: Makes a reference copia of el layout sare.
imports
storeevhandmas_layout
functions
NOTA: Most of esas are programming points. No need a lista elm here
* runAffPPs - ejecuta el affection state programming points
* runAffGPPs - ejecuta el affection state group programming points
20
global (script-affection)
Declares all el globally available affection funciones y poemaas
imports
datetimemas_affectionmas_utils
vars
mas_apology_reason- el reason a apologize
functions
mas_FreezeGoodAffExp- freezes affection gainsmas_FreezeBadAffExp- freezes affection lossesmas_FreezeBothAffExp- freezes affection gains y lossesmas_UnfreezeGoodAffExp- unfreezes affection gainsmas_UnfreezeBadAffExp- unfreezes affection lossesmas_UnfreezeBothAffExp- unfreezes affection gains y lossesmas_betweenAff- comprueba if affection is entre 2 statesmas_compareAff- compare-a función para comparing affection statesmas_compareAffG- compare-a función para comparing affection group statesmas_isMoniBroken- comprueba if actual affection is broken (o lower/higher)mas_isMoniDis- comprueba if actual affection is distressed (o lower/higher)mas_isMoniUpset- comprueba if actual affection is upestablecer (o lower/higher)mas_isMoniNormal- comprueba if actual affection is nomal (o lower/higher)mas_isMoniHappy- comprueba if actual affection is happy (o lower/higher)mas_isMoniAff- comprueba if actual affection is affectionate (o lower/higher)mas_isMoniEnamored- comprueba if actual affection is enamoed (o lower/higher)mas_isMoniLove- comprueba if actual affection is love (o lower/higher)mas_isMoniGSad- comprueba if actual affection group is sad (o lower/higher)mas_isMoniGNormal- comprueba if actual affection group is nomal (o lower/higher)mas_isMoniGHappy- comprueba if actual affection group is happy (o lower/higher)mas_updateAffectionExp- establece el affection states a el corect value y ejecuta affection programming points when appropriatemas_gainAffection- increases affectionmas_loseAffection- decreases affectionmas_setAffection- establece affection a a valuemas_checkAffection- apila an appropriate event basado en affection levelmas_setApologyReason- habilita an apology_mas_getAffection- obtiene raw affection value_mas_getBadExp- obtiene bad aff exp establecerting_mas_getGoodExp- obtiene good aff exp establecerting_mas_getTodayExp- gest adía aff exp establecerting
21
mas_sprites_json (zz_spritejsons)
Initializes clave sprite json related constantees
imports
jsonstoremas_utils
constants
SP_ACS- sprite type para ACSSP_HAIR- sprite type para hairSP_CLOTHES- sprite type para cloelsSP_CONSTS- tuple of all spriet typesSP_STR- sprite type a string name mapaeo (para debug usar)SP_UF_STR- sprite type usarr friendly string name mapaeoSP_PP- sprite type a prog point paramatSP_RL- sprite type a reaction label paramat
vars
giftname_map- mapaea giftnames a sprite type y namenamegift_map- mapaea sprite type y name a giftname
100
global (screens)
establece up el appropriate layout variableiables para ui text
global (zz_calendar)
declars a función para asoloaring el conditional of el start fecha Event
functions
mas_chgCalEVul- literally solo changes conditional para el state fechaEvent
189
mas_sprites_json (zz_spritejsons)
json parsing funciones
imports
mas_spritesassmsmas_selsprassml
190
mas_sprites_json (zz_spritejsons)
Checks para JSON sprites y añade elm
200
mas_dockstat (zz_dockingstation)
Declares de Monika dockingstation función
imports
storecStringIOosmas_greetingsmas_icsmas_spritesevhandrandomdatetimethreading
functions
generateMonika- generates Monika's nuevo character archivofindMonika- finds de Monika character archivoinit_findMonka- find Monika, init versiónparseMoniData- analiza Monika character archivo daas ina componentsselectReturnHomeGreeting- picks an appropriate saludo if we are devolvering Monika a characters carpetadiffCheckTimes- devuelve a tiempodelta difference entre last comprobarin/comprobarout tiempospackageCheck- moe generic package comprobaring función that puede do eielrsignForPackageycreatePackageSlipcheckinMonika- comprueba Monika ina el docking stationcheckoutMonika- comprueba Monika out of el docking stationgetCheckTimes- obtiene a coresponding comprobarin/comprobarout tiempo para a dado compruebaum
mas_selspr (zz_selector)
Loads selectable daas.
205
mas_dockstat (zz_dockingstation)
Declares async promises.
imports
mas_threading
vars
monikagen_promise-MASAsyncWrapperobjea para generation Monikamonikafind_promise-MASAsyncWrapperobjea para finding Monika
functions
abortGenPromise- specifically abots el generation promise in case we aboted it.
500
All imágenes are built at este init level.
501
global (zz_overlays)
Declares superposición-related funciones
functions
mas_OVLDropShield- habilita all superposición pantallasmas_OVLHide- oculta all superposición pantallasmas_OVLRaiseShield- deshabilita all superposición pantallasmas_OVLShow- muestra all superposición pantallas
790
mas_piano_keys (zz_pianokeys)
Hantiguos el funciones para añadiring JSON songs a piano
imports
json
functions
addSong- añade a song a elPianoNoteMatchListbase de daasaddCustomSongs- analiza el personalizado song carpeta para songs y añade elm a elPianoNoteMatchListbase de daasaddStockSongs- añade a preestablecer lista of songs a elPianoNoteMatchListbase de daas
800
global (zz_backgrounds)
background changing funciones
mas_piano_keys (zz_pianokeys)
Adds el sack y personalizado songs a el PianoNoteMatchList base de daas. Además declara a función para generating el piano song menú.
functions
getSongChoices- generates a lista of tuples para el piano song selection menú
global (zz_reactions)
Deletes archivos of reactions that failed a be eliminard.
global (zz_weather)
Global clima funciones, as well as establecerting el initial clima
functions
mas_setWeather- establece el clima sin calling exit programming pointsmas_changeWeather- establece el clima calling both entry exit programming points
810
global (zz_pianokeys)
Creates el piano displayable
imports
mas_piano_keys
classes
PianoDisplayable- displayable that ejecuta el piano
functions
pnmlLoadTuples- cargaPianoNoteMatchListdaas depersistentina coresponding objeas in elPianoNoteMatchListbase de daaspnmlSaveTuples- guardaPianoNoteMatchListdaas inapersistentde coresponding objeas in elPianoNoteMatchListbase de daas
899
global (chess)
inicializa el chess quiplista
900
En general, aquí se construyen todas las funciones constructoras de DelayedAction.
global (screens)
Inits el quit messages para layout
970
global (script-ch30)
Checks para: * Monika's archivo * archivo reactions * cumple stuff * o31 stuff
imports
mas_filereacts
994
mas_delact (event-handler)
Sets up el DelayedAction mapa
constants
MAP- Maps DelayedAction IDs a construcar funciones
functions
loadDelayedActionMap- generates el tiempo de ejecución mapa of DelayedActions depersistentsaveDelayedActionMap- guarda el tiempo de ejecución mapa of DelayedActions apersistent
995
global (event-handler)
Runs DelayedActions at el init stage
999
global (updates)
Runs el late actualización scripts