1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

PTM variants of the new Crossroad variants

This commit is contained in:
Zeno Rogue
2025-07-07 14:02:23 +02:00
parent 0381dc8c84
commit 3c9fe7075e

View File

@@ -1762,6 +1762,23 @@ EX void build_walls(cell *c, cell *from) {
return;
}
if(specialland == laCrossroads6 && hrand(I10000) < 5000) {
build_barrier_good(c, laCrossroads6);
return;
}
if(specialland == laThematic && good_for_wall(c) && hrand(10000) < 5000)
buildBarrierNowall(c, getNewThematic(c->land));
if(specialland == laMasterCrossroads && c->land == laMasterCrossroads && good_for_wall(c) && hrand(10000) < 100)
buildBarrierNowall(c, laCrossroads4);
if(specialland == laMasterCrossroads && hrand(10000) < 1500 && !among(c->land, laCrossroads4, laCrossroads2, laCrossroads5))
build_barrier_good(c, c->land == laMasterCrossroads ? pick(laCrossroads, laCrossroads2, laCrossroads3, laCrossroads5, laCrossroads6) : laMasterCrossroads);
if(specialland == laMasterCrossroads && hrand(10000) < 1500 && c->land == laCrossroads4)
buildBarrierNowall(c, laMasterCrossroads);
if(specialland == laCrossroads3) {
build_barrier_good(c, laCrossroads3);
return;