Advertisement
Guest User

UnlockAllMod.cs

a guest
Mar 6th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 KB | None | 0 0
  1. using System;
  2. using ICities;
  3. using UnityEngine;
  4.  
  5. namespace UnlockAllMod {
  6.  
  7.     public class TileMod : IUserMod {
  8.         public void OnLoad() {
  9.  
  10.         }
  11.        
  12.         public void OnUnLoad(){
  13.  
  14.         }
  15.  
  16.         public string Name {
  17.             get { return "No Tile Limit."; }
  18.         }
  19.  
  20.         public string Description {
  21.             get { return "A mod to unlock all 25 tiles to be available for purchase."; }
  22.         }
  23.     }
  24.  
  25.     public class TileModIAreas : IAreas{
  26.         public override int maxAreaCount {
  27.             get { return 25; }
  28.  
  29.             set {}
  30.         }
  31.  
  32.         public override bool CanUnlockArea(int x, int z){
  33.            
  34.             return (IsAreaUnlocked(x, z)) ? false : true;
  35.         }
  36.     }
  37.  
  38.  
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement