Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Modded Schematic Help


Drach

Recommended Posts

Hi Community!

I was wondering if one of you bright lot could help me? i'm having an issue when editing my 7 days to die server...

Basically, I'm trying to gate an item recipe behind a book/schematic so that the item may not be crafted without first reading the book. However when i start the server back up after adding the below code... The recipe displays as 'known' even before reading the book....


ITEM BOOK: 

<item id="2022" name="Lucille's Secrets">
<property name="CustomIcon" value="schematicMaster" />
<property name="CustomIconTint" value="266727" />
<property name="Extends" value="schematicMaster" />
<property name="EconomicValue" value="500" />
<property class="Action1">
<property name="Recipes_to_learn" value="Lucille" />
<property name="Skills_to_gain" value="Weapon Smithing" />
</property>
</item>


THE ITEM:

<item id="2019" name="Lucille">
<property name="CustomIcon" value="clubBarbed" />
<property name="CustomIconTint" value="266727" />
<property name="Extends" value="clubIron" />
<property name="Meshfile" value="Items/Weapons/Melee/Club/Club_Wood_BarbedPrefab" />
<property name="RepairTools" value="forgedIron" />
<property name="EconomicValue" value="500" />
<property class="Action0"> <!-- AttackAction -->
<property name="Buff" value="bleeding,criticalBlunt,stunned" />
<property name="Buff_chance" value=".7,.5,.3" />
<property name="DamageBonus.head" value="7" />
</property>
<property class="Attributes">
<property name="EntityDamage" value="20,38" />
<property name="BlockDamage" value="15.2,38" /> <!-- 30% of an iron pick -->
<property name="DegradationMax" value="150,650" />
<property name="DegradationRate" value="1,1" />
</property>
<property name="CritChance" value=".5" />
<property name="DescriptionKey" value="LucilleDesc"/>
</item>

 

RECIPE : 

<recipe name="Lucille" count="1" craft_area="workbench">
<ingredient name="barbedWireSheet" count="5"/>
<ingredient name="forgedIron" count="15"/>
<ingredient name="wood" count="20"/>
<ingredient name="ductTape" count="1"/>
</recipe>


I am 99% sure there is nothing wrong with the code.. as i have tested it with a vanilla copy of 7 days and it worked perfectly (had to read book before i could craft item).

 

Even when i have a 'NEW' player join my server.. they can craft the item without the need of the book...

 

I am wondering if there is a value i need to reset when adding these schematic books to a server??

Thanks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...