Skip to content

Commit

Permalink
Add tag to dark mode items
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietusPlus committed Aug 9, 2014
1 parent ba979c3 commit 09a7717
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base_scripts/game/gui/guiUtils.ws
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,13 @@ import class CGuiUtils extends CObject
tagCreatedName = inventory.GetCraftedItemName( tagItemId );
tagCreatedId = inventory.AddItem( StringToName( tagCreatedName ), 1, false );
tagItemCategory = inventory.GetItemCategory( tagCreatedId );
inventory.GetItemTags( tagCreatedId, tagItemTags );
tagCreatedItem = true;
}

if ( tagItemTags.Contains('SortTypeQuest') || tagItemCategory == 'quest') {
if ( tagItemTags.Contains('DarkDiffA1')|| tagItemTags.Contains('DarkDiffA2') || tagItemTags.Contains('DarkDiffA3') ) {
tagLocTag = GetLocStringByKeyExt( "menudifficultyveryhard" );
} else if ( tagItemTags.Contains('SortTypeQuest') || tagItemCategory == 'quest') {
if ( tagItemCategory == 'key' ) {
tagLocTag = GetLocStringByKeyExt( "type_key" );
} else {
Expand Down

0 comments on commit 09a7717

Please sign in to comment.