Jump to content

Edit History

Please note that revisions older than 365 days are pruned and will no longer show here
BFT2020

BFT2020

45 minutes ago, Dark Wun said:

 

Do you have a similar method for removing the vending machines as well? Is there an xml file that contains all the /objects that spawn and you can then delete them in a similar fashion?

 

You would need to remove them from all POIs.

 

Easiest thing to do (if removing them as a benefit to the player) is just to remove the trader groups for them in the trader file.

<!-- *** POI Drink Vending Machines ID:4 -->
    <trader_info id="4" reset_interval="1" override_buy_markup="3" allow_sell="false" >
        <trader_items>
            <item group="drinkVending" count="4,8"/>
            <item group="drinkSpecialVending" count="4,8"/>
        </trader_items>
    </trader_info>

<!-- *** POI Food/Candy Vending Machines ID:10 -->
    <trader_info id="10" reset_interval="1" override_buy_markup="3" allow_sell="false" >
        <trader_items>
            <item group="foodVending" count="4,8"/>
            <item group="foodCandy" count="4,8"/>
        </trader_items>
    </trader_info>

 

You can delete the vending machines (they are in the blocks.xml file) but the POIs are still going to try to call them and you will get at least warnings, possibly errors for any POIs that have them.  Removing the trader groups to make them non-beneficial would probably be the easiest thing to do.

BFT2020

BFT2020

39 minutes ago, Dark Wun said:

 

Do you have a similar method for removing the vending machines as well? Is there an xml file that contains all the /objects that spawn and you can then delete them in a similar fashion?

 

You would need to remove them from all POIs.

 

Easiest thing to do (if removing them as a benefit to the player) is just to remove the trader groups for them in the trader file.

<!-- *** POI Drink Vending Machines ID:4 -->
    <trader_info id="4" reset_interval="1" override_buy_markup="3" allow_sell="false" >
        <trader_items>
            <item group="drinkVending" count="4,8"/>
            <item group="drinkSpecialVending" count="4,8"/>
        </trader_items>
    </trader_info>

<!-- *** POI Food/Candy Vending Machines ID:10 -->
    <trader_info id="10" reset_interval="1" override_buy_markup="3" allow_sell="false" >
        <trader_items>
            <item group="foodVending" count="4,8"/>
            <item group="foodCandy" count="4,8"/>
        </trader_items>
    </trader_info>

 

×
×
  • Create New...