1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 22:19:07 +00:00

Merge branch 'master' of /home/fg/fgone/Aquaria_fg_clean

This commit is contained in:
fgenesis 2012-07-12 02:43:13 +00:00
commit 93892ff46a
3 changed files with 4 additions and 14 deletions

View file

@ -3263,14 +3263,12 @@ void Continuity::reset()
if(dsq->mod.isActive())
{
//load mod ingredients
fname = localisePath(dsq->mod.getPath() + "ingredients.txt", dsq->mod.getPath());
loadIngredientData(fname);
loadIngredientData(dsq->mod.getPath() + "ingredients.txt");
}
//load ingredients for the main game
if(ingredientData.empty() && recipes.empty()) {
fname = localisePath("data/ingredients.txt");
loadIngredientData(fname);
loadIngredientData("data/ingredients.txt");
}
loadPetData();

View file

@ -129,15 +129,7 @@ RecipeMenuEntry::RecipeMenuEntry(Recipe *recipe) : RenderObject(), recipe(recipe
text->scale = Vector(0.8, 0.8);
text->position = Vector(100*c, 0); //-20
std::string typeName = recipe->types[i].typeName;
size_t loc = typeName.find("Type");
if (loc != std::string::npos)
{
typeName = typeName.substr(0, loc) + typeName.substr(loc+4, typeName.size());
}
typeName = dsq->continuity.getIngredientDisplayName(typeName);
std::string typeName = dsq->continuity.getIngredientDisplayName(recipe->types[i].typeName);
if (recipe->types[i].type != IT_ANYTHING)
typeName = dsq->continuity.stringBank.get(2031) + "\n" + typeName;

View file

@ -38,7 +38,7 @@ Mushroom Mushroom
Oil Oil
Part Part
Perogi Perogi
PerogiType Perogi Type
PerogiType Perogi
PlantBulb Plant Bulb
PlantLeaf Plant Leaf
PlumpPerogi Plump Perogi