Giter Site home page Giter Site logo

blackmarketusage's Introduction

Displays possible usage of items on the blackmarket sell screen. 
No more wondering whether you still need Advent Trooper Corpses. 

Data is gathered dynamically, so modded items, costs etc should show up as well.
This is compatible with Long War 2 and all the stuff it adds. Lists might get
a bit long for more common resources.

Only shows items of your current research level.
This can be configured using the [url=http://steamcommunity.com/sharedfiles/filedetails/?id=667104300]Mod Config Menu[/url] mod.
If you don't want to use that and instead change this the old fashioned way,
run the game at least once, then edit:
 Documents\My Games\XCOM2\XComGame\Config\XComBlackmarketUsage_Settings.ini

Valid choices for the ShowSpoilers option are:
[list]
[*] "Don't show" = only show items from your current research level
[*] "Show" = show everything you have not researched/built yet
[*] "Obfuscate" = obfuscate what will be shown by displaying unresearched tech/gear as '???'
[/list]

Thanks to Robojumper for fixing some performance issues and
BlueRaja for adding Mod Config Menu Support.

Source and changelog can be found [url=https://github.com/thraaawn/BlackmarketUsage]here[/url]

blackmarketusage's People

Contributors

blueraja avatar davenonymous avatar robojumper avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

blackmarketusage's Issues

defaultproperties not properly assigned?

UIAddToBlackmarket.uc

defaultproperties {
    ScreenClass = class'UIBlackMarket_Sell';
}

The opening brace must be on a new line. However, if you fix it that way, it won't work with Grimy's Loot Mod. I suggest the following:

event OnInit(UIScreen Screen) {
    if (UIBlackMarket_Sell(Screen) != none) {
        Maketh(UIBlackMarket_Sell(Screen));
    }
}

Event OnReceiveFocus(UIScreen Screen) { 
    if (UIBlackMarket_Sell(Screen) != none) {
        Maketh(UIBlackMarket_Sell(Screen));
    }

} 
// ...
defaultproperties
{
    ScreenClass = none
}

This way, it will retain compatibility (and also get rid of the hundreds of Accessed none: 'screen' messages your mod throws).

The text "foobar" is displayed for some reason

For some reason the version of the mod on Steam Workshop has this line...

`define coloredtext(text, color) "<font color='#"$`color$"'>"$`text$"</font>"

..looking like this:

`define coloredtext(text, color) "<font color='#"$`color$"'>"$`text$"foobar</font>"

(Zyxpsilon tracked this one down)

Controller support?

Would it be possible to add controller support for the mod? I saw someone else mention it in the steam comments as well, and their suggestion to use left thumbstick click to display the usage popup would be swell.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.