1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

ru:: some work on potions

This commit is contained in:
Zeno Rogue
2025-05-05 11:50:52 +02:00
parent 69b5950792
commit 3790269e79
2 changed files with 65 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ struct power {
int qty_filled;
int qty_owned;
flagtype flags;
int random_flavor;
void init();
hr::function<void(data&)> act, paused_act;
hr::function<string()> get_name;
@@ -39,6 +40,7 @@ struct power {
power& identified_name(string, string);
power& be_wearable(string wear_effect, string remove_effect);
power& be_jewelry(string jtype, string desc);
power& be_potion();
};
extern vector<power> powers;