Jump to content
Sign in to follow this  
M1cromanagement

drop event "Harvest" | how i can avoid this "misstake"

Recommended Posts

Hey guys im creating new Perks for Harvesting,Base set are done in entityclasses.xml,in progressions xml all setuped,items.xml perk books are maked.all working,

<block name="cntBookcaseFull">
	<property name="CreativeMode" value="Player"/>
	<property name="Material" value="Mwood_weak"/>
	<property name="Shape" value="New"/>
	<property name="Model" value="bookcase_full"/> <property name="Place" value="TowardsPlacer90"/>
	<property name="Texture" value="67,269,269,269,269,269"/>
	<property name="UseGlobalUV" value="Local"/>
	<property name="Class" value="Loot"/>
	<property name="LootList" value="49"/>
	<property class="RepairItems"> <property name="resourceWood" value="10"/> </property>
	<drop event="Harvest" name="qc_silenceofthelambs" prob=".05" tag="HarvestMasterBook7"/>
	<drop event="Destroy" name="resourceWood" count="1,3"/>
	<property name="FilterTags" value="floot,ffurniture"/>
	<property name="SortOrder2" value="0060"/> <!-- SortShape -->
	<property name="DescriptionKey" value="furnitureGroupDesc"/>
</block>

but if im adding more Items after

<drop event="Harvest" name="qc_silenceofthelambs" prob=".05" tag="HarvestMasterBook7"/>

im still harvesting all Items... it seems like the first item prop chancing fine, the other items are with .05 to so i cant understand what im doing wrong here

 

if anyone can help me out , please tell me ! :D

Edited by M1cromanagement (see edit history)

Share this post


Link to post
Share on other sites
On 9/15/2020 at 11:29 AM, M1cromanagement said:

Hey guys im creating new Perks for Harvesting,Base set are done in entityclasses.xml,in progressions xml all setuped,items.xml perk books are maked.all working,


<block name="cntBookcaseFull">
	<property name="CreativeMode" value="Player"/>
	<property name="Material" value="Mwood_weak"/>
	<property name="Shape" value="New"/>
	<property name="Model" value="bookcase_full"/> <property name="Place" value="TowardsPlacer90"/>
	<property name="Texture" value="67,269,269,269,269,269"/>
	<property name="UseGlobalUV" value="Local"/>
	<property name="Class" value="Loot"/>
	<property name="LootList" value="49"/>
	<property class="RepairItems"> <property name="resourceWood" value="10"/> </property>
	<drop event="Harvest" name="qc_silenceofthelambs" prob=".05" tag="HarvestMasterBook7"/>
	<drop event="Destroy" name="resourceWood" count="1,3"/>
	<property name="FilterTags" value="floot,ffurniture"/>
	<property name="SortOrder2" value="0060"/> <!-- SortShape -->
	<property name="DescriptionKey" value="furnitureGroupDesc"/>
</block>

but if im adding more Items after

<drop event="Harvest" name="qc_silenceofthelambs" prob=".05" tag="HarvestMasterBook7"/>

im still harvesting all Items... it seems like the first item prop chancing fine, the other items are with .05 to so i cant understand what im doing wrong here

 

if anyone can help me out , please tell me ! :D

 

Hi

 

If I understood you correctly, what you want is that each item added to be harvested when breaking the cntBookcaseFull comes out varied, not all at once.

 

Possible solution:
1- Reduce the probability to the other items,make it varied.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...