Jump to content

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


M1cromanagement

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

Link to comment
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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...