update for among the ancients update

master
Jaka Perovšek 2021-10-28 12:03:58 +02:00
parent 95e85dd57a
commit c7c6c3faa5
6 changed files with 372 additions and 83 deletions

View File

@ -242,7 +242,7 @@ def deploy(config):
prepare_images(data, config)
build_xml_code(data, config)
mod_directory = f"/Mods/{config['slug']}/"
mod_directory = f"/Mods/{config['name']}/"
logging.info(f"removing the old installed mod directory {config['installdir'] + mod_directory}")
rmfulldir(config["installdir"] + mod_directory)

View File

@ -96,7 +96,7 @@ def create_name_frame(container):
if override_workshop.get() == "1":
name.set("Sunken Tapes")
name_entry["state"] = "disable"
slug.set("Sunken Tapes")
slug.set("sunken_tapes")
elif override_workshop.get() == "0":
name.set("Sunken Tapez")
name_entry["state"] = "normal"

View File

@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
{% if config['slug'] != "Sunken Tapes" %}<!--This mod is based on Sunken Tapes. See https://git.kompot.si/jaka/barotrauma-sunken-tapes and https://steamcommunity.com/sharedfiles/filedetails/?id=2616577901 for the source material and code generator.-->{% else %}<!--Code licensed under GPLv3 and generated with a script available at https://git.kompot.si/jaka/barotrauma-sunken-tapes-->{% endif %}
<contentpackage name="{{ config['name'] }}" path="Mods/{{ config['slug'] }}/filelist.xml" gameversion="0.14.9.1" {% if config['slug'] == "Sunken Tapes" %}steamworkshopid="2616577901" {% endif %}corepackage="false">
<Item file="Mods/{{ config['slug'] }}/{{ config['slug'] }}.xml" />
<UIStyle file="Mods/{{ config['slug'] }}/{{ config['slug'] }}_style.xml" />
<None file="Mods/{{ config['slug'] }}/icons.png" />
<None file="Mods/{{ config['slug'] }}/covers.png" />
<None file="Mods/{{ config['slug'] }}/boombox.png" />
<None file="Mods/{{ config['slug'] }}/music/08080_canyons_joyride.ogg" />
<None file="Mods/{{ config['slug'] }}/music/08080_minor_threat.ogg" />
<None file="Mods/{{ config['slug'] }}/music/bedouin.ogg" />
<None file="Mods/{{ config['slug'] }}/music/biosphere.ogg" />
<None file="Mods/{{ config['slug'] }}/music/ddt.ogg" />
<None file="Mods/{{ config['slug'] }}/music/dm.ogg" />
<None file="Mods/{{ config['slug'] }}/music/dmx.ogg" />
<None file="Mods/{{ config['slug'] }}/music/dmxcut.ogg" />
<None file="Mods/{{ config['slug'] }}/music/hardbass.ogg" />
<None file="Mods/{{ config['slug'] }}/music/ira.ogg" />
<None file="Mods/{{ config['slug'] }}/music/immigrantsong.ogg" />
<None file="Mods/{{ config['slug'] }}/music/java.ogg" />
<None file="Mods/{{ config['slug'] }}/music/nazare.ogg" />
<None file="Mods/{{ config['slug'] }}/music/rainbowstalin.ogg" />
<None file="Mods/{{ config['slug'] }}/music/redoctober.ogg" />
<None file="Mods/{{ config['slug'] }}/music/rum.ogg" />
<None file="Mods/{{ config['slug'] }}/music/rusija.ogg" />
<None file="Mods/{{ config['slug'] }}/music/schritte.ogg" />
<None file="Mods/{{ config['slug'] }}/music/schritte_08080.ogg" />
<None file="Mods/{{ config['slug'] }}/music/shanty1.ogg" />
<None file="Mods/{{ config['slug'] }}/music/shanty2.ogg" />
<None file="Mods/{{ config['slug'] }}/music/shoegazeprincessa.ogg" />
<None file="Mods/{{ config['slug'] }}/music/sigma.ogg" />
<None file="Mods/{{ config['slug'] }}/music/swgd.ogg" />
<None file="Mods/{{ config['slug'] }}/music/tha.ogg" />
<None file="Mods/{{ config['slug'] }}/music/urfaust.ogg" />
<None file="Mods/{{ config['slug'] }}/music/wacky_tape.ogg" />
<None file="Mods/{{ config['slug'] }}/sound_effects/boombox_insert_cassette.ogg" />
<None file="Mods/{{ config['slug'] }}/sound_effects/boombox_play_cassette.ogg" />
<None file="Mods/{{ config['slug'] }}/sound_effects/cassette_drop.ogg" />
<contentpackage name="{{ config['name'] }}" path="Mods/{{ config['name'] }}/filelist.xml" gameversion="0.14.9.1" {% if config['slug'] == "Sunken Tapes" %}steamworkshopid="2616577901" {% endif %}corepackage="false">
<Item file="Mods/{{ config['name'] }}/{{ config['slug'] }}.xml" />
<UIStyle file="Mods/{{ config['name'] }}/{{ config['slug'] }}_style.xml" />
<None file="Mods/{{ config['name'] }}/icons.png" />
<None file="Mods/{{ config['name'] }}/covers.png" />
<None file="Mods/{{ config['name'] }}/boombox.png" />
<None file="Mods/{{ config['name'] }}/music/08080_canyons_joyride.ogg" />
<None file="Mods/{{ config['name'] }}/music/08080_minor_threat.ogg" />
<None file="Mods/{{ config['name'] }}/music/bedouin.ogg" />
<None file="Mods/{{ config['name'] }}/music/biosphere.ogg" />
<None file="Mods/{{ config['name'] }}/music/ddt.ogg" />
<None file="Mods/{{ config['name'] }}/music/dm.ogg" />
<None file="Mods/{{ config['name'] }}/music/dmx.ogg" />
<None file="Mods/{{ config['name'] }}/music/dmxcut.ogg" />
<None file="Mods/{{ config['name'] }}/music/hardbass.ogg" />
<None file="Mods/{{ config['name'] }}/music/ira.ogg" />
<None file="Mods/{{ config['name'] }}/music/immigrantsong.ogg" />
<None file="Mods/{{ config['name'] }}/music/java.ogg" />
<None file="Mods/{{ config['name'] }}/music/nazare.ogg" />
<None file="Mods/{{ config['name'] }}/music/rainbowstalin.ogg" />
<None file="Mods/{{ config['name'] }}/music/redoctober.ogg" />
<None file="Mods/{{ config['name'] }}/music/rum.ogg" />
<None file="Mods/{{ config['name'] }}/music/rusija.ogg" />
<None file="Mods/{{ config['name'] }}/music/schritte.ogg" />
<None file="Mods/{{ config['name'] }}/music/schritte_08080.ogg" />
<None file="Mods/{{ config['name'] }}/music/shanty1.ogg" />
<None file="Mods/{{ config['name'] }}/music/shanty2.ogg" />
<None file="Mods/{{ config['name'] }}/music/shoegazeprincessa.ogg" />
<None file="Mods/{{ config['name'] }}/music/sigma.ogg" />
<None file="Mods/{{ config['name'] }}/music/swgd.ogg" />
<None file="Mods/{{ config['name'] }}/music/tha.ogg" />
<None file="Mods/{{ config['name'] }}/music/urfaust.ogg" />
<None file="Mods/{{ config['name'] }}/music/wacky_tape.ogg" />
<None file="Mods/{{ config['name'] }}/sound_effects/boombox_insert_cassette.ogg" />
<None file="Mods/{{ config['name'] }}/sound_effects/boombox_play_cassette.ogg" />
<None file="Mods/{{ config['name'] }}/sound_effects/cassette_drop.ogg" />
</contentpackage>

View File

@ -2,19 +2,19 @@
{% if config['slug'] != "Sunken Tapes" %}<!--This mod is based on Sunken Tapes. See https://git.kompot.si/jaka/barotrauma-sunken-tapes and https://steamcommunity.com/sharedfiles/filedetails/?id=2616577901 for the source material and code generator.-->{% else %}<!--Code licensed under GPLv3 and generated with a script available at https://git.kompot.si/jaka/barotrauma-sunken-tapes-->{% endif %}
<Override>
<style>
<!--
General green highlight color used for elements that are highlighted from code
("thing done successfully" messages, green highlights when placing an item in an inventory slot, full progress bars, etc)
<!--
General green highlight color used for elements that are highlighted from code
("thing done successfully" messages, green highlights when placing an item in an inventory slot, full progress bars, etc)
-->
<Green color="154,213,163,255" />
<!--
General orange highlight color used for elements that are highlighted from code
(half-full progress bars, medium difficulty, etc)
<!--
General orange highlight color used for elements that are highlighted from code
(half-full progress bars, medium difficulty, etc)
-->
<Orange color="243,162,50,255" />
<!--
General red highlight color used for elements that are highlighted from code
(warning messages, red highlights when trying to place an item in an incorrect slot, almost empty progress bars, etc)
<!--
General red highlight color used for elements that are highlighted from code
(warning messages, red highlights when trying to place an item in an incorrect slot, almost empty progress bars, etc)
-->
<Red color="245,105,105,255" />
<Blue color="126,211,224,255" />
@ -24,7 +24,7 @@
<ColorInventoryFull color="96,222,146,255" />
<ColorInventoryBackground color="56,56,56,255" />
<ColorInventoryEmptyOverlay color="125,125,125,255" />
<TextColorNormal color="228,217,167,255" />
<TextColorBright color="255,255,255,255" />
<TextColorDark color="0,0,0,230" />
@ -32,12 +32,12 @@
<!-- Inventory -->
<EquipmentSlotIconColor color="99,70,64,255" />
<!-- Health HUD -->
<BuffColorLow color="144,238,144,255" />
<BuffColorMedium color="0,128,0,255" />
<BuffColorHigh color="0,100,0,255" />
<DebuffColorLow color="233,150,122,255" />
<DebuffColorMedium color="255,0,0,255" />
<DebuffColorHigh color="139,0,0,255" />
<BuffColorLow color="36,91,40,255" />
<BuffColorMedium color="66,170,73,255" />
<BuffColorHigh color="154,213,163,255" />
<DebuffColorLow color="92,52,52,255" />
<DebuffColorMedium color="155,55,55,255" />
<DebuffColorHigh color="228,27,27,255" />
<HealthBarColorLow color="255,0,0,255" />
<HealthBarColorMedium color="255,165,0,255" />
<HealthBarColorHigh color="78,114,88" />
@ -52,6 +52,12 @@
<ColorReputationHigh color="51,152,64,255" />
<ColorReputationVeryHigh color="71,160,164,255" />
<ItemQualityColorPoor color="128,128,128,255" />
<ItemQualityColorNormal color="255,255,255,255" />
<ItemQualityColorGood color="144,238,144,255" />
<ItemQualityColorExcellent color="173,216,230,255" />
<ItemQualityColorMasterwork color="147,112,219,255" />
<Cursor>
<Sprite name="Cursor.Pointer" state="0" texture="Content/UI/UIAtlasGeneral.png" sourcerect="386,483,37,50" origin="0.17,0.1" compress="false" />
<Sprite name="Cursor.Hand" state="1" texture="Content/UI/UIAtlasGeneral.png" sourcerect="523,479,33,42" origin="0.4,0.05" compress="false" />
@ -62,9 +68,12 @@
<Sprite name="Cursor.WaitingBG" state="6" texture="Content/UI/UIAtlasGeneral.png" sourcerect="429,480,39,49" origin="0.17,0.1" compress="false" />
</Cursor>
<UIGlow texture="Content/UI/InnerGlow.png" sourcerect="0,0,512,384" slice="128,128,384,256" />
<PingCircle texture="Content/Items/Command/pingCircle.png" origin="0.5,0.5" />
<Radiation texture="Content/UI/noise.png" sourcerect="0,0,512,512" />
<RadiationAnimSpriteSheet columns="8" rows="2" texture="Content/Map/radiationborder.png"/>
<UIGlowCircular texture="Content/UI/UIAtlasGeneral.png" sourcerect="177,637,170,170" origin="0.5,0.5" tile="false" compress="false" />
<UIGlowSolidCircular texture="Content/UI/UIAtlasGeneral.png" sourcerect="508,898,121,120" origin="0.5,0.5" tile="false" compress="false" />
<UIThermalGlow texture="Content/UI/UIAtlasGeneral.png" sourcerect="631,894,128,128" origin="0.5,0.5" tile="false" compress="false" />´
<FocusIndicator texture="Content/UI/FocusIndicator.png" sourcerect="0,0,448,224" rows="2" columns="4" />
<SavingIndicator texture="Content/UI/saving.png" rows="4" columns="4"/>
<!-- LEGACY
@ -170,6 +179,14 @@
<Size maxresolution="2560,1600" size="14" />
<Size size="16" />
</HotkeyFont>
<MonospacedFont file="Content/Fonts/SourceCodePro-Semibold.ttf">
<Size maxresolution="1024,768" size="12" />
<Size maxresolution="1280,800" size="14" />
<Size maxresolution="1920,1080" size="16" />
<Size maxresolution="2048,1440" size="18" />
<Size maxresolution="2560,1600" size="18" />
<Size size="18" />
</MonospacedFont>
<!-- Covers rest of the languages which Roboto or WorkSans doesn't
<Font file="Content/Fonts/NotoSans/NotoSans-Medium.ttf" size="14"/>
<SmallFont file="Content/Fonts/NotoSans/NotoSans-Bold.ttf" size="12"/>
@ -181,7 +198,7 @@
</TitleText>
{% for tape in tapes %}
<{{ config['slug'] }}_cover_{{ tape.identifier }} color="255,255,255,255" textcolor="0,0,0,255">
<Sprite name="{{ config['slug'] }}_cover_{{ tape.identifier }}" texture="Mods/{{ config['slug'] }}/covers.png" size="0.0, 0.0" sourcerect="0,{{ loop.index0*328 }},512,328" origin="0.5,0.5" compress="false" tile="false"/>
<Sprite name="{{ config['slug'] }}_cover_{{ tape.identifier }}" texture="Mods/{{ config['name'] }}/covers.png" size="0.0, 0.0" sourcerect="0,{{ loop.index0*328 }},512,328" origin="0.5,0.5" compress="false" tile="false"/>
</{{ config['slug'] }}_cover_{{ tape.identifier }}>{% endfor %}
<ita_document1 color="255,255,255,255" textcolor="0,0,0,255">
@ -190,6 +207,9 @@
<InnerGlow color="255,255,255,204" hovercolor="255,255,255,204" selectedcolor="255,255,255,204">
<Sprite texture="Content/UI/InnerGlow.png" sourcerect="0,0,512,384" slice="128,128,384,256" />
</InnerGlow>
<InnerGlowSmall color="255,255,255,204" hovercolor="255,255,255,204" selectedcolor="255,255,255,204">
<Sprite texture="Content/UI/UIAtlasGeneral.png" sourcerect="928,518,57,57" slice="935,525,978,568" />
</InnerGlowSmall>
<OuterGlowCircular color="255,255,255,204" hovercolor="255,255,255,204" selectedcolor="255,255,255,204">
<Sprite texture="Content/UI/UIAtlasGeneral.png" sourcerect="177,637,170,170" origin="0.5,0.5" tile="false" compress="false" />
</OuterGlowCircular>
@ -875,6 +895,9 @@
<ScanLines color="255,255,255,255" textcolor="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" outlinecolor="0,0,0,0">
<Sprite texture="Content/UI/UIAtlasDevices.png" tile="true" sourcerect="521,105,128,128" />
</ScanLines>
<ScanLinesSeamless color="255,255,255,255" textcolor="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" outlinecolor="0,0,0,0">
<Sprite texture="Content/UI/UIAtlasDevices.png" tile="true" sourcerect="522,105,126,128" />
</ScanLinesSeamless>
<TextFrame padding="40.0, 40.0, 40.0, 40.0" color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" textcolor="228,217,167,255">
<Sprite name="TextFrame" texture="Content/UI/UIAtlasFrames.png" size="0.0, 0.0" sourcerect="751,1,187,189" slice="759,10,927,178" origin="0.5,0.5" />
</TextFrame>
@ -1194,7 +1217,7 @@
<PetIcon.Hungry color="255,255,255">
<Sprite name="PetIcon.Hungry" texture="Content/UI/CampaignUIAtlas2.png" tile="false" sourcerect="774,94,35,28" origin="0.5,0.5" maintainaspectratio="true" />
</PetIcon.Hungry>
<StoreAddToCrateButton color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="StoreAddToCrateButton_None" texture="Content/UI/CampaignUIAtlas2.png" state="None" tile="false" sourcerect="10,8,92,68" maintainaspectratio="true" />
<Sprite name="StoreAddToCrateButton_Hover" texture="Content/UI/CampaignUIAtlas2.png" state="Hover" tile="false" sourcerect="10,82,92,68" maintainaspectratio="true" />
@ -1366,6 +1389,9 @@
<InfoFrameTabButton.Traitor color="169,212,187,255" hovercolor="220,220,220,255" selectedcolor="255,255,255,255" pressedcolor="100,100,100,255" disabledcolor="125,125,125,125">
<Sprite name="TraitorTabButton" texture="Content/UI/InventoryUIAtlas.png" sourcerect="369,606,65,65" tile="false" maintainaspectratio="true" origin="0.5,0.5" />
</InfoFrameTabButton.Traitor>
<InfoFrameTabButton.Talents color="169,212,187,255" hovercolor="220,220,220,255" selectedcolor="255,255,255,255" pressedcolor="100,100,100,255" disabledcolor="125,125,125,125">
<Sprite name="TalentsTabButton" texture="Content/UI/InventoryUIAtlas.png" sourcerect="303,540,65,65" tile="false" maintainaspectratio="true" origin="0.5,0.5" />
</InfoFrameTabButton.Talents>
<ExpandButton>
<Sprite name="ExpandButton.None" texture="Content/UI/InventoryUIAtlas.png" sourcerect="795,190,40,40" tile="false" maintainaspectratio="true" origin="0.5,0.5" state="None" />
<Sprite name="ExpandButton.Hover" texture="Content/UI/InventoryUIAtlas.png" sourcerect="845,190,40,40" tile="false" maintainaspectratio="true" origin="0.5,0.5" state="Hover" />
@ -1388,5 +1414,124 @@
<Sprite name="SlideDown.Selected" texture="Content/UI/InventoryUIAtlas.png" state="Selected" sourcerect="518,949,126,42" slice="524,949,638,991" origin="0.5,0.5" />
<Sprite name="SlideDown.Pressed" texture="Content/UI/InventoryUIAtlas.png" state="Pressed" sourcerect="518,949,126,42" slice="524,949,638,991" origin="0.5,0.5" />
</SlideDown>
<!-- talent UI-->
<TalentBackground>
<Sprite name="TalentBackground" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="862,450,57,57" origin="0.5,0.5" slice="872,460,909,497" />
</TalentBackground>
<TalentBackgroundGlow color="255,255,255,255">
<Sprite name="TalentBackgroundGlow" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="862,518,57,57" origin="0.5,0.5" slice="872,528,909,565" />
</TalentBackgroundGlow>
<TalentFrame>
<Sprite name="TalentFrame" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="785,0,170,170" origin="0.5,0.5" maintainaspectratio="true" />
</TalentFrame>
<TalentFrameBackground color="255,255,255,255">
<Sprite name="TalentFrameBackground" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="601,0,170,170" origin="0.5,0.5" maintainaspectratio="true" />
</TalentFrameBackground>
<ExperienceBar color="255,255,255,255" padding="0,0,0,0">
<GUIFrame color="255,255,255,255">
<Sprite name="ExperienceBar.Frame" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="0,466,259,51" slice="5,471,253,511" origin="0.5,0.5" />
</GUIFrame>
<Slider color="255,255,255,255">
<Sprite name="ExperienceBar.Slider" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="0,415,259,51" slice="8,423,250,457" origin="0.5,0.5" />
</Slider>
</ExperienceBar>
<ExperienceTextBackground color="255,255,255,255">
<Sprite name="ExperienceTextBackground" texture="Content/UI/UIAtlasTalents.png" tile="true" sourcerect="0,632,32,32" origin="0.5,0.5" />
</ExperienceTextBackground>
<SubtreeHeader color="255,255,255,255">
<Sprite name="SubtreeHeader" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="928,450,57,57" origin="0.5,0.5" slice="975,497,938,460" />
</SubtreeHeader>
<EndocrineReminderIcon color="255,255,255,255">
<Sprite name="EndocrineReminderIcon" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="928,582,57,57" origin="0.5,0.5" maintainaspectratio="true" />
</EndocrineReminderIcon>
<IconOverflowIndicator name="IconOverflowIndicator" texture="Content/UI/CommandUIAtlas.png" sourcerect="384,384,128,128" maintainaspectratio="true" tile="false" />
<StatusMonitorButton.HullStatus color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.HullStatus.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="3,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="3,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="3,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="3,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="3,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.HullStatus>
<StatusMonitorButton.ElectricalView color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.ElectricalView.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="110,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="110,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="110,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="110,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="110,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.ElectricalView>
<StatusMonitorButton.HullCondition color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.HullCondition.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="217,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="217,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="217,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="217,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="217,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.HullCondition>
<StatusMonitorButton.ItemFinder color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.ItemFinder.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="324,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="324,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="324,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="324,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="324,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.ItemFinder>
<AlienButtonGreen color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="513,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="513,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="513,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="513,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="513,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonGreen>
<AlienButtonRed color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="574,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="574,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="574,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="574,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="574,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonRed>
<AlienButtonBlue color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="635,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="635,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="635,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="635,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="635,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonBlue>
<AlienButtonOrange color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="696,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="696,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="696,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="696,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="696,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonOrange>
<TalentTreeLocked color="81,81,81,255">
<Sprite name="TalentTreeLocked" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="866,589,16,16" origin="0.5,0.5" />
</TalentTreeLocked>
<TalentTreeUnlocked color="81,81,81,255">
<Sprite name="TalentTreeUnlocked" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="884,589,16,16" origin="0.5,0.5" />
</TalentTreeUnlocked>
<TalentTreeAvailable color="174,164,124,255">
<Sprite name="TalentTreeAvailable" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="886,610,16,16" origin="0.5,0.5" />
</TalentTreeAvailable>
<TalentTreePurchased color="140,225,140,255">
<Sprite name="TalentTreePurchased" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="866,610,16,16" origin="0.5,0.5" />
</TalentTreePurchased>
<TalentPointNotification color="216,151,25,255">
<Sprite name="TalentPointNotification" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="536,563,36,36" origin="0.5,0.5" />
</TalentPointNotification>
<RandomizeButton color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,125">
<Sprite name="RandomizeButton.None" texture="Content/UI/UIAtlasGeneral.png" state="None" sourcerect="386,772,46,46" tile="false" origin="0.5,0.5" slice="389,775,429,815" minborderscale="1" />
<Sprite name="RandomizeButton.Hover" texture="Content/UI/UIAtlasGeneral.png" state="Hover" sourcerect="436,772,46,46" tile="false" origin="0.5,0.5" slice="439,775,479,815" minborderscale="1" />
<Sprite name="RandomizeButton.Pressed" texture="Content/UI/UIAtlasGeneral.png" state="Pressed" sourcerect="486,772,46,46" tile="false" origin="0.5,0.5" slice="489,775,529,815" minborderscale="1" />
</RandomizeButton>
</style>
</Override>

View File

@ -2,19 +2,19 @@
{% if config['slug'] != "Sunken Tapes" %}<!--This mod is based on Sunken Tapes. See https://git.kompot.si/jaka/barotrauma-sunken-tapes and https://steamcommunity.com/sharedfiles/filedetails/?id=2616577901 for the source material and code generator.-->{% else %}<!--Code licensed under GPLv3 and generated with a script available at https://git.kompot.si/jaka/barotrauma-sunken-tapes-->{% endif %}
<Override>
<style>
<!--
General green highlight color used for elements that are highlighted from code
("thing done successfully" messages, green highlights when placing an item in an inventory slot, full progress bars, etc)
<!--
General green highlight color used for elements that are highlighted from code
("thing done successfully" messages, green highlights when placing an item in an inventory slot, full progress bars, etc)
-->
<Green color="154,213,163,255" />
<!--
General orange highlight color used for elements that are highlighted from code
(half-full progress bars, medium difficulty, etc)
<!--
General orange highlight color used for elements that are highlighted from code
(half-full progress bars, medium difficulty, etc)
-->
<Orange color="243,162,50,255" />
<!--
General red highlight color used for elements that are highlighted from code
(warning messages, red highlights when trying to place an item in an incorrect slot, almost empty progress bars, etc)
<!--
General red highlight color used for elements that are highlighted from code
(warning messages, red highlights when trying to place an item in an incorrect slot, almost empty progress bars, etc)
-->
<Red color="245,105,105,255" />
<Blue color="126,211,224,255" />
@ -24,7 +24,7 @@
<ColorInventoryFull color="96,222,146,255" />
<ColorInventoryBackground color="56,56,56,255" />
<ColorInventoryEmptyOverlay color="125,125,125,255" />
<TextColorNormal color="228,217,167,255" />
<TextColorBright color="255,255,255,255" />
<TextColorDark color="0,0,0,230" />
@ -32,12 +32,12 @@
<!-- Inventory -->
<EquipmentSlotIconColor color="99,70,64,255" />
<!-- Health HUD -->
<BuffColorLow color="144,238,144,255" />
<BuffColorMedium color="0,128,0,255" />
<BuffColorHigh color="0,100,0,255" />
<DebuffColorLow color="233,150,122,255" />
<DebuffColorMedium color="255,0,0,255" />
<DebuffColorHigh color="139,0,0,255" />
<BuffColorLow color="36,91,40,255" />
<BuffColorMedium color="66,170,73,255" />
<BuffColorHigh color="154,213,163,255" />
<DebuffColorLow color="92,52,52,255" />
<DebuffColorMedium color="155,55,55,255" />
<DebuffColorHigh color="228,27,27,255" />
<HealthBarColorLow color="255,0,0,255" />
<HealthBarColorMedium color="255,165,0,255" />
<HealthBarColorHigh color="78,114,88" />
@ -52,6 +52,12 @@
<ColorReputationHigh color="51,152,64,255" />
<ColorReputationVeryHigh color="71,160,164,255" />
<ItemQualityColorPoor color="128,128,128,255" />
<ItemQualityColorNormal color="255,255,255,255" />
<ItemQualityColorGood color="144,238,144,255" />
<ItemQualityColorExcellent color="173,216,230,255" />
<ItemQualityColorMasterwork color="147,112,219,255" />
<Cursor>
<Sprite name="Cursor.Pointer" state="0" texture="Content/UI/UIAtlasGeneral.png" sourcerect="386,483,37,50" origin="0.17,0.1" compress="false" />
<Sprite name="Cursor.Hand" state="1" texture="Content/UI/UIAtlasGeneral.png" sourcerect="523,479,33,42" origin="0.4,0.05" compress="false" />
@ -62,9 +68,12 @@
<Sprite name="Cursor.WaitingBG" state="6" texture="Content/UI/UIAtlasGeneral.png" sourcerect="429,480,39,49" origin="0.17,0.1" compress="false" />
</Cursor>
<UIGlow texture="Content/UI/InnerGlow.png" sourcerect="0,0,512,384" slice="128,128,384,256" />
<PingCircle texture="Content/Items/Command/pingCircle.png" origin="0.5,0.5" />
<Radiation texture="Content/UI/noise.png" sourcerect="0,0,512,512" />
<RadiationAnimSpriteSheet columns="8" rows="2" texture="Content/Map/radiationborder.png"/>
<UIGlowCircular texture="Content/UI/UIAtlasGeneral.png" sourcerect="177,637,170,170" origin="0.5,0.5" tile="false" compress="false" />
<UIGlowSolidCircular texture="Content/UI/UIAtlasGeneral.png" sourcerect="508,898,121,120" origin="0.5,0.5" tile="false" compress="false" />
<UIThermalGlow texture="Content/UI/UIAtlasGeneral.png" sourcerect="631,894,128,128" origin="0.5,0.5" tile="false" compress="false" />´
<FocusIndicator texture="Content/UI/FocusIndicator.png" sourcerect="0,0,448,224" rows="2" columns="4" />
<SavingIndicator texture="Content/UI/saving.png" rows="4" columns="4"/>
<!-- LEGACY
@ -170,6 +179,14 @@
<Size maxresolution="2560,1600" size="14" />
<Size size="16" />
</HotkeyFont>
<MonospacedFont file="Content/Fonts/SourceCodePro-Semibold.ttf">
<Size maxresolution="1024,768" size="12" />
<Size maxresolution="1280,800" size="14" />
<Size maxresolution="1920,1080" size="16" />
<Size maxresolution="2048,1440" size="18" />
<Size maxresolution="2560,1600" size="18" />
<Size size="18" />
</MonospacedFont>
<!-- Covers rest of the languages which Roboto or WorkSans doesn't
<Font file="Content/Fonts/NotoSans/NotoSans-Medium.ttf" size="14"/>
<SmallFont file="Content/Fonts/NotoSans/NotoSans-Bold.ttf" size="12"/>
@ -183,12 +200,14 @@
</TitleText>
{% for tape in tapes %}
<{{ config['slug'] }}_cover_{{ tape.identifier }} color="255,255,255,255" textcolor="0,0,0,255">
<Sprite name="{{ config['slug'] }}_cover_{{ tape.identifier }}" texture="Mods/{{ config['slug'] }}/covers.png" size="0.0, 0.0" sourcerect="0,{{ loop.index0*328 }},512,328" origin="0.5,0.5" compress="false" tile="false"/>
<Sprite name="{{ config['slug'] }}_cover_{{ tape.identifier }}" texture="Mods/{{ config['name'] }}/covers.png" size="0.0, 0.0" sourcerect="0,{{ loop.index0*328 }},512,328" origin="0.5,0.5" compress="false" tile="false"/>
</{{ config['slug'] }}_cover_{{ tape.identifier }}>{% endfor %}
<InnerGlow color="255,255,255,204" hovercolor="255,255,255,204" selectedcolor="255,255,255,204">
<Sprite texture="Content/UI/InnerGlow.png" sourcerect="0,0,512,384" slice="128,128,384,256" />
</InnerGlow>
<InnerGlowSmall color="255,255,255,204" hovercolor="255,255,255,204" selectedcolor="255,255,255,204">
<Sprite texture="Content/UI/UIAtlasGeneral.png" sourcerect="928,518,57,57" slice="935,525,978,568" />
</InnerGlowSmall>
<OuterGlowCircular color="255,255,255,204" hovercolor="255,255,255,204" selectedcolor="255,255,255,204">
<Sprite texture="Content/UI/UIAtlasGeneral.png" sourcerect="177,637,170,170" origin="0.5,0.5" tile="false" compress="false" />
</OuterGlowCircular>
@ -874,6 +893,9 @@
<ScanLines color="255,255,255,255" textcolor="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" outlinecolor="0,0,0,0">
<Sprite texture="Content/UI/UIAtlasDevices.png" tile="true" sourcerect="521,105,128,128" />
</ScanLines>
<ScanLinesSeamless color="255,255,255,255" textcolor="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" outlinecolor="0,0,0,0">
<Sprite texture="Content/UI/UIAtlasDevices.png" tile="true" sourcerect="522,105,126,128" />
</ScanLinesSeamless>
<TextFrame padding="40.0, 40.0, 40.0, 40.0" color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" textcolor="228,217,167,255">
<Sprite name="TextFrame" texture="Content/UI/UIAtlasFrames.png" size="0.0, 0.0" sourcerect="751,1,187,189" slice="759,10,927,178" origin="0.5,0.5" />
</TextFrame>
@ -1193,7 +1215,7 @@
<PetIcon.Hungry color="255,255,255">
<Sprite name="PetIcon.Hungry" texture="Content/UI/CampaignUIAtlas2.png" tile="false" sourcerect="774,94,35,28" origin="0.5,0.5" maintainaspectratio="true" />
</PetIcon.Hungry>
<StoreAddToCrateButton color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="StoreAddToCrateButton_None" texture="Content/UI/CampaignUIAtlas2.png" state="None" tile="false" sourcerect="10,8,92,68" maintainaspectratio="true" />
<Sprite name="StoreAddToCrateButton_Hover" texture="Content/UI/CampaignUIAtlas2.png" state="Hover" tile="false" sourcerect="10,82,92,68" maintainaspectratio="true" />
@ -1365,6 +1387,9 @@
<InfoFrameTabButton.Traitor color="169,212,187,255" hovercolor="220,220,220,255" selectedcolor="255,255,255,255" pressedcolor="100,100,100,255" disabledcolor="125,125,125,125">
<Sprite name="TraitorTabButton" texture="Content/UI/InventoryUIAtlas.png" sourcerect="369,606,65,65" tile="false" maintainaspectratio="true" origin="0.5,0.5" />
</InfoFrameTabButton.Traitor>
<InfoFrameTabButton.Talents color="169,212,187,255" hovercolor="220,220,220,255" selectedcolor="255,255,255,255" pressedcolor="100,100,100,255" disabledcolor="125,125,125,125">
<Sprite name="TalentsTabButton" texture="Content/UI/InventoryUIAtlas.png" sourcerect="303,540,65,65" tile="false" maintainaspectratio="true" origin="0.5,0.5" />
</InfoFrameTabButton.Talents>
<ExpandButton>
<Sprite name="ExpandButton.None" texture="Content/UI/InventoryUIAtlas.png" sourcerect="795,190,40,40" tile="false" maintainaspectratio="true" origin="0.5,0.5" state="None" />
<Sprite name="ExpandButton.Hover" texture="Content/UI/InventoryUIAtlas.png" sourcerect="845,190,40,40" tile="false" maintainaspectratio="true" origin="0.5,0.5" state="Hover" />
@ -1387,5 +1412,124 @@
<Sprite name="SlideDown.Selected" texture="Content/UI/InventoryUIAtlas.png" state="Selected" sourcerect="518,949,126,42" slice="524,949,638,991" origin="0.5,0.5" />
<Sprite name="SlideDown.Pressed" texture="Content/UI/InventoryUIAtlas.png" state="Pressed" sourcerect="518,949,126,42" slice="524,949,638,991" origin="0.5,0.5" />
</SlideDown>
<!-- talent UI-->
<TalentBackground>
<Sprite name="TalentBackground" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="862,450,57,57" origin="0.5,0.5" slice="872,460,909,497" />
</TalentBackground>
<TalentBackgroundGlow color="255,255,255,255">
<Sprite name="TalentBackgroundGlow" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="862,518,57,57" origin="0.5,0.5" slice="872,528,909,565" />
</TalentBackgroundGlow>
<TalentFrame>
<Sprite name="TalentFrame" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="785,0,170,170" origin="0.5,0.5" maintainaspectratio="true" />
</TalentFrame>
<TalentFrameBackground color="255,255,255,255">
<Sprite name="TalentFrameBackground" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="601,0,170,170" origin="0.5,0.5" maintainaspectratio="true" />
</TalentFrameBackground>
<ExperienceBar color="255,255,255,255" padding="0,0,0,0">
<GUIFrame color="255,255,255,255">
<Sprite name="ExperienceBar.Frame" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="0,466,259,51" slice="5,471,253,511" origin="0.5,0.5" />
</GUIFrame>
<Slider color="255,255,255,255">
<Sprite name="ExperienceBar.Slider" texture="Content/UI/UIAtlasTalents.png" tile="false" sourcerect="0,415,259,51" slice="8,423,250,457" origin="0.5,0.5" />
</Slider>
</ExperienceBar>
<ExperienceTextBackground color="255,255,255,255">
<Sprite name="ExperienceTextBackground" texture="Content/UI/UIAtlasTalents.png" tile="true" sourcerect="0,632,32,32" origin="0.5,0.5" />
</ExperienceTextBackground>
<SubtreeHeader color="255,255,255,255">
<Sprite name="SubtreeHeader" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="928,450,57,57" origin="0.5,0.5" slice="975,497,938,460" />
</SubtreeHeader>
<EndocrineReminderIcon color="255,255,255,255">
<Sprite name="EndocrineReminderIcon" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="928,582,57,57" origin="0.5,0.5" maintainaspectratio="true" />
</EndocrineReminderIcon>
<IconOverflowIndicator name="IconOverflowIndicator" texture="Content/UI/CommandUIAtlas.png" sourcerect="384,384,128,128" maintainaspectratio="true" tile="false" />
<StatusMonitorButton.HullStatus color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.HullStatus.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="3,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="3,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="3,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="3,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullStatus.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="3,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.HullStatus>
<StatusMonitorButton.ElectricalView color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.ElectricalView.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="110,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="110,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="110,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="110,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ElectricalView.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="110,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.ElectricalView>
<StatusMonitorButton.HullCondition color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.HullCondition.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="217,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="217,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="217,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="217,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.HullCondition.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="217,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.HullCondition>
<StatusMonitorButton.ItemFinder color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,255" pressedcolor="230,230,230,255">
<Sprite name="StatusMonitorButton.ItemFinder.None" texture="Content/UI/StatusMonitorUI.png" state="None" sourcerect="324,3,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.Hover" texture="Content/UI/StatusMonitorUI.png" state="Hover" sourcerect="324,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.HoverSelected" texture="Content/UI/StatusMonitorUI.png" state="HoverSelected" sourcerect="324,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.Selected" texture="Content/UI/StatusMonitorUI.png" state="Selected" sourcerect="324,61,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
<Sprite name="StatusMonitorButton.ItemFinder.Pressed" texture="Content/UI/StatusMonitorUI.png" state="Pressed" sourcerect="324,118,102,48" maintainaspectratio="true" tile="false" origin="0.5,0.5" />
</StatusMonitorButton.ItemFinder>
<AlienButtonGreen color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="513,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="513,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="513,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="513,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="513,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonGreen>
<AlienButtonRed color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="574,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="574,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="574,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="574,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="574,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonRed>
<AlienButtonBlue color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="635,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="635,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="635,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="635,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="635,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonBlue>
<AlienButtonOrange color="255,255,255,255" disabledcolor="128,128,128,255">
<Sprite name="AlienButtonGreen.None" texture="Content/UI/UI_MainMenu.png" state="None" sourcerect="696,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Hover" texture="Content/UI/UI_MainMenu.png" state="Hover" sourcerect="696,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Pressed" texture="Content/UI/UI_MainMenu.png" state="Pressed" sourcerect="696,420,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.Selected" texture="Content/UI/UI_MainMenu.png" state="Selected" sourcerect="696,297,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
<Sprite name="AlienButtonGreen.HoverSelected" texture="Content/UI/UI_MainMenu.png" state="HoverSelected" sourcerect="696,359,56,56" maintainaspectratio="true" tile="false" origin="0.5,0.5"/>
</AlienButtonOrange>
<TalentTreeLocked color="81,81,81,255">
<Sprite name="TalentTreeLocked" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="866,589,16,16" origin="0.5,0.5" />
</TalentTreeLocked>
<TalentTreeUnlocked color="81,81,81,255">
<Sprite name="TalentTreeUnlocked" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="884,589,16,16" origin="0.5,0.5" />
</TalentTreeUnlocked>
<TalentTreeAvailable color="174,164,124,255">
<Sprite name="TalentTreeAvailable" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="886,610,16,16" origin="0.5,0.5" />
</TalentTreeAvailable>
<TalentTreePurchased color="140,225,140,255">
<Sprite name="TalentTreePurchased" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="866,610,16,16" origin="0.5,0.5" />
</TalentTreePurchased>
<TalentPointNotification color="216,151,25,255">
<Sprite name="TalentPointNotification" texture="Content/UI/UIAtlasGeneral.png" tile="false" sourcerect="536,563,36,36" origin="0.5,0.5" />
</TalentPointNotification>
<RandomizeButton color="255,255,255,255" hovercolor="255,255,255,255" selectedcolor="255,255,255,255" disabledcolor="125,125,125,125">
<Sprite name="RandomizeButton.None" texture="Content/UI/UIAtlasGeneral.png" state="None" sourcerect="386,772,46,46" tile="false" origin="0.5,0.5" slice="389,775,429,815" minborderscale="1" />
<Sprite name="RandomizeButton.Hover" texture="Content/UI/UIAtlasGeneral.png" state="Hover" sourcerect="436,772,46,46" tile="false" origin="0.5,0.5" slice="439,775,479,815" minborderscale="1" />
<Sprite name="RandomizeButton.Pressed" texture="Content/UI/UIAtlasGeneral.png" state="Pressed" sourcerect="486,772,46,46" tile="false" origin="0.5,0.5" slice="489,775,529,815" minborderscale="1" />
</RandomizeButton>
</style>
</Override>

View File

@ -12,8 +12,8 @@
<Price locationtype="mine" multiplier="1.5" sold="false"/>
</Price>
<Upgrade gameversion="0.9.2.0" scale="0.5" />
<InventoryIcon texture="Mods/{{ config['slug'] }}/icons.png" sourcerect="0,0,64,64" origin="0.5,0.5" />
<Sprite texture="Mods/{{ config['slug'] }}/boombox.png" sourcerect="0,0,100,60" depth="0.55" origin="0.5,0.5" />
<InventoryIcon texture="Mods/{{ config['name'] }}/icons.png" sourcerect="0,0,64,64" origin="0.5,0.5" />
<Sprite texture="Mods/{{ config['name'] }}/boombox.png" sourcerect="0,0,100,60" depth="0.55" origin="0.5,0.5" />
<Body width="100" height="60" />
<LightComponent LightColor="0.78,0.04,0.235,0.59" range="10" powerconsumption="0" blinkfrequency="1" IsOn="false" canbeselected="false">
</LightComponent>
@ -22,7 +22,7 @@
<TickBox text="Play">
<StatusEffect type="OnUse" targettype="This" IsOn="true">
<Conditional IsOn="false" />
<sound file="Mods/{{ config['slug'] }}/sound_effects/boombox_play_cassette.ogg" type="OnUse" range="500" volume="1.0" />
<sound file="Mods/{{ config['name'] }}/sound_effects/boombox_play_cassette.ogg" type="OnUse" range="500" volume="1.0" />
</StatusEffect>
<!--StatusEffect type="OnUse" targettype="Contained" comparison="And">
<Conditional condition="lte 50.0" />
@ -49,7 +49,7 @@
<StatusEffect type="OnSecondaryUse" targettype="This" IsOn="false" >
<Conditional IsOn="true" />
<sound file="Mods/{{ config['slug'] }}/sound_effects/boombox_play_cassette.ogg" type="OnUse" range="500" volume="1.0" />
<sound file="Mods/{{ config['name'] }}/sound_effects/boombox_play_cassette.ogg" type="OnUse" range="500" volume="1.0" />
<Use />
</StatusEffect>
</TickBox>
@ -109,12 +109,12 @@
<Price baseprice="{{ tape.price }}" soldeverywhere="false">{% for location in ["outpost", "city", "research", "military", "mine"] %}
<Price locationtype="{{ location }}" multiplier="{{ tape.multipliers[loop.index0] }}" sold="{{ tape.sold[loop.index0] }}" minavailable="1" />{% endfor %}
</Price>
<InventoryIcon texture="Mods/{{ config['slug'] }}/icons.png" sourcerect="0,{{ loop.index0*41 + 64 }},64,41" origin="0.5,0.5" />
<Sprite texture="Mods/{{ config['slug'] }}/icons.png" sourcerect="0,{{ loop.index0*41 + 64 }},64,41" depth="0.6" origin="0.5,0.5" />
<InventoryIcon texture="Mods/{{ config['name'] }}/icons.png" sourcerect="0,{{ loop.index0*41 + 64 }},64,41" origin="0.5,0.5" />
<Sprite texture="Mods/{{ config['name'] }}/icons.png" sourcerect="0,{{ loop.index0*41 + 64 }},64,41" depth="0.6" origin="0.5,0.5" />
<Body width="48" height="48" />
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0" aimpos="35,-10" msg="ItemMsgPickUpSelect">
<StatusEffect type="OnImpact" target="This" Condition="-5.0" disabledeltatime="true">
<sound file="Mods/{{ config['slug'] }}/sound_effects/cassette_drop.ogg" range="500" volume="1.0" />
<sound file="Mods/{{ config['name'] }}/sound_effects/cassette_drop.ogg" range="500" volume="1.0" />
</StatusEffect>
</Throwable>
<CustomInterface canbeselected="false" drawhudwhenequipped="true" allowuioverlap="true">
@ -151,7 +151,7 @@
<InventoryIcon texture="Content/Items/Electricity/signalcomp.png" sourcerect="0,160,4,4" origin="0.5,0.5" />
<ItemComponent>
<StatusEffect type="Always" target="This">
<sound file="Mods/{{ config['slug'] }}/music/{{ tape.identifier }}.ogg" type="OnUse" range="1000" loop="true" volume="1.0" />
<sound file="Mods/{{ config['name'] }}/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' % (tape.buff_multiplier*(delta + 0.1)) }}" />{% else %}<Affliction identifier="{{ buff }}" strength= "{{ '%0.4f' % (tape.buff_multiplier*(delta*4 + 1)) }}" />{% endif %}{% endfor %}