Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new blocs #2

Open
farfadet46 opened this issue Sep 16, 2017 · 10 comments
Open

new blocs #2

farfadet46 opened this issue Sep 16, 2017 · 10 comments

Comments

@farfadet46
Copy link

hello i just try your game, it's realy cool :)

i try to add a new block to the game.
So i opened the items.lua file to add a new value in "blocks" like this :

name = "RWood",image = "woode.png", collide = false}, --id 9

After i added this line to crafting.lua

recipe_backwood = {
recipe = {
nil,nil,nil,
nil,8,nil,
nil,nil,nil,
},
output = 9,
amount = 1,
}

so with one planks i can craft one "back planks" who is walkable because the 'colide' option :)

when i try ingame, i get nothing, if i clic on the output, my planks disapear but got nothing, can you help me ?
big thanks

@farfadet46
Copy link
Author

farfadet46 commented Sep 16, 2017

ok i partialy found the problem héhé
i think your code only search for recipe_test in function detect_recipes() right ?

and sorry for my english, i'm french.

@jordan4ibanez
Copy link
Owner

Yes, the crafting system is extremely primitive!

@jordan4ibanez
Copy link
Owner

Do not worry, there are plenty of blocks that will be put into the game soon 😄

@farfadet46
Copy link
Author

I modified the jump button to "space" ;)

@farfadet46
Copy link
Author

HI when you say soon it's like 1 year now XD
hope you are fine :)

@oilboi
Copy link

oilboi commented Jul 2, 2020

Sorry man! I totally forgot about this project :<

@oilboi
Copy link

oilboi commented Jul 2, 2020

Here's the new one in the MT engine https://github.com/oilboi/Crafter

@farfadet46
Copy link
Author

oh, it isn't 2D anymore ?

@oilboi
Copy link

oilboi commented Jul 11, 2020

Nope

@jordan4ibanez
Copy link
Owner

I'll see what I can do about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants