rename ore to the more generic name resources everywhere

This commit is contained in:
Matthias Mailänder
2014-05-17 14:38:07 +02:00
parent 30fa8f35d8
commit 3e627d2eba
24 changed files with 107 additions and 93 deletions

View File

@@ -63,11 +63,11 @@ namespace OpenRA.Mods.RA
.Where(a => a.Trait.LinkedProc == self);
}
public bool CanGiveOre(int amount) { return PlayerResources.CanGiveOre(amount); }
public bool CanGiveOre(int amount) { return PlayerResources.CanGiveResources(amount); }
public void GiveOre(int amount)
{
PlayerResources.GiveOre(amount);
PlayerResources.GiveResources(amount);
if (Info.ShowTicks)
currentDisplayValue += amount;
}