Skip to content

Commit

Permalink
3828 | 10 files | M game/bin/built_from_cl.txt, M game/dota/pak01_dir…
Browse files Browse the repository at this point in the history
….txt, M game/dota/pak01_dir/panorama/layout/frontpage_contents.xml, M game/dota/pak01_dir/resource/localization/dota_english.txt, M game/dota/pak01_dir/resource/localization/items_english.txt, M game/dota/pak01_dir/scripts/items/items_game.txt, M game/dota/pak01_dir/scripts/splash_ads.txt, M game/dota/steam.inf, ?? game/dota/pak01_dir/panorama/layout/banners/front_page_november_2019_sale.xml, ?? game/dota/pak01_dir/panorama/styles/banners/front_page_november_2019_sale.css

https://steamdb.info/patchnotes/4363917/
  • Loading branch information
SteamTracker committed Nov 7, 2019
1 parent 4d5fdc8 commit 2734e48
Show file tree
Hide file tree
Showing 10 changed files with 1,754 additions and 154 deletions.
2 changes: 1 addition & 1 deletion game/bin/built_from_cl.txt
@@ -1 +1 @@
5468804
5470774
66 changes: 36 additions & 30 deletions game/dota/pak01_dir.txt

Large diffs are not rendered by default.

@@ -0,0 +1,26 @@
<root>
<styles>
<include src="s2r://panorama/styles/dotastyles.vcss_c" />
<include src="s2r://panorama/styles/frontpage_shared.vcss_c" />
<include src="s2r://panorama/styles/banners/front_page_november_2019_sale.vcss_c" />
</styles>

<script>
$.GetContextPanel().SetDialogVariableInt( 'treasure_item_def', 10861 );
</script>

<CustomLayoutPanel class="November2019SaleCell" onactivate="DOTAShowItemDefPage( 10861 )">
<Panel class="FrontpageCellImage" />
<Panel class="ImageTint" hittest="false" />
<Panel class="PriceContainer">
<Label class="PriceLabel" text="#DOTA_SalePrice" />
<Label class="PriceValue" text="{g:dota_item_price:treasure_item_def}" />
</Panel>
<Label class="FrontpageCellHeader" text="#DOTA_November2019Sale_Name" />
<Panel class="FrontpageCellTint" />
<Panel class="FrontpageCellFooter">
<Label class="FrontpageCellText" text="#DOTA_November2019Sale_Description" />
<Label class="FrontpageCellTitle" text="#DOTA_November2019Sale_Title" html="true" />
</Panel>
</CustomLayoutPanel>
</root>
12 changes: 9 additions & 3 deletions game/dota/pak01_dir/panorama/layout/frontpage_contents.xml
Expand Up @@ -6,7 +6,7 @@
</styles>

<DOTAFrontpageContents>

<!--
<DOTAFrontpageDefaultButton id="Blog" class="FrontpageCell TopLeftCell" cellheader="#DOTA_Blog" />
<DOTAFrontpageDefaultButton id="TopCustomGame" class="FrontpageCell BottomLeftCell" cellheader="#DOTA_Custom_Game_Of_The_Day" />
Expand All @@ -23,11 +23,16 @@
</Panel>
</Panel>
</DOTAFrontpageGameplayPatch>
-->
<CustomLayoutPanel id="FrontpageCellNovember2019Sale"
class="FrontpageCell TopLeftCell WideCell TallCell"
layout="file://{resources}/layout/banners/front_page_november_2019_sale.xml" />


<!-- itemdef for the spotlight sale is set through code -->
<!--<DOTAFrontpageStoreItem id="SpotlightSale" class="FrontpageCell BottomMiddleCell" cellheader="#DOTA_Store_SpotlightSale" /> -->

<DOTAFrontpageDefaultButton class="FrontpageCell BottomMiddleCell"
<DOTAFrontpageDefaultButton class="FrontpageCell BottomRightCell"
cellimage="s2r://panorama/images/front_page/ads/treasure_of_twilight_procession_jpg.vtex"
cellheader="#FrontPage_New_Treasure_Header"
celltitle="#FrontPage_Treasure_Of_Twilight_Procession_Name"
Expand All @@ -39,12 +44,13 @@
<DOTAFrontpageLastMatch id="LastMatch" class="FrontpageCell TopRightCell" />
<FrontpageWeekendTourneyButton id="BattleCup" class="FrontpageCell TopRightCell" />

<!--
<DOTAFrontpageCarousel id="SpectatorCarousel" class="FrontpageCell BottomRightCell">
<DOTAFrontpageProCircuit id="FrontpageProCircuit" />
<DOTAFrontpageProPlaying id="FrontpageProPlaying" />
<DOTAFrontpageTopLive id="FrontpageTopLive" />
</DOTAFrontpageCarousel>

-->
<!--
<DOTATriviaGame id="TriviaGame" class="FrontpageCell TopRightCell TallCell" />
Expand Down
@@ -0,0 +1,68 @@

.November2019SaleCell
{

}

.ImageTint
{
width: 100%;
height: 100%;
background-color: gradient( radial, 0% 100%, 0% 0%, 120% 120%, from( #00000000 ), color-stop( 0.9, #00000000 ), to( #000000cc ) );
}

.PriceContainer
{
flow-children: down;
horizontal-align: right;
margin-right: 12px;
margin-top: 4px;
}

.PriceLabel
{
text-transform: uppercase;
color: gradient( linear, 0% 0%, 0% 100%, from( #fff ), to( #aaa ) );
letter-spacing: 2px;
horizontal-align: right;
font-size: 20px;
text-align: right;
text-shadow: 2px 2px 8px black;
}

.PriceValue
{
color: gradient( linear, 0% 0%, 0% 100%, from( #fff ), to( #aaa ) );
font-size: 48px;
text-align: right;
horizontal-align: right;
font-weight: bold;
text-shadow: 2px 2px 8px black;
letter-spacing: 2px;
margin-top: -8px;
}

.FrontpageCellImage
{
background-image: url("s2r://panorama/images/splash_ads/november_2019_sale_png.vtex");
background-size: cover;
background-repeat: no-repeat;
}

.FrontpageCellTitle
{
font-size: 28px;
font-weight: bold;
}

.FrontpageCellText
{
margin-bottom: -1px;
margin-top: 10px;
}

.FrontpageCellHeader
{
font-size: 20px;
padding: 4px 10px 4px 12px;
}
5 changes: 5 additions & 0 deletions game/dota/pak01_dir/resource/localization/dota_english.txt
Expand Up @@ -5,6 +5,7 @@
{

"DOTA_ItemOnSale" "SALE!"
"DOTA_SalePrice" "Sale Price"

"DOTA_AttackMove" "Attack Move / Force Attack"
"DOTA_Move" "Move"
Expand Down Expand Up @@ -17310,6 +17311,10 @@ Special Techies Taunt"
"DOTA_ValentinesTreasure2019Sale_Title" "Available this weekend only"
"DOTA_ValentinesTreasure2019Sale_Description" "Celebrate Valentine's Day with the exclusive Treasure of the Amaranth which includes 22 hand-picked favorites from previous treasures. Available now for only {g:dota_item_price:treasure_item_def} per treasure."

"DOTA_November2019Sale_Name" "Treasure of the Timeless Rite"
"DOTA_November2019Sale_Title" "Available this weekend only"
"DOTA_November2019Sale_Description" "Available now through Monday, November 11, the Treasure of the Timeless Rite features 22 vintage item sets hand-picked favorites from previous treasures. Available now for only {g:dota_item_price:treasure_item_def} per treasure."

"FrontPage_2017_Frostivus_Title" "Win 3 games for a free Frostivus treasure"
"FrontPage_2017_Frostivus_Title_Collected" "Frostivus treasure collected"
"FrontPage_2017_Frostivus_Claim" "Claim your Frostivus treasure"
Expand Down

0 comments on commit 2734e48

Please sign in to comment.