Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using ICities;
- using UnityEngine;
- namespace LessGarbageMod
- {
- public class Main : IUserMod
- {
- public string Name
- {
- get { return "LessGarbage"; }
- }
- public string Description
- {
- get { return "Divide garbage expenses by 4 for a more balanced gameplay."; }
- }
- }
- public class Economy : EconomyExtensionBase
- {
- public override int OnGetMaintenanceCost(int originalMaintenanceCost, Service service, SubService subService, Level level)
- {
- if (service == Service.Garbage)
- {
- return originalMaintenanceCost / 4;
- }
- else
- {
- return originalMaintenanceCost;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment