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

Latest Site News

2018 Calendar Contest Winners - posted on 10th Jan 2018 at 5:38 PM
Replies: 1 (Who?), Viewed: 1492 times.
Lab Assistant
Original Poster
#1 Old 26th Nov 2017 at 11: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
Forum Resident
#2 Old 28th Nov 2017 at 1:43 AM
Back to top