#1
26th Nov 2017 at 10:54 PM
Posts: 180
Thanks: 1134 in 22 Posts
6 Achievements
Chicken scripting mod!
I'm creating a scripting mod, and I have most of the logic done (I hope!). It will allow the chicken coop from the store to produce chicken (the roast from the store) as well as eggs. I'll need testers, but before we get to that, I need to compile this bad boy. I'm having a little trouble getting it to compile in express. I basically copied and pasted the run() code from harvest eggs and added a bit about adding roast to the inventory. I come from a javascript background and only fumbled around in C#, but I'm interested and motivated enough to push through. I get an error about private sealed classes at the start of the file.
Code:
private sealed class HarvestEggs : Interaction<Sim, ChickenCoopClassic>
What should I do to combat this?
Thanks!