RELEASED [SMAPI] Colored Chests Mod

Discussion in 'Mods' started by Igorious, May 22, 2016.

Tags:
  1. Igorious

    Igorious Sandwich Man

    It's small mod, that allows overwrite texture of chests.

    You can find latest version here.

    Chest_GUI.png

    How to use:
    Load game.
    Go to location with chests.
    Move mouse cursor to chest.
    Hold Alt key.
    Move cursor to square with color.
    Release Alt key.
    Voilà.
    To reset chest color, select icon with red cross or just place chest to inventory.
    Load game.
    Go to location with chests.
    Enter command
    Code:
    ccm_show
    to console. It shows (x, y)-positions of player and all chests.
    ccm_show.png
    Remember x and y and enter command
    Code:
    ccm_set x y color
    You can use standart C# color names (list of colors) or hex-RGB name (like #BB9944).
    ccm_set_1.png
    ccm_set_2.png
    To reset chest color, change it to White or just place chest to inventory.
    ---
    GitHub link.
     
      Last edited: Aug 15, 2016
    • Igorious

      Igorious Sandwich Man

      foghorn and BlankSlater like this.
    • taintedwheat

      taintedwheat Master Astronaut

      Coolio n.n, hope to use it in all different colors.
       
        BlankSlater likes this.
      • Igorious

        Igorious Sandwich Man

        You can add custom colours if need.
        Run mod first time and you will get Configuration\MenuConfig.json file.
        Open it with text editor and add lines per samples.
        «White» is special colour, do not remove it.
        You can use CamelCase standart .NET colours (case-sensitive) or colours in hexadecimal format (like «#12AB90», case-insensitive).

        If chests seem too dark, you can increase brightness of tint sprite (Resources\ChestTint.png).
         
          Last edited: May 30, 2016
          taintedwheat likes this.
        • taintedwheat

          taintedwheat Master Astronaut

          This is an indicsive person's wet dream ;)

          Just curious though (but colors are awesome enough already) and to save people from asking later:

          If someone wanted to change the look of the chest do they edit the chesttint.png? Or would they have to edit the vanilla craftables.png/xnb.?

          Could this somehow lead to having multiple different looking chests people can use at once?
          • Also would it be possible if someone were able to put individual little labels on chests like [a cherry for fruit chest, carrot veg] the space is really small, but you know
           
          • Igorious

            Igorious Sandwich Man

            Now need change both files. But I can control full process of drawing, so it's no hard to use custom sprites.

            Main problem is to save additional information about type. I really want to save compatibility with in-game saves. I will think of this.

            Same trouble as the above.
            Can you create an example for picture label? I will try to implement this.
             
            • taintedwheat

              taintedwheat Master Astronaut

              For the images, something like this:
              Sketch3016500.png
              The boxes' labels could be cusomizable with whatever little image the player wants to upload to make fit

              Edit and it would just overlay on the top of the chest cover [with w/e color] n.n
               
                Last edited: May 30, 2016
                BlankSlater likes this.
              • Unassuming Obelisk

                Unassuming Obelisk Big Damn Hero

                Finally, a way to know what's in the chests before I open 5 of them!
                 
                • karmapanda

                  karmapanda Void-Bound Voyager

                  Recently .. i had a bug. I installed the extended fridge.. but yesterday it worked just fine.. but right now.. Oo it lookes like this:
                  strange.jpg
                  This happens apparently after weaking up. if you go outside the house it will fix. why so ever
                   
                    Last edited: Aug 9, 2016
                  • Igorious

                    Igorious Sandwich Man

                    Please, give me link to mod. I will try fix it.
                     
                    • bugmenever

                      bugmenever Phantasmal Quasar

                      it currently conflicts with Farm Automation Item Collector. probably others
                       

                      Share This Page