Jump to content

[Modding]How to summon loot containers with items


Miyan

Recommended Posts

Hi there!

I'm making a mod, but I couldn't make what I want.

 

What I want to do is that "summon loot containers with items."

To do that, I wrote like below.


    <item name="lootbagSummonerT1">
        <property name="Extends" value="resourceWaterFilter"/>
        <property name="Stacknumber" value="10000"/>
        <property name="EconomicValue" value="0"/>
        <property class="Action1">
            <property name="LootDropEntityClass" value="EntityLootContainerRegular"/>
        </property>
    </item>

 

But it didn't work and broke my playing game data.

 

Please help me and tell correct way.

 

 

By the way, my goal is to make synthesis of loot bags.

From each loot bags, you will collect tokens.

Merge them and make better loot bags!

 

I also want opinion about this!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...