Array Questions

Get help using Construct 2

» Wed Dec 21, 2016 12:25 pm

So in other word if sharp stone require two and another recipe require two stone only the first will be used?

Heres an idea what if say we did have two stone in there but instead of automatically straight to the output but rather list the outcome of certain recipes and select the recipes. Now I dont think ill never use this idea but What if you accidental place two stone there and realized that you dont need a sharpstone again.

I was thinking of something like what if you wanted to have two recipes one is for sharpstone and the other is flint.

And how would I use this if i need it to be a tool use wise such as this if want to make Twine from a plant and i need to use sharp stone but i dont want to remove sharp stone

I can only think of one way is by adding results to clone a tool again to fake that you used it.

[email protected]

Im lost to how you came up with a combine rule
AT first i thought you use frames and then added the two frame number together to get the X
When my calculation didnt turn up.....I then thought what if you use two frame to find the X,Y value
That didnt turn up correctly.

Why did you use for loop to find sum and I dont think this will quite work because this is a suvivial style game and crafting need to be used in different ways. Such as do you have the tool for it. Do you have the require material and what kind of yield will it give.

But this method would only work if you just want to based a game around adding a god elements to the world. then this would be it but as far as using items and such this would pretty much be a debug nightmare. XMl is alot more simplier.
B
52
S
24
G
6
Posts: 391
Reputation: 7,855

» Wed Dec 21, 2016 1:45 pm

instead of automatically straight to the output but rather list the outcome of certain recipes and select the recipes.

Yep, that was my idea too.
Again, this will take some time.
And since I'm on holiday from tomorrow until 29th, I probably won't finish this until then.

But it definitely is possible.
Please tell me if you're gonna stick with the solution of @99Instances2Go ,because if you do, I can keep the XML crafting thing as a personal challenge and don't have to hurry.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

» Wed Dec 21, 2016 5:13 pm

B
33
S
18
G
29
Posts: 2,493
Reputation: 21,450

» Wed Dec 21, 2016 6:35 pm

well theres no rush no deadline But would like to see these Xml to come to fruit so that other ppl like us can learn different things that contruct is cappable of.

Have a good christmas to you guys. Cheers
B
52
S
24
G
6
Posts: 391
Reputation: 7,855

Previous