Say a Goblin wants you to chop down 5 trees.
Should I make a specific list for that task and every time you chop a tree run through it and increment the Goblin referenced's task counter.
Or just have a general list for all requests and every time you do something check it? Second option is tidier but would be WAY slower.
I know for the Goblin them self I'll probably have a 1d array;
request[0] = Task Type; request[1] = Specific; request[2] = Goal amount; request[3] = Current amount;
i.e
request[0] = "GATHER"; request[1] = COPPER_ORE; request[2] = 10; request[3] = 0;
request[0] = "CLEAR"; request[1] = BANANA_TREE; request[2] = 5; request[3] = 2;
Might update this as I go, but I gotta do some Warframe right now 
























6 comments