Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Lab Assistant
Original Poster
#1 Old 26th Nov 2017 at 10:54 PM
Default 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!
Advertisement
Inventor
#2 Old 28th Nov 2017 at 12:43 AM
Back to top