temp.txt deleted online with Bitbucket

This commit is contained in:
Alan Elliott
2018-03-23 16:29:56 -07:00
committed by CekisSWG
parent f52aebcfb1
commit a72a84cef8
82556 changed files with 4633262 additions and 4288 deletions
@@ -0,0 +1,41 @@
/*
Title: resource_weight.java
Description: resource data used during crafting/manufacturing
*/
package script;
// This class is used to map a resource id to how much it influences crafting data
public class resource_weight
{
public static class weight
{
public int resource;
public int weight;
public weight(int r, int w)
{
resource = r;
weight = w;
}
}
public String attribName;
public int slot = -1;
public weight[] weights;
public resource_weight(String a, weight[] w)
{
attribName = a;
weights = w;
}
public resource_weight(String a, int s, weight[] w)
{
attribName = a;
slot = s;
weights = w;
}
}