mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add journal and preliminary strings for crafting
The journal is now functional. Preliminary strings are added for the 1.8.7 crafting system, but it is disabled for now. I've messaged @marceldev89 (ziellos2k) and @AlbyBDPK on the DayZ forums to ask permission to use fn_updateCraftUI, player_checkRecipe and player_craftItemGUI. Are you guys okay with us including these in DayZ Epoch 1.0.6?
This commit is contained in:
48
SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp
Normal file
48
SQF/dayz_code/Configs/CfgCrafting/CfgCrafting.hpp
Normal file
@@ -0,0 +1,48 @@
|
||||
class CfgCrafting {
|
||||
class Recipe {
|
||||
displayName = "Generic Recipe";
|
||||
input[] = {}; //Items consumed during crafting
|
||||
output[] = {}; //Items created from crafting
|
||||
required[] = {}; //Items needed for but not consumed during crafting
|
||||
failChance = 0;
|
||||
};
|
||||
//Completed
|
||||
//Weapons
|
||||
#include "Recipes\Weapons\NailedBaseballBat.hpp"
|
||||
#include "Recipes\Weapons\BaseBallBatBarbed.hpp"
|
||||
#include "Recipes\Weapons\Crossbow.hpp"
|
||||
|
||||
//Not Ready
|
||||
/*
|
||||
#include "Recipes\Weapons\M9SD.hpp"
|
||||
#include "Recipes\Weapons\M4A1_AIM.hpp"
|
||||
#include "Recipes\Weapons\MAKAROVSD.hpp"
|
||||
#include "Recipes\Weapons\bizonSD.hpp"
|
||||
#include "Recipes\Weapons\SVD_CAMO.hpp"
|
||||
#include "Recipes\Weapons\M4A1_Aim_CAMO.hpp"
|
||||
#include "Recipes\Weapons\M4A1_HWS_GL_CAMO.hpp"
|
||||
#include "Recipes\Weapons\G36C_camo.hpp"
|
||||
#include "Recipes\Weapons\G36A_camo.hpp"
|
||||
#include "Recipes\Weapons\G36K_camo.hpp"
|
||||
*/
|
||||
|
||||
//Medical
|
||||
#include "Recipes\Medical\Bandage.hpp"
|
||||
#include "Recipes\Medical\sepsisBandage.hpp"
|
||||
#include "Recipes\Medical\woodensplint.hpp"
|
||||
#include "Recipes\Medical\HerbalDrink.hpp"
|
||||
//ammo
|
||||
#include "Recipes\Ammo\WoodenArrow.hpp"
|
||||
//other
|
||||
#include "Recipes\Other\woodencrate.hpp"
|
||||
#include "Recipes\Other\nails.hpp"
|
||||
#include "Recipes\Other\BackPack.hpp"
|
||||
//#include "Recipes\Other\woodenCraftTable.hpp"
|
||||
//Traps
|
||||
#include "Recipes\Traps\TrapBearTrapFlare.hpp"
|
||||
#include "Recipes\Traps\TrapBearTrapSmoke.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireCans.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireFlare.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireGrenade.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireSmoke.hpp"
|
||||
};
|
||||
Reference in New Issue
Block a user