summaryrefslogtreecommitdiff
path: root/scripts/make-jiangnan-art.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make-jiangnan-art.py')
-rw-r--r--scripts/make-jiangnan-art.py31
1 files changed, 18 insertions, 13 deletions
diff --git a/scripts/make-jiangnan-art.py b/scripts/make-jiangnan-art.py
index c28244f..caf0c01 100644
--- a/scripts/make-jiangnan-art.py
+++ b/scripts/make-jiangnan-art.py
@@ -192,24 +192,29 @@ def build_world_atlas():
# P64 桥:在既有栈板桥面上补可读的两侧栏杆与望柱(桥沿纵向铺 3 格,栏杆随格连续),
# 并保留桥面横铺板纹。低饱和木色,仍为 slot 5 单格、尺寸不变,不改位置/通行。
+ # P64 桥(整改):栏杆须在 1x 俯瞰下与桥面木色差 >= 2 档,故改用「深墨栏杆体 + 暖亮扶手线 +
+ # 亮色望柱」三段对比:桥面 (119,76,47) 为中间调,栏杆体远暗、扶手/望柱远亮。仍为 slot5 单格。
x0 = slot(5)
c.rect(x0, 0, 32, 32, wood)
+ # 桥面栈板(保留中间调木色)
for y in (0, 8, 16, 24):
- c.rect(x0 + 5, y, 22, 1, wood_light)
+ c.rect(x0 + 6, y, 20, 1, wood_light)
for y in (7, 15, 23, 31):
- c.rect(x0 + 5, y, 22, 1, wood_dark)
- bridge_rail = (132, 84, 52, 255)
- bridge_rail_light = (176, 122, 71, 255)
- bridge_rail_dark = (83, 52, 39, 255)
+ c.rect(x0 + 6, y, 20, 1, wood_dark)
+ bridge_rail_ink = (34, 28, 30, 255)
+ bridge_rail_light = (214, 196, 158, 255)
bridge_kerb = (150, 146, 138, 255)
- for bx in (1, 27):
- c.rect(x0 + bx, 0, 4, 32, bridge_rail)
- c.rect(x0 + bx, 0, 1, 32, bridge_rail_light)
- c.rect(x0 + bx + 3, 0, 1, 32, bridge_rail_dark)
- for by in (2, 10, 18, 26):
- c.rect(x0 + 1, by, 5, 3, bridge_rail_dark)
- c.rect(x0 + 27, by, 5, 3, bridge_rail_dark)
- for bx in (5, 26):
+ for bx in (1, 26):
+ # 通长栏杆体(深墨,宽 5px)
+ c.rect(x0 + bx, 0, 5, 32, bridge_rail_ink)
+ # 扶手亮线(沿栏杆全长,与桥面亮 2 档以上)
+ c.rect(x0 + bx + 1, 0, 1, 32, bridge_rail_light)
+ # 望柱:每格两根,暖亮柱头压住深墨栏体
+ for by in (1, 17):
+ c.rect(x0 + bx, by, 5, 5, bridge_rail_light)
+ c.rect(x0 + bx, by + 5, 5, 1, bridge_rail_ink)
+ # 桥面与栏杆交界的石缘
+ for bx in (6, 25):
c.rect(x0 + bx, 0, 1, 32, bridge_kerb)
x0 = slot(6)