1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-07 22:49:54 +00:00

Consider red rock & rubble to electrically insulate.

This commit is contained in:
Jacob Mandelson 2024-03-11 12:03:48 -07:00
parent a40e72f1d8
commit ee293310b6

View File

@ -221,6 +221,8 @@ EX namespace elec {
return isElectricLand(c) ? ecConductor : ecGrounded;
if(c->wall == waBigTree || c->wall == waSmallTree)
return ecGrounded;
if(among(c->wall, waRed1, waRed2, waRed3, waRubble, waDeadfloor2))
return ecIsolator;
if(c->wall == waBarrier)
return ecIsolator;
if(c->wall == waChasm)