From eb2009bd15544896c65a16fb39dc3bf35cc7dbb5 Mon Sep 17 00:00:00 2001 From: vbawol Date: Mon, 12 Oct 2015 14:52:09 -0500 Subject: [PATCH] fishing --- Changelogs/0.3.4.0.txt | 2 +- Sources/epoch_code/compile/EPOCH_fish.sqf | 2 +- Sources/epoch_config/Configs/cfgCrafting.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Changelogs/0.3.4.0.txt b/Changelogs/0.3.4.0.txt index 89be329f..d14f5351 100644 --- a/Changelogs/0.3.4.0.txt +++ b/Changelogs/0.3.4.0.txt @@ -1,5 +1,5 @@ Client: -[Added] Epoch ocean fishing. +[Added] Epoch ocean fishing, also added crafting recipes to allow cooking. [Added] Workbench storage device added and used as a nearby crafting requirement for most Kit based crafting options. [Added] New secure storage device: The Epoch Safe. [Added] Totally new crafting system and UI by Raymix. diff --git a/Sources/epoch_code/compile/EPOCH_fish.sqf b/Sources/epoch_code/compile/EPOCH_fish.sqf index 37f37db2..23f35c23 100644 --- a/Sources/epoch_code/compile/EPOCH_fish.sqf +++ b/Sources/epoch_code/compile/EPOCH_fish.sqf @@ -1,7 +1,7 @@ // EPOCH fishing private ["_bob","_fishes","_fish","_randomChance","_bobber","_nearByBobbers","_objects","_currentPos"]; -_currentPos = player modelToWorld[0, 5, 0]; +_currentPos = player modelToWorld[0, 5 + (random 5), 0]; if (surfaceIsWater _currentPos) then { _objects = lineIntersectsObjs[eyePos player, _currentPos, player, objNull, true, 2]; diff --git a/Sources/epoch_config/Configs/cfgCrafting.hpp b/Sources/epoch_config/Configs/cfgCrafting.hpp index b56011ac..6445b3dc 100644 --- a/Sources/epoch_config/Configs/cfgCrafting.hpp +++ b/Sources/epoch_config/Configs/cfgCrafting.hpp @@ -550,7 +550,7 @@ class CfgCrafting previewScale = 0.4; previewVector = 2; }; - class ItemSeaBass : Item + class ItemSeaBassCooked : Item { usedIn[] = {}; nearby[] = {{"Fire", "", "fire", {1,{"ALL"}}, 3, 1, 1, 0}};