1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

ru:: power::gain

This commit is contained in:
Zeno Rogue
2025-07-31 17:50:51 +02:00
parent 4664591e3a
commit 4f455edf81

View File

@@ -60,6 +60,7 @@ struct power {
power& be_wearable(string wear_effect, string remove_effect, string worn = " (worn)"); power& be_wearable(string wear_effect, string remove_effect, string worn = " (worn)");
power& be_jewelry(string jtype, string desc); power& be_jewelry(string jtype, string desc);
power& be_potion(); power& be_potion();
power& gain(int qf, int qo) { qty_filled += qf; qty_owned += qo; return self; }
}; };
extern vector<power> powers; extern vector<power> powers;