Created
July 4, 2018 17:51
-
-
Save jedStevens/1d375de617e6b1948cf7ebcfcd890713 to your computer and use it in GitHub Desktop.
This creates recipes and stores them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node | |
const NONE = -1 | |
const LOG_ID = 0 | |
const CRAFTING_TABLE_ID = 1 | |
var CRAFTING_TABLE_RECIPE | |
func _ready(): | |
var Recipe = load("res://recipe.gd") | |
CRAFTING_TABLE_RECIPE = Recipe.new() | |
CRAFTING_TABLE_RECIPE.create([LOG_ID], Vector2(1,1), CRAFTING_TABLE_ID) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment