mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 08:27:39 +00:00
Consider red rock & rubble to electrically insulate.
This commit is contained in:
@@ -221,6 +221,8 @@ EX namespace elec {
|
|||||||
return isElectricLand(c) ? ecConductor : ecGrounded;
|
return isElectricLand(c) ? ecConductor : ecGrounded;
|
||||||
if(c->wall == waBigTree || c->wall == waSmallTree)
|
if(c->wall == waBigTree || c->wall == waSmallTree)
|
||||||
return ecGrounded;
|
return ecGrounded;
|
||||||
|
if(among(c->wall, waRed1, waRed2, waRed3, waRubble, waDeadfloor2))
|
||||||
|
return ecIsolator;
|
||||||
if(c->wall == waBarrier)
|
if(c->wall == waBarrier)
|
||||||
return ecIsolator;
|
return ecIsolator;
|
||||||
if(c->wall == waChasm)
|
if(c->wall == waChasm)
|
||||||
|
Reference in New Issue
Block a user