Advertisement
evelynshilosky

Blueprint - Part 31

Feb 1st, 2024
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.67 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class Blueprint
  6. {
  7.  
  8.     public string itemName;
  9.  
  10.     public string Req1;
  11.     public string Req2;
  12.  
  13.     public int Req1amount;
  14.     public int Req2amount;
  15.  
  16.     public int numOfRequirements;
  17.  
  18.     public int numberOfItemsToProduce;
  19.  
  20.     public Blueprint(string name, int producedItems, int reqNUM, string R1, int R1num, string R2, int R2num)
  21.     {
  22.         itemName = name;
  23.  
  24.         numOfRequirements = reqNUM;
  25.  
  26.         numberOfItemsToProduce = producedItems;
  27.  
  28.         Req1 = R1;
  29.         Req2 = R2;
  30.  
  31.         Req1amount = R1num;
  32.         Req2amount = R2num;
  33.  
  34.     }
  35.  
  36.  
  37.  
  38.  
  39. }
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement