‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_zm_craftables.gsh
Go to the documentation of this file.
1 #define CLIENTFIELD_CRAFTABLE_PIECE_NONE 0
2 
3 // clientfield name
4 #define CLIENTFIELD_CRAFTABLE "craftable"
5 
6 // whether or not the trigger passed to a craftable_trigger_think call is deleted
7 #define DELETE_TRIGGER 1
8 #define KEEP_TRIGGER 0
9 
10 // whether or not a craftable lives past being made
11 #define UNCRAFT 3
12 #define ONE_USE_AND_FLY 2
13 #define PERSISTENT 1
14 #define ONE_TIME_CRAFT 0
15 
16 #define CRAFTABLE_OBTAINED 1 // used for shared pieces
17 #define CRAFTABLE_IS_SHARED 1 // piece is a part of shared inventory
18 #define CRAFTABLE_NEED_ALL_PIECES 1 // must have all pieces before you can craft item
19 
20 #define CRAFTABLE_INVALID_CHOICE -1 // No craftable has been chosen