BlackLiquid Forums
How to let stockpile stored "Material" resource - Printable Version

+- BlackLiquid Forums (https://www.blackliquidsoftware.com/forum)
+-- Forum: Banished General (https://www.blackliquidsoftware.com/forum/forumdisplay.php?fid=6)
+--- Forum: Mod Makers Help & Support (https://www.blackliquidsoftware.com/forum/forumdisplay.php?fid=27)
+--- Thread: How to let stockpile stored "Material" resource (/showthread.php?tid=1007)



How to let stockpile stored "Material" resource - skywillnosky - 01-05-2017



I would like to let the stockpile which is from  original banished mod "storageYard.rsc" be stored "Material" type goods.




I just changed _storageFlags to "Fuel | Wood | Stone | Iron | Material" and rebuild this session.




StorageDescription storage

{

    RawMaterialFlags _storageFlags = Fuel | Wood | Stone | Iron | Material;

    bool _areaBasedLimit = true;

    bool _available = true;

    int _volumeLimit = 2500;

}




It didn't occur any bug or crash during rebuilding .rsc file, but it didn't work when I reinstalled .pkm file and started in a new game.




Do I miss something?[img]<fileStore.core_Emoticons>/emoticons/huh.png[/img]/emoticons/huh@2x.png 2x" title="o.O" width="20" />




How to let stockpile stored "Material" resource - Kralyerg - 01-05-2017



Because the flag for Materials isn't called "Material".  We can't add new flags to the game, so we stole Coals flag and made it display the word Material instead of Coal.




You want it to say




RawMaterialFlags _storageFlags = Fuel | Wood | Stone | Iron | CoalFuel;