Azrail Posted January 13, 2018 Share Posted January 13, 2018 Hi guys i just got into modding so i dont know much about this but i wrote and changed a bit in the trader.xml and the blocks.xml to get more vending mashines. But well like i said im knew to this stuff and i would like to have other models and icons for them. Is anyone there to help me a little with that? So what does this mod do? I created 2 more vending mashines where u can sell stuff - General supllies (building stuff) - Trading supplies (stuff every trader have) - Medical supplies (medkits etc.) this stuff is rather expensive to balance it a bit (by concern if its to cheap or stuff like that feel free to write about it) they refill & change inventory every day How to install? copy the lines out and change the block id´s to free ones Download: [ATTACH]23869[/ATTACH] Install: Just overwrite the files .../steamapps/7 Days to die/Data/Condig (vanilla only) Download: [ATTACH]23870[/ATTACH] Should work with other mods (im using this with the war of the walkers but there is no need for this one) Feel free to use it in youre own mods vending mashines v2.zipvendings mashines v2 vanilla.zip Link to comment Share on other sites More sharing options...
FenrirZeroZero Posted January 16, 2018 Share Posted January 16, 2018 Could be nice in some of the Modpacks like Ravenhearst or War of the Walker Link to comment Share on other sites More sharing options...
Olliegos88 Posted May 8, 2018 Share Posted May 8, 2018 Hey, when i place the vendor and its a bit of dirt and no vendor anyone know why? code below and i have no errors in the console . block: <block id="2051" name="General Supplies"> <property name="Group" value="Science"/> <property name="DescriptionKey" value="cntVendingMachineGroupDesc"/> <property name="CustomIcon" value="cementMixer"/> <property name="Material" value="Mmetal_medium"/> <property name="LightOpacity" value="0"/> <property name="StabilitySupport" value="false"/> <property name="Class" value="VendingMachine"/> <property name="Shape" value="ModelEntity"/> <property name="Model" value="Entities/LootContainers/vending_machine_playerPrefab"/> <property name="MultiBlockDim" value="1,2,1"/> <property name="ImposterExchange" value="imposterBlock" param1="143"/> <property name="OnlySimpleRotations" value="true"/> <property name="Place" value="TowardsPlacerInverted"/> <property class="RepairItems"> <property name="forgedIron" value="5"/> </property> <property name="TraderID" value="7"/> <property name="Stacknumber" value="10"/> <property name="EconomicValue" value="100000"/> <drop event="Destroy" count="1"/> </block> Trader: <trader_info id="7" min_inventory="40" max_inventory="80" min_items_swapped="20" max_items_swapped="20" reset_interval="1"> <trader_items count="all"> <item name="fertilizer" count="5" /> <item name="wood" count="5" /> <item name="scrapIron" count="5" /> <item name="forgedIron" count="5" /> <item name="forgedSteel" count="5" /> <item name="scrapPlastics" count="5" /> <item name="animalHide" count="5" /> <item name="scrapBrass" count="5" /> <item name="scrapLead" count="5" /> <item name="clayLump" count="5" /> <item name="concreteMix" count="5" /> <item name="cloth" count="5" /> <item name="militaryFiber" count="5" /> <item name="electricParts" count="5" /> <item name="electronicParts" count="5" /> <item name="mechanicalParts" count="5" /> <item name="feather" count="5" /> <item name="coal" count="5" /> <item name="potassiumNitratePowder" count="5" /> <item name="repairKit" count="5" /> <item name="oil" count="5" /> <item name="steelPolish" count="5" /> <item name="paint" count="5" /> <item name="glue" count="2" /> <item name="ductTape" count="5" /> </trader_items> </trader_info> Link to comment Share on other sites More sharing options...
KhaineGB Posted May 8, 2018 Share Posted May 8, 2018 Hey, when i place the vendor and its a bit of dirt and no vendor anyone know why? code below and i have no errors in the console . block: <block id="2051" name="General Supplies"> Probably because of the bit I quoted. If you read blocks.xml... it says this... <!-- Block limit: No block can have an ID greater 2047. --> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.