added buff multipliters, deleted the title screens

master
Jaka Perovšek 2021-10-11 00:57:36 +02:00
parent 4d163ad0f1
commit 0a40b5c403
8 changed files with 33 additions and 13 deletions

View File

@ -178,13 +178,6 @@ def prepare_images(data, config):
logging.info(f"copying other images")
shutil.copy("./source/images/boombox.png", "./build/boombox.png")
if config["use_ita"]:
shutil.copy("./source/images/sunken_tapes_titletext_ita.png",
"./build/sunken_tapes_titletext_ita.png")
else:
shutil.copy("./source/images/sunken_tapes_titletext_vanilla.png",
"./build/sunken_tapes_titletext_vanilla.png")
def build_xml_code(data, config):
logging.info(f"calculate the value that lets you use the songs n-times")

View File

@ -5,8 +5,6 @@
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/icons.png" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/covers.png" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/boombox.png" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/sunken_tapes_titletext_ita.png" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/sunken_tapes_titletext_vanilla.png" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/music/08080_canyons_joyride.ogg" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/music/08080_minor_threat.ogg" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/music/bedouin.ogg" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 837 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 772 KiB

View File

@ -175,7 +175,7 @@
<LargeFont file="Content/Fonts/NotoSans/NotoSans-ExtraBold.ttf" size="22"/>
-->
<TitleText color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" pressedcolor="255,255,255,255">
<Sprite texture="Mods/Sunken Tapes/sunken_tapes_titletext_ita.png" sourcerect="0,520,1024,328" tile="false" maintainaspectratio="true">
<Sprite texture="Mods/IntoTheAbyss/ita_titletext.png" sourcerect="0,520,1024,328" tile="false" maintainaspectratio="true">
</Sprite>
</TitleText>
{% for tape in tapes %}

View File

@ -175,7 +175,9 @@
<LargeFont file="Content/Fonts/NotoSans/NotoSans-ExtraBold.ttf" size="22"/>
-->
<TitleText color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" pressedcolor="255,255,255,255">
<Sprite texture="Mods/Sunken Tapes/sunken_tapes_titletext_vanilla.png" sourcerect="0,520,1024,328" tile="false" maintainaspectratio="true">
<Sprite texture="Content/UI/titleText.png" sourcerect="0,520,1024,328" tile="false" maintainaspectratio="true">
<override language="Traditional Chinese" texture="Content/UI/titleText.png" sourcerect="0,176,1024,343" />
<override language="Simplified Chinese" texture="Content/UI/titleText.png" sourcerect="0,176,1024,343" />
</Sprite>
</TitleText>
{% for tape in tapes %}

View File

@ -154,7 +154,7 @@
<sound file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/music/{{ tape.identifier }}.ogg" type="OnUse" range="1000" loop="true" volume="1.0" />
</StatusEffect>{% if tape.buffs %}
<StatusEffect type="Always" target="NearbyCharacters" range="1000">{% for buff in tape.buffs %}
{% if buff == "psychosis" %}<Affliction identifier="{{ buff }}" strength= "{{ '%0.4f' % (delta + 0.1) }}" />{% else %}<Affliction identifier="{{ buff }}" strength= "{{ '%0.4f' % (delta*4 + 1) }}" />{% endif %}{% endfor %}
{% if buff == "psychosis" %}<Affliction identifier="{{ buff }}" strength= "{{ '%0.4f' % (tape.buff_multiplier*(delta + 0.1)) }}" />{% else %}<Affliction identifier="{{ buff }}" strength= "{{ '%0.4f' % (tape.buff_multiplier*(delta*4 + 1)) }}" />{% endif %}{% endfor %}
</StatusEffect>{% endif %}
<StatusEffect type="OnNotContained" targettype="This">
<Remove />

View File

@ -16,6 +16,7 @@
buffs:
- strengthen
- haste
buff_multiplier: 0.75
- identifier: dmxcut
name: DMX Carnage Cut
@ -35,6 +36,7 @@
buffs:
- strengthen
- haste
buff_multiplier: 1.0
- identifier: ddt
name: Dragostea Din Tei
@ -54,6 +56,7 @@
sold: [true, false, false, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: java
name: Kenny Larkin - Java
@ -73,6 +76,7 @@
sold: [false, false, true, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: dm
name: Menace Ruine - Dark Mother
@ -91,6 +95,7 @@
no_of_uses: 1
buffs:
- psychosis
buff_multiplier: 0.65
- identifier: swgd
name: Sewer Goddess - Chained To The Edge Of Existence
@ -109,6 +114,7 @@
no_of_uses: 1
buffs:
- psychosis
buff_multiplier: 0.75
- identifier: urfaust
name: Urfaust - Die Kalte Teufelsfaust
@ -127,6 +133,7 @@
no_of_uses: 1
buffs:
- psychosis
buff_multiplier: 0.65
- identifier: rainbowstalin
name: Rainbow Stalin
@ -147,6 +154,7 @@
no_of_uses: 6
buffs:
- strengthen
buff_multiplier: 0.25
- identifier: nazare
name: Альянс - На заре
@ -166,6 +174,7 @@
sold: [false, true, true, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: shanty1
name: Doodle Let Me Go
@ -185,6 +194,7 @@
sold: [true, false, false, false, true] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: shanty2
name: Rolling Down To Old Maui
@ -204,6 +214,7 @@
sold: [true, false, false, false, true] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: rum
name: 15 Men and a Bottle of Rum
@ -223,6 +234,7 @@
sold: [true, false, false, false, true] # outpost, city, research, military, mine
no_of_uses: 4
buffs: False
buff_multiplier: 0.5
- identifier: biosphere
name: Biosphere - Daphnis 26
@ -242,6 +254,7 @@
sold: [false, false, true, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: bedouin
name: Bedouin - Set The Control For The Heart Of The Sun
@ -261,6 +274,7 @@
sold: [false, true, false, false, false] # outpost, city, research, military, mine
no_of_uses: 4
buffs: False
buff_multiplier: 0.5
- identifier: hardbass
name: Hardbass
@ -281,6 +295,7 @@
no_of_uses: 6
buffs:
- strengthen
buff_multiplier: 0.35
- identifier: ira
name: Come out and Fight
@ -300,6 +315,7 @@
sold: [false, false, false, false, true] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: tha
name: Aphex Twin - Tha
@ -319,6 +335,7 @@
sold: [false, false, true, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: immigrantsong
name: Led Zeppelin - Immigrant Song
@ -336,6 +353,7 @@
sold: [false, false, false, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: redoctober
name: The Hunt for Red October
@ -355,6 +373,7 @@
sold: [false, false, false, true, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: shoegazeprincessa
name: Шугейз-принцесса
@ -374,6 +393,7 @@
sold: [false, true, true, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: rusija
name: УБИЙЦЫ - Россия
@ -393,6 +413,7 @@
sold: [false, true, false, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: schritte_08080
name: Inka - Schritte (08080 remix)
@ -407,6 +428,7 @@
no_of_uses: 6
buffs:
- psychosis
buff_multiplier: 0.25
- identifier: schritte
name: Inka - Schritte
@ -424,6 +446,7 @@
sold: [false, true, false, false, false] # outpost, city, research, military, mine
no_of_uses: 6
buffs: False
buff_multiplier: 0.5
- identifier: wacky_tape
name: Neznani Rock Fotri
@ -437,6 +460,7 @@
sold: [false, false, false, false, false] # outpost, city, research, military, mine
no_of_uses: 1
buffs: False
buff_multiplier: 0.5
- identifier: 08080_minor_threat
name: 08080 - Minor Threat
@ -452,6 +476,7 @@
sold: [false, false, true, false, false] # outpost, city, research, military, mine
no_of_uses: 3
buffs: False
buff_multiplier: 0.5
- identifier: 08080_canyons_joyride
name: 08080 - Canyon's Joyride
@ -467,6 +492,7 @@
sold: [false, true, false, false, false] # outpost, city, research, military, mine
no_of_uses: 3
buffs: False
buff_multiplier: 0.5
- identifier: sigma
name:
@ -484,4 +510,5 @@
sold: [false, false, false, true, false] # outpost, city, research, military, mine
no_of_uses: 1
buffs:
- psychosis
- psychosis
buff_multiplier: 0.25