Compare commits

..

2 commits

2 changed files with 36 additions and 24 deletions

View file

@ -313,7 +313,7 @@ Doctor Stanislaus Braun
Director, Societal Preservation Program
Vault-Tec Corporation""",
'Vault 101 - Attachment A': "Vault 101 will not receive a G.E.C.K. module, and should operate under the guidelines laid forth in the Overseer's sealed orders.",
'Vault 101 - Vault-Tec Scientific Entry: The G.E.C.K.": """The G.E.C.K. is, quite simply, the most advanced piece of technology ever developed by Vault-Tec -- a terraforming module capabilityIn-game spelling, punctuation and/or grammar of creating life from complete lifelessness.
'Vault 101 - Vault-Tec Scientific Entry: The G.E.C.K.': """The G.E.C.K. is, quite simply, the most advanced piece of technology ever developed by Vault-Tec -- a terraforming module capability of creating life from complete lifelessness.
After riding out the storm of nuclear Armageddon in a Vault-Tec patented vault, residents can then activate the G.E.C.K., and create a new Earthen paradise -- craters and dust will give way to rolling grasslands and sparkling clear water. Of course, due to time and monetary constraints, not every vault will be equipped with a G.E.C.K. module.""",
'Vault 101 - External Contact Report': """The Vault recently received unexpected radio contact over the governmental Vault-Tec frequency, from an organization calling itself "The Enclave."

View file

@ -34,8 +34,20 @@ def slowWrite(window, text, pause = LETTER_PAUSE, fake_user = False, silent = Fa
"""
if not fake_user and not silent:
addSound("beep")
for i in range(len(text)):
window.addstr(text[i])
width = window.getmaxyx()[1]
texts = {0: text}
if len(text) > width:
while any(len(texts[ind]) > width for ind in texts.keys()):
i = 0;
for ind in texts.keys():
if len(texts[ind]) > width:
break
i += 1
texts[i+1] = f"{texts[i].split()[-1].strip()}{' '+texts[i+1].strip() if texts.get(i+1) else ''}\n"
texts[i] = ' '.join(texts[i].split()[:-1]).strip() + '\n'
for txt in texts.values():
for i in range(len(txt)):
window.addstr(txt[i])
window.refresh()
curses.napms(pause)
if fake_user and not silent: