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") logging.info(f"copying other images")
shutil.copy("./source/images/boombox.png", "./build/boombox.png") 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): def build_xml_code(data, config):
logging.info(f"calculate the value that lets you use the songs n-times") 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 %}/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 %}/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 %}/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_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/08080_minor_threat.ogg" />
<None file="Mods/Sunken Tape{% if config['override_workshop'] %}s{% else %}z{% endif %}/music/bedouin.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"/> <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"> <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> </Sprite>
</TitleText> </TitleText>
{% for tape in tapes %} {% for tape in tapes %}

View File

@ -175,7 +175,9 @@
<LargeFont file="Content/Fonts/NotoSans/NotoSans-ExtraBold.ttf" size="22"/> <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"> <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> </Sprite>
</TitleText> </TitleText>
{% for tape in tapes %} {% 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" /> <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>{% if tape.buffs %}
<StatusEffect type="Always" target="NearbyCharacters" range="1000">{% for buff in 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>{% endif %}
<StatusEffect type="OnNotContained" targettype="This"> <StatusEffect type="OnNotContained" targettype="This">
<Remove /> <Remove />

View File

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