1
0

feat: 添加路牌、红绿灯方块

This commit is contained in:
2025-04-27 23:47:35 +08:00
parent 6a2540a389
commit 9e502c41ed
15 changed files with 1746 additions and 0 deletions

View File

@@ -1291,6 +1291,30 @@ function regBlockOtherBasic(event) {
texture: '',
orientable: false,
},
{
name: 'road_sign_a_ns',
box: [1, 1, 1, 15, 15, 15, true],
label: '路牌NS',
model: 'road_sign/road_sign_a_ns',
texture: '',
orientable: false,
},
{
name: 'road_sign_a_we',
box: [1, 1, 1, 15, 15, 15, true],
label: '路牌WE',
model: 'road_sign/road_sign_a_we',
texture: '',
orientable: false,
},
{
name: 'road_sign_a_pole',
box: [1, 1, 1, 15, 15, 15, true],
label: '路牌(杆子)',
model: 'road_sign/road_sign_a_pole',
texture: '',
orientable: false,
},
{
name: 'station_sign_a',
box: [0, 0, 6, 16, 16, 10, true],
@@ -1323,6 +1347,54 @@ function regBlockOtherBasic(event) {
texture: '',
orientable: true,
},
{
name: 'traffic_light_a_pedestrian_ns',
box: [1, 1, 1, 15, 15, 15, true],
label: '人行道红绿灯NS',
model: 'traffic_light/traffic_light_a_pedestrian_ns',
texture: '',
orientable: true,
},
{
name: 'traffic_light_a_pedestrian_we',
box: [1, 1, 1, 15, 15, 15, true],
label: '人行道红绿灯WE',
model: 'traffic_light/traffic_light_a_pedestrian_we',
texture: '',
orientable: true,
},
{
name: 'traffic_light_a_traffic_h_ns',
box: [1, 1, 1, 15, 15, 15, true],
label: '交通红绿灯水平NS',
model: 'traffic_light/traffic_light_a_traffic_h_ns',
texture: '',
orientable: true,
},
{
name: 'traffic_light_a_traffic_h_we',
box: [1, 1, 1, 15, 15, 15, true],
label: '交通红绿灯水平WE',
model: 'traffic_light/traffic_light_a_traffic_h_we',
texture: '',
orientable: true,
},
{
name: 'traffic_light_a_traffic_v_ns',
box: [1, 1, 1, 15, 15, 15, true],
label: '交通红绿灯垂直NS',
model: 'traffic_light/traffic_light_a_traffic_v_ns',
texture: '',
orientable: true,
},
{
name: 'traffic_light_a_traffic_v_we',
box: [1, 1, 1, 15, 15, 15, true],
label: '交通红绿灯垂直we',
model: 'traffic_light/traffic_light_a_traffic_v_we',
texture: '',
orientable: true,
},
];
blocks.forEach((config) => {