mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fishing
This commit is contained in:
parent
875037c2ce
commit
eb2009bd15
@ -1,5 +1,5 @@
|
|||||||
Client:
|
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] 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] New secure storage device: The Epoch Safe.
|
||||||
[Added] Totally new crafting system and UI by Raymix.
|
[Added] Totally new crafting system and UI by Raymix.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// EPOCH fishing
|
// EPOCH fishing
|
||||||
private ["_bob","_fishes","_fish","_randomChance","_bobber","_nearByBobbers","_objects","_currentPos"];
|
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 {
|
if (surfaceIsWater _currentPos) then {
|
||||||
|
|
||||||
_objects = lineIntersectsObjs[eyePos player, _currentPos, player, objNull, true, 2];
|
_objects = lineIntersectsObjs[eyePos player, _currentPos, player, objNull, true, 2];
|
||||||
|
@ -550,7 +550,7 @@ class CfgCrafting
|
|||||||
previewScale = 0.4;
|
previewScale = 0.4;
|
||||||
previewVector = 2;
|
previewVector = 2;
|
||||||
};
|
};
|
||||||
class ItemSeaBass : Item
|
class ItemSeaBassCooked : Item
|
||||||
{
|
{
|
||||||
usedIn[] = {};
|
usedIn[] = {};
|
||||||
nearby[] = {{"Fire", "", "fire", {1,{"ALL"}}, 3, 1, 1, 0}};
|
nearby[] = {{"Fire", "", "fire", {1,{"ALL"}}, 3, 1, 1, 0}};
|
||||||
|
Loading…
Reference in New Issue
Block a user