mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
(incomplete) some preparation for the Lovasz Conjecture achievement
This commit is contained in:
parent
ee1837e3d8
commit
e57fc630b4
@ -2256,6 +2256,14 @@ void celldrawer::draw_item_full() {
|
||||
|
||||
color_t icol = 0;
|
||||
|
||||
if(specialland == laMotion && items[itOrbInvis] && c->wall == waChasm) {
|
||||
if(c->mondir < c->type) {
|
||||
vid.linewidth *= 3;
|
||||
queueline(V*C0, V*currentmap->adj(c, c->mondir) * C0, 0xFFD500FF, 4);
|
||||
vid.linewidth /= 3;
|
||||
}
|
||||
}
|
||||
|
||||
if(it) {
|
||||
asciichar = iinf[it].glyph, asciicol = icol = iinf[it].color;
|
||||
if(doHighlight()) asciiborder = kind_outline(it) >> 8;
|
||||
|
@ -377,7 +377,7 @@ EX void wandering() {
|
||||
|
||||
if(smallbounded_generation && !c->item && hrand(5) == 0 && c->land != laHalloween) {
|
||||
if(passable(c, NULL, 0) || specialland == laKraken) {
|
||||
if(c->land != laGraveyard && !haveOrbPower() && specialland != laHell) for(int it=0; it<1000 && !c->item; it++)
|
||||
if(c->land != laGraveyard && (c->land != laMotion || chaosmode || daily::on) && !haveOrbPower() && specialland != laHell) for(int it=0; it<1000 && !c->item; it++)
|
||||
placeLocalOrbs(c);
|
||||
if(!c->item) c->item = wanderingTreasure(c);
|
||||
if(c->item == itShard) {
|
||||
|
@ -1304,7 +1304,10 @@ EX void playerMoveEffects(movei mi) {
|
||||
drainOrb(itOrbAether, 2);
|
||||
}
|
||||
|
||||
if(cellUnstable(c2) && !markOrb(itOrbAether)) doesFallSound(c2);
|
||||
if(cellUnstable(c2) && !markOrb(itOrbAether)) {
|
||||
doesFallSound(c2);
|
||||
if(c2->land == laMotion && c2->wall == waChasm) c2->mondir = mi.rev_dir_or(NODIR);
|
||||
}
|
||||
|
||||
if(c2->wall == waStrandedBoat && markOrb(itOrbWater))
|
||||
c2->wall = waBoat;
|
||||
|
@ -338,6 +338,10 @@ EX void initgame() {
|
||||
generate_mines();
|
||||
}
|
||||
|
||||
if(specialland == laMotion && bounded && !chaosmode && !daily::on) {
|
||||
cwt.at->item = itOrbInvis;
|
||||
}
|
||||
|
||||
princess::squeaked = false;
|
||||
clearing::current_root = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user