Compare commits
2 commits
abe294749d
...
af025064f4
Author | SHA1 | Date | |
---|---|---|---|
af025064f4 | |||
a1f504858c |
2 changed files with 36 additions and 24 deletions
|
@ -313,7 +313,7 @@ Doctor Stanislaus Braun
|
||||||
Director, Societal Preservation Program
|
Director, Societal Preservation Program
|
||||||
Vault-Tec Corporation""",
|
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 - 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.""",
|
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."
|
'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."
|
||||||
|
|
|
@ -34,8 +34,20 @@ def slowWrite(window, text, pause = LETTER_PAUSE, fake_user = False, silent = Fa
|
||||||
"""
|
"""
|
||||||
if not fake_user and not silent:
|
if not fake_user and not silent:
|
||||||
addSound("beep")
|
addSound("beep")
|
||||||
for i in range(len(text)):
|
width = window.getmaxyx()[1]
|
||||||
window.addstr(text[i])
|
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()
|
window.refresh()
|
||||||
curses.napms(pause)
|
curses.napms(pause)
|
||||||
if fake_user and not silent:
|
if fake_user and not silent:
|
||||||
|
|
Loading…
Reference in a new issue