Results 1 to 4 of 4

Thread: Trading mashines

  1. #1
    Join Date
    Jan 2018
    Rep Power

    Question Trading mashines

    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

    vending mashines

    Install: Just overwrite the files
    .../steamapps/7 Days to die/Data/Condig
    (vanilla only)

    vendings mashines v2

    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
    Last edited by Azrail; 01-27-2018 at 05:36 PM. Reason: update

  2. #2
    Join Date
    Dec 2015
    Rep Power
    Could be nice in some of the Modpacks like Ravenhearst or War of the Walker

  3. #3
    Join Date
    Oct 2016
    Rep Power
    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 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"/>


    <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" />

  4. #4
    Inventor KhaineGB's Avatar
    Join Date
    Apr 2017
    Liverpool, UK
    Rep Power
    Quote Originally Posted by Olliegos88 View Post
    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 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. -->

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts