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.py62
1 files changed, 57 insertions, 5 deletions
diff --git a/scripts/make-jiangnan-art.py b/scripts/make-jiangnan-art.py
index f65390c..c28244f 100644
--- a/scripts/make-jiangnan-art.py
+++ b/scripts/make-jiangnan-art.py
@@ -190,15 +190,27 @@ def build_world_atlas():
c.rect(x0, 27, 32, 5, wall_shadow)
c.rect(x0, 31, 32, 1, (120, 102, 80, 255))
+ # P64 桥:在既有栈板桥面上补可读的两侧栏杆与望柱(桥沿纵向铺 3 格,栏杆随格连续),
+ # 并保留桥面横铺板纹。低饱和木色,仍为 slot 5 单格、尺寸不变,不改位置/通行。
x0 = slot(5)
c.rect(x0, 0, 32, 32, wood)
for y in (0, 8, 16, 24):
- c.rect(x0, y, 32, 1, wood_light)
+ c.rect(x0 + 5, y, 22, 1, wood_light)
for y in (7, 15, 23, 31):
- c.rect(x0, y, 32, 1, wood_dark)
- for y in (4, 12, 20, 28):
- c.set(x0 + 4, y, (61, 45, 49, 255))
- c.set(x0 + 27, y, (61, 45, 49, 255))
+ 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)
+ 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):
+ c.rect(x0 + bx, 0, 1, 32, bridge_kerb)
x0 = slot(6)
for stem in (5, 15, 25):
@@ -959,6 +971,46 @@ def build_interior_atlas():
c.rect(x0, y0 + 33, 40, 3, ink)
c.outline(x0, y0, 40, 36)
+ # P64 内景下半部家具补件(自由区,保持 392x96 尺寸不变):
+ # 椅 Chair 28x44 @ (4,8)
+ x0, y0 = 4, 8
+ c.rect(x0, y0, 28, 44, frame_wood)
+ c.rect(x0 + 2, y0 + 2, 24, 26, wood)
+ c.rect(x0 + 2, y0 + 2, 24, 3, wood_light)
+ c.rect(x0 + 4, y0 + 30, 20, 8, wood_light)
+ c.rect(x0 + 4, y0 + 38, 20, 1, wood_dark)
+ c.rect(x0 + 2, y0 + 39, 3, 3, frame_wood)
+ c.rect(x0 + 23, y0 + 39, 3, 3, frame_wood)
+ c.outline(x0, y0, 28, 44)
+
+ # 凳 Stool 24x22 @ (36,14)
+ x0, y0 = 36, 14
+ c.rect(x0, y0, 24, 8, wood_light)
+ c.rect(x0, y0, 24, 2, (188, 155, 110, 255))
+ c.rect(x0, y0 + 6, 24, 1, wood_dark)
+ c.rect(x0 + 2, y0 + 8, 3, 12, frame_wood)
+ c.rect(x0 + 19, y0 + 8, 3, 12, frame_wood)
+ c.outline(x0, y0, 24, 22)
+
+ # 床尾凳 BedFoot 56x18 @ (262,4)
+ x0, y0 = 262, 4
+ c.rect(x0, y0 + 2, 56, 9, wood_light)
+ c.rect(x0, y0 + 2, 56, 2, (188, 155, 110, 255))
+ c.rect(x0 + 2, y0 + 11, 4, 6, frame_wood)
+ c.rect(x0 + 50, y0 + 11, 4, 6, frame_wood)
+ c.rect(x0 + 10, y0 + 11, 3, 5, frame_wood)
+ c.rect(x0 + 43, y0 + 11, 3, 5, frame_wood)
+ c.outline(x0, y0, 56, 18)
+
+ # 茶壶(柜旁小物) Teapot 20x16 @ (330,6)
+ x0, y0 = 330, 6
+ c.rect(x0 + 6, y0, 6, 4, (196, 92, 74, 255))
+ c.rect(x0 + 8, y0 - 1, 2, 2, brass)
+ c.rect(x0 + 2, y0 + 4, 14, 10, (196, 92, 74, 255))
+ c.rect(x0 + 2, y0 + 4, 14, 2, (216, 120, 100, 255))
+ c.rect(x0 + 16, y0 + 7, 4, 4, (196, 92, 74, 255))
+ c.outline(x0, y0, 20, 16)
+
return c