wolverine576 Posted October 21, 2019 Share Posted October 21, 2019 I want to add Nails to blocks when you break them down. Also add Nails to blocks and secured Chests recipes for example. Been awhile since i messed with modletts lol Link to comment Share on other sites More sharing options...
stallionsden Posted October 21, 2019 Share Posted October 21, 2019 I want to add Nails to blocks when you break them down. Also add Nails to blocks and secured Chests recipes for example. Been awhile since i messed with modletts lol Append them in to the destroy section of each block so when you break a bl9ck down it gives you the normal stuff plus nails Link to comment Share on other sites More sharing options...
wolverine576 Posted October 21, 2019 Author Share Posted October 21, 2019 Append them in to the destroy section of each block so when you break a bl9ck down it gives you the normal stuff plus nails Can you start me off with an example, or someones tutorial? Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 Here You Go Let's find all the blocks made of wood and add some nails to harvest, Also let's make sure you need nails to repair them as well. Updated: Doors included --> <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ]"> <drop event="Harvest" name="resourceNail" count="1,2" tag="nailsHarvest"/> </append> <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ] /property [ @class='RepairItems' ]"> <property name="resourceNail" value="2"/> </append> Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 here you go let's find all the blocks made of wood and add some nails to harvest, also let's make sure you need nails to repair them as well. Updated: Doors included --> <append xpath="/blocks/block [ @name='woodweaknoupgrademaster' or @name='woodnoupgrademaster' or @name='rwoodmaster' or @name='whitepicketfencesheet' or @name='cntcabinetbottom' or @name='cntcupboardcabinetredtopclosed' or @name='cntwooddesk01closed' or @name='cntsecurestoragechest' or @name='endtable' or @name='ladderwood' or @name='window03wood' or @name='securedoorwooden' or @name='housefrontdoor1_v1' or @name='housefrontdoor2_v1' ]"> <drop event="harvest" name="resourcenail" count="1,2" tag="nailsharvest"/> </append> <append xpath="/blocks/block [ @name='woodweaknoupgrademaster' or @name='woodnoupgrademaster' or @name='rwoodmaster' or @name='whitepicketfencesheet' or @name='cntcabinetbottom' or @name='cntcupboardcabinetredtopclosed' or @name='cntwooddesk01closed' or @name='cntsecurestoragechest' or @name='endtable' or @name='ladderwood' or @name='window03wood' or @name='securedoorwooden' or @name='housefrontdoor1_v1' or @name='housefrontdoor2_v1' ] /property [ @class='repairitems' ]"> <property name="resourcenail" value="2"/> </append> thats awesome! How do i add Nails the the recipes of several Items? Like secured chests, claw hammer, chairs, in 1 Modlet like you did for blocks? Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 i think yoiu mean this, its only an idea. All Wood Things (chairs, secure chests) are in here) if i remember right. And for items play with this code around. <append xpath="/recipes/recipe [ @name='------' or @name='meleeToolClawHammer' ] /property [ @class='repairitems' ]"> <property name="resourcenail" value="2"/> </append> with the item names i think Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 i think yoiu mean this, its only an idea. All Wood Things (chairs, secure chests) are in here) if i remember right. And for items play with this code around. <append xpath="/recipes/recipe [ @name='------' or @name='meleeToolClawHammer' ] /property [ @class='repairitems' ]"> <property name="resourcenail" value="2"/> </append> with the item names i think Close i think, but more like, i just want to add nails to the requirred list of materials need to craft. <recipe name="meleeToolSledgehammerStone" count="1" tags="perkSkullCrusher"> <ingredient name="resourceRockSmall" count="10"/> <ingredient name="resourceYuccaFibers" count="10"/> <ingredient name="resourceWood" count="10"/> </recipe> see how nails isnt there? I want to add nails to a bunch of different recipes, but in 1 modlet like you did for blocks Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 I Think Most of the items have an 'MASTER' where they 'extends' from. So I think you have to do it manually. <item name="meleeToolClawHammer"> <!-- T2 Tools --> no 'extends' ---> here <property name="Tags" value="melee,light,tool,attStrength,perkMiner69r,perkMotherLode,canHaveCosmetic"/> <property name="DisplayType" value="meleeRepairTool"/> <property name="HoldType" value="32"/> <property name="Meshfile" value="#Other/Items?Tools/hammerPrefab.prefab"/> <property name="Material" value="Mmetal"/> <property name="RepairTools" value="resourceRepairKit"/> <property name="DegradationBreaksAfter" value="false"/> <property name="SoundJammed" value="ItemNeedsRepair"/> <property name="SoundDestroy" value="wooddestroy1"/> <property name="FuelValue" value="150"/> <property name="EconomicValue" value="500"/> <property name="UnlockedBy" value="perkMiner69r,meleeToolIronSetSchematic"/> <property name="ShowQuality" value="true"/> <property class="Action0"> <property name="Class" value="DynamicMelee"/> <property name="Sphere" value=".1"/> <property name="Sound_start" value="swoosh"/> <property name="ToolCategory.harvestingTools" value="1" param1="1"/> <property name="GrazeStart" value=".12"/> <property name="GrazeEnd" value=".3"/> <property name="SwingDegrees" value="45"/> <property name="SwingAngle" value="135"/> <property name="UseGrazingHits" value="true"/> </property> <property class="Action1"> <!-- UseAction --> <property name="Class" value="Repair"/> <property name="Delay" value=".64"/> <!-- Repair actions still need the delay amount --> <property name="Repair_amount" value="400"/> <property name="Upgrade_hit_offset" value="-2"/> <property name="Sound_start" value="repair_block"/> <property name="Allowed_upgrade_items" value="resourceWood,resourceClayLump,resourceSnowBall,resourceScrapIron,resourceForgedIron,resourceForgedSteel,resourceConcreteMix,resourceCobblestones,ironDoor1_v1,vaultDoor01,scrapHatch_v1,vaultHatch_v1,resourceYuccaFibers,resourceCloth,resourceScrapPolymers,resourceNail"/> <property name="UsePowerAttackAnimation" value="false"/> </property> <effect_group name="meleeToolClawHammer"> <passive_effect name="MaxRange" operation="base_set" value="2.2"/> <passive_effect name="BlockRange" operation="base_set" value="2.5"/> <passive_effect name="EntityDamage" operation="base_set" value="12"/> <!-- meleeToolClawHammer --> <passive_effect name="EntityDamage" operation="perc_add" value="-.15,.15"/> <!-- random rng --> <passive_effect name="EntityDamage" operation="perc_add" value=".1,.5" tier="2,6"/> <!-- tier bonus --> <passive_effect name="BlockDamage" operation="base_set" value="22"/> <passive_effect name="BlockDamage" operation="perc_add" value="-.15,.15"/> <!-- random BlockDmg --> <passive_effect name="BlockDamage" operation="perc_add" value=".1,.5" tier="2,6"/> <!-- tier bonus --> <passive_effect name="DegradationMax" operation="perc_add" value="-.15,.15" tags="perkMiner69r"/> <!-- random DegMax --> <passive_effect name="AttacksPerMinute" operation="perc_add" value="-.05,.05"/> <!-- random APM --> <passive_effect name="StaminaLoss" operation="perc_add" value="-.05,.05"/> <!-- random StamLoss --> <display_value name="dBlockRepairAmount" value="400"/> <passive_effect name="DamageModifier" operation="perc_add" value="-.5" tags="wood"/> <passive_effect name="DamageModifier" operation="perc_add" value="-.75" tags="earth"/> <passive_effect name="AttacksPerMinute" operation="base_set" value="70"/> <passive_effect name="StaminaLoss" operation="base_set" value="12.0" tags="primary"/> <passive_effect name="DegradationMax" operation="base_set" value="280,955" tier="1,6" tags="perkMiner69r"/> <passive_effect name="DegradationPerUse" operation="base_set" value="1" tags="perkMiner69r"/> <passive_effect name="ModSlots" operation="base_set" value="1,1,2,2,3,4" tier="1,2,3,4,5,6"/> <passive_effect name="ModPowerBonus" operation="perc_add" value=".10" tags="EntityDamage,BlockDamage"/> <passive_effect name="ModPowerBonus" operation="base_add" value="200" tags="EconomicValue"/> </effect_group> <property name="Group" value="Tools/Traps"/> <property name="RepairExpMultiplier" value="5.5"/> </item> you see . what i mean??? [color=#DCDCD2]<recipe name="meleeToolSledgehammerStone" count="1" tags="perkSkullCrusher">[/color] [color=#DCDCD2]<ingredient name="resourceRockSmall" count="10"/>[/color] [color=#DCDCD2]<ingredient name="resourceYuccaFibers" count="10"/>[/color] [color=#DCDCD2]<ingredient name="resourceWood" count="10"/> [/color][color=#DCDCD2]<ingredient name="[/color]resourceNail[color=#DCDCD2]" count="?"/>[/color] [color=#DCDCD2]</recipe>[/color] Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 I was hoping for an easy edit lol. Is it possible to "insert" Nails into a recipe? Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 I was hoping for an easy edit lol. Is it possible to "insert" Nails into a recipe? look post before <ingredient name="resourceNail" count="?"/> for ? your amount . Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 Can we do something like this? <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ]"> <drop event="Harvest" name="resourceNail" count="1,2" tag="nailsHarvest"/> </append> But instead, use recipes, so we can insert nails into multiple recipes with 1 code? <append xpath="/recipes/recipe [ @name='workbench' or @name='meleeToolShovelSteel' or @name='meleeToolShovelIron' or @name='meleeToolPickaxeSteel' or @name='meleeToolPickaxeIron' or @name='meleeToolFireaxeSteel' ]"> </append> Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 Can we do something like this? <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ]"> <drop event="Harvest" name="resourceNail" count="1,2" tag="nailsHarvest"/> </append> But instead, use recipes, so we can insert nails into multiple recipes with 1 code? <append xpath="/recipes/recipe [ @name='workbench' or @name='meleeToolShovelSteel' or @name='meleeToolShovelIron' or @name='meleeToolPickaxeSteel' or @name='meleeToolPickaxeIron' or @name='meleeToolFireaxeSteel' ]"> </append> dont know, try it. Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 Give me a list of Items (names) and amount of nails you want , and i try it to make it running Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 Give me a list of Items (names) and amount of nails you want , and i try it to make it running Try these, for Testing. 2 nails. or @name='meleeToolShovelSteel' or @name='meleeToolShovelIron' or @name='meleeToolPickaxeSteel' or @name='meleeToolPickaxeIron' or @name='meleeToolFireaxeSteel' Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 Here You Go Let's find all the blocks made of wood and add some nails to harvest, Also let's make sure you need nails to repair them as well. Updated: Doors included --> <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ]"> <drop event="Harvest" name="resourceNail" count="1,2" tag="nailsHarvest"/> </append> <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ] /property [ @class='RepairItems' ]"> <property name="resourceNail" value="2"/> </append> Getting a block error trying out this code. Heres the Modlet Download Only mod installed for test Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 Getting a block error trying out this code. [ATTACH=CONFIG]30021[/ATTACH] Heres the Modlet Download Only mod installed for test <configs> Let's find all the blocks made of wood and add some nails to harvest, Also let's make sure you need nails to repair them as well. Updated: Doors included --> <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ]"> <drop event="Harvest" name="resourceNail" count="1,2" tag="nailsHarvest"/> </append> <append xpath="/blocks/block [ @name='woodWeakNoUpgradeMaster' or @name='woodNoUpgradeMaster' or @name='rWoodMaster' or @name='whitePicketFenceSheet' or @name='cntCabinetBottom' or @name='cntCupboardCabinetRedTopClosed' or @name='cntWoodDesk01Closed' or @name='cntSecureStorageChest' or @name='endTable' or @name='ladderWood' or @name='window03Wood' or @name='secureDoorWooden' or @name='houseFrontDoor1_v1' or @name='houseFrontDoor2_v1' ] /property [ @class='RepairItems' ]"> <property name="resourceNail" value="2"/> </append> </configs> you missed the configs at start and End. Ps. The image was to small too look. Link to comment Share on other sites More sharing options...
wolverine576 Posted October 22, 2019 Author Share Posted October 22, 2019 Thats why i uloaded my Modlet cause the pics come out small lol. Cant find my error log either since a18 Link to comment Share on other sites More sharing options...
Baobab Posted October 22, 2019 Share Posted October 22, 2019 Thats why i uloaded my Modlet cause the pics come out small lol. Cant find my error log either since a18 \steamapps\common\7 Days To Die\7DaysToDie_Data ther you find it with Date Link to comment Share on other sites More sharing options...
wolverine576 Posted October 23, 2019 Author Share Posted October 23, 2019 Nails not dropping for harvest, i was using a fireman axe Link to comment Share on other sites More sharing options...
Baobab Posted October 23, 2019 Share Posted October 23, 2019 Nails not dropping for harvest, i was using a fireman axe you missed <!-- Set new tool harvest category --> but i finished the modlet Get It Here Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.