v0.6.0a: renamed overprice rations to small rations

This commit is contained in:
Evan Debenham 2017-06-07 18:47:34 -04:00
parent a5af7b0c8d
commit 670c0d9f98
4 changed files with 12 additions and 8 deletions

View File

@ -70,6 +70,11 @@ public class ShatteredPixelDungeon extends Game {
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.Shortsword.class,
"com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.NewShortsword" );
//v0.6.0a
com.watabou.utils.Bundle.addAlias(
com.shatteredpixel.shatteredpixeldungeon.items.food.SmallRation.class,
"com.shatteredpixel.shatteredpixeldungeon.items.food.OverpricedRation" );
com.watabou.utils.Bundle.exceptionReporter =
new com.watabou.utils.Bundle.BundleExceptionCallback() {

View File

@ -24,8 +24,7 @@ package com.shatteredpixel.shatteredpixeldungeon.items.food;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Hunger;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
//TODO rename this class to small ration in the next update
public class OverpricedRation extends Food {
public class SmallRation extends Food {
{
image = ItemSpriteSheet.OVERPRICED;

View File

@ -45,7 +45,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.bags.PotionBandolier;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.ScrollHolder;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.SeedPouch;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.WandHolster;
import com.shatteredpixel.shatteredpixeldungeon.items.food.OverpricedRation;
import com.shatteredpixel.shatteredpixeldungeon.items.food.SmallRation;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.Potion;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfHealing;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.Scroll;
@ -219,8 +219,8 @@ public class ShopRoom extends SpecialRoom {
Generator.random( Generator.Category.SCROLL ) );
itemsToSpawn.add( new OverpricedRation() );
itemsToSpawn.add( new OverpricedRation() );
itemsToSpawn.add( new SmallRation() );
itemsToSpawn.add( new SmallRation() );
itemsToSpawn.add( new Bomb().random() );
switch (Random.Int(5)){

View File

@ -363,9 +363,9 @@ items.food.mysterymeat.not_well=You are not feeling well.
items.food.mysterymeat.stuffed=You are stuffed.
items.food.mysterymeat.desc=Eat at your own risk!
items.food.overpricedration.name=small food ration
items.food.overpricedration.eat_msg=That food tasted ok.
items.food.overpricedration.desc=It looks exactly like a standard ration of food but smaller.
items.food.smallration.name=small food ration
items.food.smallration.eat_msg=That food tasted ok.
items.food.smallration.desc=It looks exactly like a standard ration of food but smaller.
items.food.pasty.pasty=pasty
items.food.pasty.pie=pumpkin pie