*** Recipe Updates ***
#41
I know that she's smart, that's why she's mine Smile And that's why I let her decide some things for me.
Alright, format 5 it is, then.
Reply
Thanks given by:
#42
Alright, Rev 549 has the new parser. It reads recipes from the file "crafting.txt". An example file has been included. So start writing those recipes Wink
In order to test your recipe, you need to add it to crafting.txt and if it is in recipes.txt, delete it from there (as MCS uses both of these currently).
The crafting.txt file has all the instructions needed for the recipes - it has the proper grammar, crafting grid coordinates, multiple-items guide and parser limitations. Feel free to add your own observations.

IF you've just screamed "I want to write recipes", let's make it organized - write a note to this thread, saying "i'll do recipes for wool" or "i'll do recipes for items #300 - #350"; then no two people will do the same work needlessly. After you finish, post your results here. Only post the added / changed part of the crafting.txt file, and if you needed to add anything to items.ini, then the entire items.ini file.
Also please note how readable the file is, let's try keep it that way.
Reply
Thanks given by:
#43
To be honest, I expected a bit more enthusiastic responseTongue
Reply
Thanks given by:
#44
I'll do "Utilities" section from recipe.txt. Probably a bit moreBig Grin

I'm wondering if MCS support mirrored recipes? Because it's actually quite easy to make (if your parcer sort of "converts" recipe note to a crafting grid somehow and then compare current crafting grid with recipe one - just flip one coord and you're done).
Reply
Thanks given by:
#45
It doesn't do it, because the grammar doesn't allow mirroring specification.
Are there that many recipes that would benefit from mirrorring that it's worth implementing?
Reply
Thanks given by:
#46
Quote:Are there that many recipes that would benefit from mirrorring that it's worth implementing?
No, there aren't... Since MCS crafting check is somewhat different than I thought (I used to make similar system onceBig Grin)
Utilities section:
Code:
#******************************************************#
# Utilities
#
Bucket         = IronIngot, 1:1, 2:2, 3:1
Lighter        = IronIngot, 1:1 | Flint, 2:2
Lighter        = IronIngot, 2:1 | Flint, 1:2
FishingRod     = Stick, 1:3, 2:2, 3:1 | String, 3:2, 3:3
FishingRod     = Stick, 3:3, 2:2, 1:1 | String, 1:2, 1:3
Compass        = IronIngot, 2:1, 1:2, 3:2, 2:3 | RedstoneDust, 2:2
Watch          = GoldIngot, 2:1, 1:2, 3:2, 2:3 | RedstoneDust, 2:2
Bow            = Stick, 2:1, 1:2, 2:3 | String, 3:1, 3:2, 3:3
Bow            = Stick, 2:1, 3:2, 2:3 | String, 1:1, 1:2, 1:3
Arrow, 4       = Flint, 1:1 | Stick, 1:2 | Feather, 1:3
WoodenDoor     = Planks, 1:1, 1:2, 1:3, 2:1, 2:2, 2:3
Fence, 2       = Stick, 1:1, 2:1, 3:1, 1:2, 2:2, 3:2
IronBars, 16   = IronIngot, 1:1, 2:1, 3:1, 1:2, 2:2, 3:2
GlassPane, 16  = Glass, 1:1, 2:1, 3:1, 1:2, 2:2, 3:2
Ladder, 3      = Stick, 1:1, 3:1, 1:2, 2:2, 3:2, 1:3, 3:3
Sign           = Planks, 1:1, 2:1, 3:1, 1:2, 2:2, 3:2 | Stick, 2:3
EyeOfEnder     = EnderPearl, * | BlazePowder, *
GlassBottle, 3 = Glass, 1:1, 2:2, 3:1
Cauldron       = IronIngot, 1:1, 3:1, 1:2, 3:2, 1:3, 2:3, 3:3
BrewingStand   = Cobblestone, 1:2, 2:2, 3:2 | BlazeRod, 2:1

Now I'm going to do Travel Utilities and Control Utilities
Here we go, Travel Utilities and Control Utilities:
Code:
#******************************************************#
# Travel Utilities
#
Rails, 16        = IronIngot, 1:1, 3:1, 1:2, 3:2, 1:3, 3:3 | Stick, 2:2
PoweredRail, 6   = GoldIngot, 1:1, 3:1, 1:2, 3:2, 1:3, 3:3 | Stick, 2:2 | RedstoneDust, 2:3
DetectorRail, 6  = IronIngot, 1:1, 3:1, 1:2, 3:2, 1:3, 3:3 | StonePlate, 2:2 | RedstoneDust, 2:3
Minecart         = IronIngot, 1:1, 3:1, 1:2, 2:2, 3:2
PoweredMinecart  = Minecart, * | Furnace, *
StorageMinecart  = Minecart, * | Chest, *
Boat             = Planks, 1:1, 3:1, 1:2, 2:2, 3:2




#******************************************************#
# Control Utilities
#
RedstoneTorchOn  = Stick, 1:2 | RedstoneDust, 1:1
Lever            = Cobblestone, 1:2 | Stick, 1:1
WoodPlate        = Planks, 1:1, 2:1
StonePlate       = Stone, 1:1, 2:1
Button           = Stone, 1:1, 1:2
IronDoor         = IronIngot, 1:1, 1:2, 1:3, 2:1, 2:2, 2:3
Repeater         = Stone, 1:2, 2:2, 3:2 | RedstoneTorchOn, 1:1, 3:1 | RedstoneDust, 2:1
Lamp             = RedstoneDust, 2:1, 1:2, 3:2, 2:3 | Glowstone, 2:2
Piston           = Planks, 1:1, 2:1, 3:1 | RedstoneDust, 2:2 | Cobblestone, 1:2, 3:2, 1:3, 2:3, 3:3
StickyPiston     = Piston, * | SlimeOrb, *

Now, "Material Blocks", "Special Blocks" and "Block To Ingot"!
Reply
Thanks given by:
#47
Well, recipes.txt isn't needed anymore!Big Grin I accidently finished all recipiesBig Grin

Nicely formatted as in minecraftwiki, including different kinds of slabs and all other stuff.
I also changed a bit items.ini (because, well, I don't like "slimeorb", I prefer "slimeball" instead, and it didn't had all slabs)

here they are, items.ini (renamed to items.txt for uploading) and crafting.txt


Attached Files
.txt   crafting.txt (Size: 13.92 KB / Downloads: 238)
.txt   items.txt (Size: 7.05 KB / Downloads: 218)
Reply
Thanks given by: xoft
#48
See, how easy it is to have accidents with MCServer? I accidentally implemented a feature, you accidentally finished all recipes... Smile
I see you even caught my typo in the recipe grammar example. Nice catch.

I've committed your changes as Rev 556, though I've reformatted the file to retain the vertical space layout.
Reply
Thanks given by: Taugeshtu
#49
You haven't even tried running MCS after writing those recipes! :-O If you had, you'd have noticed that several were mis-formatted and one item was still missing - the new parser does warn about bad recipes.
Fixed in Rev 557Tongue
Reply
Thanks given by:
#50
Quote:You haven't even tried running MCS after writing those recipes! :-O
You're spelling it like it's somewhat badTongue
Yes, I've already found all "bugs" (comma in "swords" section + StoneBrick instead of StoneBricks... Hell, why "Bricks"? I've added "StoneBrick" to items.ini locally, hope you'll do the same)
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)