1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-25 01:44:48 +00:00

ru:: icicles

This commit is contained in:
Zeno Rogue
2025-08-04 23:50:55 +02:00
parent dd14600837
commit 120698379f
4 changed files with 50 additions and 0 deletions

View File

@@ -231,6 +231,13 @@ void load_room(fhstream& f, cell *c) {
b->respawn = b->where; b->respawn_spindir = b->spindir; b->postfix();
r.entities.emplace_back(std::move(b));
}
else if(cap == "ICICLE") {
auto b = std::make_unique<icicle>();
sscanf(param.c_str(), "%lf%lf", &b->where.x, &b->where.y);
b->falling = false; b->vel = xy{0,0};
b->respawn = b->where; b->postfix();
r.entities.emplace_back(std::move(b));
}
else if(cap == "VTRAP") {
auto b = std::make_unique<vtrap>();
sscanf(param.c_str(), "%lf%lf", &b->where.x, &b->where.y);