summaryrefslogtreecommitdiffstats
path: root/Hex.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Hex.gd')
-rw-r--r--Hex.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Hex.gd b/Hex.gd
index 32e4083..1e343b7 100644
--- a/Hex.gd
+++ b/Hex.gd
@@ -14,8 +14,8 @@ func inspect() -> String:
if type == 0: s = 'city'
elif type == 1: s = 'wood'
elif type == 2: s = 'mountain'
- elif type == 3: s = 'impracticable'
- return "%s e:%d h:%d c:%d r:%d\n -> [%d;%d]\n -> (%d;%d)" % [s, elevation(), height(), cost(), roads, coords.x, coords.y, position.x, position.y]
+ elif type == 3: s = 'blocked'
+ return "[%d;%d]\n -> (%d;%d)\n -> %s\ne:%d h:%d c:%d r:%d" % [coords.x, coords.y, position.x, position.y, s, elevation(), height(), cost(), roads]
func has_road(o : int) -> bool:
return (o & roads) > 0