Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

Nysha's New Creators for March - posted on 1st Apr 2018 at 9:00 AM
Replies: 1 (Who?), Viewed: 1919 times.
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