Jump to content

A16 -Fishing - DTD7 Version


DieTillDay7

Recommended Posts

Fishing Addon

 

Ok gents this is new to some - to others... Lol ... you already know!

 

So everything bellow is to be added into the XML's i specify. Remember any ID numbers in this mod are just random, so please check and make sure the id numbers are not already in your xmls. If so just make the id number something you dont have.

 

Anything that i have listed here that is of a vanilla item - Replace the vanilla version you have with the one i have here.

 

Open Materials.xml - add or replace these...

 

<material id="water">
     <property name="damage_category" value="water" />
     <property name="surface_category" value="water" />
  <property name="liquid" value="true" />
     <property name="collidable" value="true" />
     <property name="stepsound" value="water" />
     <property name="lightopacity" value="3" />
     <property name="stability_glue" value="3200" />
     <property name="movement_factor" value="0.8" />
     <property name="Mass" type="int" value="0" />	
  </material>
  <material id="water2">
     <property name="damage_category" value="water" />
     <property name="surface_category" value="water" />
  <property name="liquid" value="false" />
     <property name="collidable" value="true" />
     <property name="stepsound" value="water" />
     <property name="lightopacity" value="3" />
     <property name="stability_glue" value="3200" />
     <property name="movement_factor" value="0.9" />
     <property name="Mass" type="int" value="0" />	
  <property name="MaxDamage" value="50" />
  </material>

 

open Loot.xml - add or replace these

 

<lootcontainer id="8" count="0,2" size="4,3" sound_open="UseActions/open_cupboard" sound_close="UseActions/close_cupboard" loot_quality_template="baseTemplate">
	<item name="cookingPot" count="1"/>
	<item name="emptyJar" count="1,2" />
       <item name="canEmpty"  count="1,2"/>
       <item name="coffeeBeans" count="1,4"/>
       <item name="shortMetalPipe" count="1,2" prob="1.5" />
       <item name="wrench" count="1"/>
       <item name="scrapLead" count="1"/>
	<item name="PlasticJug" count="1,2" prob="0.3" />
	<item name="Bait" count="1,2" prob="0.3" />
   </lootcontainer>		
   <lootcontainer id="16" count="0,3" size="4,3" sound_open="UseActions/open_trashcan" sound_close="UseActions/close_trashcan" loot_quality_template="baseTemplate">
   	<item group="garbage"/>
	<item name="FishingPoleHandle" prob="0.09" />
	<item name="FishingString" prob="0.09" />
	<item name="FishingStick" prob="0.09" />
	<item name="FishingPoleWheel" prob="0.09" />		
   </lootcontainer>

 

open Blocks.xml - add or replace these

 

<block id="826" name="water">
<property name="Class" value="Liquidv2" />
   <property name="Count" value="3" />
   <property name="Material" value="water" />
   <property name="Shape" value="Water" />
   <property name="Mesh" value="water" />
   <property name="Model" value="water_full" />
   <property name="Texture" value="223" />
   <property name="Map.Color" value="20,20,120" />
   <property name="Map.Color" value="119,136,204" />
<property class="UpgradeBlock">
     <property name="ToBlock" value="waterFish" />
     <property name="Item" value="FishingPole" />
     <property name="ItemCount" value="0" />
     <property name="UpgradeHitCount" value="4" />
   </property>  
 </block>
 <block id="2032" name="waterFish">
   <property name="Material" value="water2" />
   <property name="Shape" value="Water" />
   <property name="Mesh" value="water" />
   <property name="Model" value="water_full" />
   <property name="Texture" value="223" />
   <property name="Map.Color" value="20,20,120" />
   <property name="Map.Color" value="119,136,204" />
<property name="DowngradeBlock" value="water" />
<drop event="Harvest" name="RainbowTrout" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="Krasnoperka" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="Tilapia" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="BrownTrout" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="Karp" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="LakeTrout" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="BlackSeaBass" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="Bluefin" tool_category="Fishing" prob="0.02" count="1" />
<drop event="Harvest" name="canEmpty" tool_category="Fishing" prob="0.32" count="1" />
<drop event="Harvest" name="stick" tool_category="Fishing" prob="0.32" count="1" />
<drop event="Destroy" count="0" prob="1" />
 </block>

 

Open Items.xml - add or replace these

 

<item id="1141" name="RainbowTrout">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="11" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1143" name="Krasnoperka">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="5" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1145" name="Tilapia">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="7" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1147" name="BrownTrout">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="9" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>

Link to comment
Share on other sites

Open Items.xml - add or replace these

 

<item id="1149" name="Karp">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="13" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1151" name="LakeTrout">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="15" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1153" name="BlackSeaBass">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="0" />
           <property name="Gain_food" value="20" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1155" name="Bluefin">
       <property name="Meshfile" value="Items/Food/meat_venison" />
       <property name="Material" value="organic" />
       <property name="HoldType" value="15" />
       <property class="Action1">
           <property name="Class" value="Eat" />
           <property name="Delay" value="1.0" />
           <property name="Use_time" value="..." />
           <property name="Gain_health" value="10" />
           <property name="Gain_food" value="25" />
           <property name="Gain_water" value="0" />
           <property name="Gain_wellness" value="0" />
           <property name="Sound_start" value="UseActions/player_eating" />
       </property>
	<property name="Smell" value="largeSmell" />
	<property name="Group" value="Food/Cooking" />
       <property class="Preview">
           <property name="Zoom" value="5" />
           <property name="Pos" value="0,-1" />
           <property name="Rot" value="90,45,0" />
       </property>
</item>
<item id="1518" name="FishingPoleWheel">
	<property name="PartType" value="Pump" />
       <property name="Meshfile" value="Items/Misc/sackPrefab" />
	<property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab" />
       <property name="HoldType" value="45" />	
       <property name="Material" value="metal" />
	<property name="Weight" value="5" />
       <property name="Stacknumber" value="1" />
       <property name="Group" value="Resources" />
	<property name="Degradation" value="100" param1="false" />
       <property name="DegradationBreaksAfter" value="false" />
       <property class="Attributes">
           <property name="DegradationMax" value="30,600" />
       </property>
   </item>
<item id="1519" name="FishingStick">
	<property name="PartType" value="Stock" />
       <property name="Meshfile" value="Items/Misc/sackPrefab" />
	<property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab" />
       <property name="HoldType" value="45" />	
       <property name="Material" value="metal" />
	<property name="Weight" value="5" />
       <property name="Stacknumber" value="1" />
       <property name="Group" value="Resources" />
	<property name="Degradation" value="100" param1="false" />
       <property name="DegradationBreaksAfter" value="false" />
       <property class="Attributes">
           <property name="DegradationMax" value="30,600" />
       </property>
   </item>
<item id="1520" name="Bait">
       <property name="Meshfile" value="Items/Crafting/cloth" />
       <property name="Material" value="cloth" />
       <property name="HoldType" value="14" />
       <property name="Stacknumber" value="250" />
       <property name="RepairAmount" value="15" />
       <property name="FuelValue" value="1" />
       <property name="Weight" value="1" />
       <property name="Group" value="Resources" />
       <property class="Preview">
           <property name="Zoom" value="28" />
           <property name="Pos" value="0,-0.05" />
           <property name="Rot" value="90,45,0" />
       </property>
   </item>
<item id="1521" name="FishingString">
	<property name="PartType" value="Receiver" />
       <property name="Meshfile" value="Items/Misc/sackPrefab" />
	<property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab" />
       <property name="HoldType" value="45" />	
       <property name="Material" value="metal" />
	<property name="Weight" value="5" />
       <property name="Stacknumber" value="1" />
       <property name="Group" value="Resources" />
	<property name="Degradation" value="100" param1="false" />
       <property name="DegradationBreaksAfter" value="false" />
       <property class="Attributes">
           <property name="DegradationMax" value="30,600" />
       </property>
   </item>

Link to comment
Share on other sites

Open Items.xml - add or replace these

 

<item id="1522" name="FishingPoleHandle">
	<property name="PartType" value="Barrel" />
       <property name="Meshfile" value="Items/Misc/sackPrefab" />
	<property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab" />
       <property name="HoldType" value="45" />	
       <property name="Material" value="metal" />
	<property name="Weight" value="5" />
       <property name="Stacknumber" value="1" />
       <property name="Group" value="Resources" />
	<property name="Degradation" value="100" param1="false" />
       <property name="DegradationBreaksAfter" value="false" />
       <property class="Attributes">
           <property name="DegradationMax" value="30,600" />
       </property>
   </item>
<item id="1523" name="FishingPole">
       <property name="Meshfile" value="Items/Weapons/Ranged/Bows/WoodenBow/WoodenBowPrefab" />
       <property name="Material" value="metal" />
       <property name="HoldType" value="4" />
       <property name="Stacknumber" value="1" />
       <property name="RepairTools" value="Bait" />
       <property name="Degradation" value="500" param1="true" />
       <property name="FuelValue" value="16" />
       <property name="Weight" value="48" />
       <property name="SoundDestroy" value="wooddestroy1" />
       <property class="Parts">
           <property name="Stock" value="FishingStick" />
           <property name="Receiver" value="FishingString" />
           <property name="Pump" value="FishingPoleWheel" />
           <property name="Barrel" value="FishingPoleHandle" />
       </property>
       <property class="Action0">
           <property name="Class" value="Melee" />
           <property name="Delay" value="1.1" />
           <property name="Range" value="3" />
           <property name="Sphere" value="0.1" />
           <property name="Block_range" value="4" />
           <property name="Sound_start" value="swoosh" />
           <property name="Stamina_usage" value="4" />
		<property name="ToolCategory.Fishing" value="0.75" />
       </property>
	<property class="Action1">
           <property name="Class" value="Repair" />
           <property name="Delay" value="0.4" />
           <property name="Repair_amount" value="2" />
           <property name="Upgrade_hit_offset" value="-3" />
           <property name="Sound_start" value="UseActions/repair_block" />
           <property name="Allowed_upgrade_items" value="FishingPole" />
       </property>
	<property class="Attributes">
           <property name="EntityDamage" value="1,2" />
           <property name="BlockDamage" value="10,20" />				
		<property name="DegradationMax" value="100,600" />
		<property name="DegradationRate" value="2,1" />
       </property>
	<!-- End: Needed for the attachment flashlight -->        
       <property name="Group" value="Ammo/Weapons" />
       <property class="Preview">
           <property name="Zoom" value="14" />
           <property name="Pos" value="0.1,-0.1" />
           <property name="Rot" value="0,-45,0" />
       </property>
   </item>

 

Well thats everything - Bellow is a download link to the files and to icons if need be!

 

To use - find a fishing Parts - assemble the fishing pole - Bait is what you will need to repair the fishing pole (Find as well) - Right click water - once turned into another type of water block - left click to start and fish.

 

There is a known bug with the water changing - just looks off - but i will work on fixing it~

 

Link to comment
Share on other sites

  • 4 weeks later...

I really enjoy this version of fishing, but have an issue where clicking the fishing pole in the inventory to try to assemble/disassemble it pops and error and makes the inventory unaccessible.

 

I believe it is due to the fact that the pole has "gun parts" but is in the melee class. Switching the class to ranged lets me access the assembly page just fine and switch out the parts as I wish...Maybe I'll just load up the worms as ammo and fire em at the water blocks!

 

Anybody else having a similar issue?

Link to comment
Share on other sites

I really enjoy this version of fishing, but have an issue where clicking the fishing pole in the inventory to try to assemble/disassemble it pops and error and makes the inventory unaccessible.

 

I believe it is due to the fact that the pole has "gun parts" but is in the melee class. Switching the class to ranged lets me access the assembly page just fine and switch out the parts as I wish...Maybe I'll just load up the worms as ammo and fire em at the water blocks!

 

Anybody else having a similar issue?

 

i will dopuble check this today and give an update!

Link to comment
Share on other sites

Recipes? I would make them myself but for some reason lately my game IGNORES any recipes I make, even if I clone and original and just change the ingredients. Maybe fish soup, stew or chowder? Or even boiled, charred or fried?

 

You most likely have a name misspelled somewhere in one of the recipes, if you have a wrong name because if a wrong capital letter for eg in an ingredient or output name that recipe will not work along with all recipes placed below it.

Link to comment
Share on other sites

to be correct the recipe does not need to be there to assemble a gun - in other words - assemble option in guns actually needs no recipe - the recipe is the parts - however if you do add a recipe it works kinda with that but you dont need the code for it to works - the recipe code is used to lock it is basically it!

Link to comment
Share on other sites

  • 2 weeks later...

FYI, there is an error in the code. There is no plastic jug defined in items, but you have us put it in the loot.xml.

 

I removed it from the loot.xml and I no longer get that it can't find the item. There is no Plastic Jug picture in your icons, so I am assuming you had plans for it but it hasn't made it in yet.

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
  • 2 years later...

Archived

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

×
×
  • Create New...