From 888b0ebfec8c2eff9015163549a7e47443cb8665 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 21:00:20 -0400 Subject: "explode" all modpacks into their individual components (you can't have a modpack buried inside a modpack) --- streets/infrastructure/README | 14 - .../advanced_aircraft_warning_light.lua | 55 - .../advanced_automatic_warning_device.lua | 464 ------ streets/infrastructure/advanced_boom_barrier.lua | 508 ------- .../infrastructure/advanced_crosswalk_lighting.lua | 85 -- .../advanced_crosswalk_safety_sign.lua | 85 -- .../advanced_crosswalk_warning_light.lua | 124 -- streets/infrastructure/advanced_curve_chevron.lua | 85 -- .../infrastructure/advanced_emergency_phone.lua | 107 -- .../advanced_lane_control_lights.lua | 91 -- streets/infrastructure/advanced_road_signs.lua | 237 ---- .../advanced_traffic_lights_pedestrians.lua | 252 ---- streets/infrastructure/advanced_warning_light.lua | 47 - streets/infrastructure/crafts.lua | 443 ------ streets/infrastructure/depends.txt | 8 - streets/infrastructure/init.lua | 26 - streets/infrastructure/nodes.lua | 1473 -------------------- streets/infrastructure/nodes_extension.lua | 162 --- streets/infrastructure/settings.lua | 49 - .../infrastructure_automatic_warning_device.ogg | Bin 90708 -> 0 bytes .../sounds/infrastructure_boom_barrier.ogg | Bin 35717 -> 0 bytes .../infrastructure/sounds/infrastructure_ebell.ogg | Bin 26398 -> 0 bytes .../sounds/infrastructure_emergency_phone.ogg | Bin 18073 -> 0 bytes .../sounds/infrastructure_traffic_lights_1.ogg | Bin 13500 -> 0 bytes .../sounds/infrastructure_traffic_lights_2.ogg | Bin 15454 -> 0 bytes ...astructure_aircraft_warning_light_side_anim.png | Bin 550 -> 0 bytes ...rastructure_aircraft_warning_light_top_anim.png | Bin 701 -> 0 bytes .../infrastructure_anti_dazzling_panel_side.png | Bin 960 -> 0 bytes ...frastructure_anti_dazzling_panel_top_bottom.png | Bin 652 -> 0 bytes .../textures/infrastructure_asphalt.png | Bin 731 -> 0 bytes .../infrastructure_automatic_warning_device.png | Bin 8347 -> 0 bytes ...rastructure_automatic_warning_device_bottom.png | Bin 450 -> 0 bytes ...rastructure_automatic_warning_device_middle.png | Bin 1268 -> 0 bytes ...automatic_warning_device_middle_center_anim.png | Bin 3429 -> 0 bytes ..._automatic_warning_device_middle_center_off.png | Bin 2259 -> 0 bytes ...automatic_warning_device_middle_center_side.png | Bin 1048 -> 0 bytes ...e_automatic_warning_device_middle_left_anim.png | Bin 795 -> 0 bytes ...re_automatic_warning_device_middle_left_off.png | Bin 373 -> 0 bytes ...e_automatic_warning_device_middle_left_side.png | Bin 389 -> 0 bytes ..._automatic_warning_device_middle_right_anim.png | Bin 822 -> 0 bytes ...e_automatic_warning_device_middle_right_off.png | Bin 413 -> 0 bytes ..._automatic_warning_device_middle_right_side.png | Bin 362 -> 0 bytes ...ucture_automatic_warning_device_middle_side.png | Bin 603 -> 0 bytes ...infrastructure_automatic_warning_device_top.png | Bin 2818 -> 0 bytes ...structure_automatic_warning_device_top_side.png | Bin 878 -> 0 bytes ...structure_boom_barrier_arm_h_anim_darkfirst.png | Bin 762 -> 0 bytes ...tructure_boom_barrier_arm_h_anim_lightfirst.png | Bin 811 -> 0 bytes ...ucture_boom_barrier_arm_h_bottom_front_back.png | Bin 315 -> 0 bytes ...ucture_boom_barrier_arm_h_left_right_bright.png | Bin 600 -> 0 bytes .../infrastructure_boom_barrier_arm_h_top.png | Bin 359 -> 0 bytes .../infrastructure_boom_barrier_arm_v_left.png | Bin 550 -> 0 bytes .../infrastructure_boom_barrier_arm_v_right.png | Bin 527 -> 0 bytes .../infrastructure_boom_barrier_h_bottom.png | Bin 558 -> 0 bytes .../infrastructure_boom_barrier_h_front_back.png | Bin 504 -> 0 bytes .../infrastructure_boom_barrier_h_left.png | Bin 566 -> 0 bytes .../infrastructure_boom_barrier_h_right.png | Bin 562 -> 0 bytes .../textures/infrastructure_boom_barrier_h_top.png | Bin 549 -> 0 bytes .../infrastructure_boom_barrier_v_bottom.png | Bin 509 -> 0 bytes .../infrastructure_boom_barrier_v_front_back.png | Bin 573 -> 0 bytes .../infrastructure_boom_barrier_v_left.png | Bin 532 -> 0 bytes .../infrastructure_boom_barrier_v_right.png | Bin 540 -> 0 bytes .../infrastructure_cable_barrier_terminal_back.png | Bin 1217 -> 0 bytes ...infrastructure_cable_barrier_terminal_front.png | Bin 1224 -> 0 bytes .../textures/infrastructure_concrete.png | Bin 732 -> 0 bytes .../infrastructure_corrugated_guide_rail_back.png | Bin 1142 -> 0 bytes .../infrastructure_corrugated_guide_rail_front.png | Bin 1135 -> 0 bytes .../infrastructure_corrugated_guide_rail_side.png | Bin 1108 -> 0 bytes .../textures/infrastructure_corrugated_sheet.png | Bin 1166 -> 0 bytes .../infrastructure_crosswalk_lighting_back.png | Bin 1019 -> 0 bytes .../infrastructure_crosswalk_lighting_bottom.png | Bin 749 -> 0 bytes .../infrastructure_crosswalk_lighting_front.png | Bin 1025 -> 0 bytes .../infrastructure_crosswalk_safety_sign.png | Bin 703 -> 0 bytes ...ure_crosswalk_safety_sign_bottom_front_back.png | Bin 498 -> 0 bytes ...structure_crosswalk_safety_sign_bottom_side.png | Bin 348 -> 0 bytes .../infrastructure_crosswalk_safety_sign_top.png | Bin 479 -> 0 bytes ...ucture_crosswalk_safety_sign_top_front_back.png | Bin 343 -> 0 bytes ...frastructure_crosswalk_safety_sign_top_side.png | Bin 199 -> 0 bytes ...infrastructure_crosswalk_warning_light_back.png | Bin 460 -> 0 bytes ...tructure_crosswalk_warning_light_front_anim.png | Bin 1343 -> 0 bytes ...ucture_crosswalk_warning_light_front_bright.png | Bin 1021 -> 0 bytes ...tructure_crosswalk_warning_light_front_dark.png | Bin 606 -> 0 bytes ...infrastructure_crowd_control_barricade_back.png | Bin 1050 -> 0 bytes ...nfrastructure_crowd_control_barricade_front.png | Bin 1078 -> 0 bytes .../infrastructure_curve_chevron_left_bright.png | Bin 960 -> 0 bytes .../infrastructure_curve_chevron_left_dark.png | Bin 382 -> 0 bytes .../infrastructure_curve_chevron_right_bright.png | Bin 988 -> 0 bytes .../infrastructure_curve_chevron_right_dark.png | Bin 387 -> 0 bytes ...nfrastructure_delineator_retroreflector_red.png | Bin 736 -> 0 bytes ...astructure_delineator_retroreflector_yellow.png | Bin 792 -> 0 bytes .../infrastructure_delineator_wrapper_left.png | Bin 707 -> 0 bytes .../infrastructure_delineator_wrapper_right.png | Bin 713 -> 0 bytes .../infrastructure_drainage_channel_grating.png | Bin 1628 -> 0 bytes .../infrastructure_emergency_phone_bottom.png | Bin 544 -> 0 bytes .../infrastructure_emergency_phone_front.png | Bin 802 -> 0 bytes .../infrastructure_emergency_phone_side.png | Bin 768 -> 0 bytes .../infrastructure_emergency_phone_top.png | Bin 689 -> 0 bytes ...frastructure_energy_absorbing_terminal_back.png | Bin 1160 -> 0 bytes ...rastructure_energy_absorbing_terminal_front.png | Bin 865 -> 0 bytes .../infrastructure_fitch_barrel_bottom.png | Bin 713 -> 0 bytes .../textures/infrastructure_fitch_barrel_side.png | Bin 979 -> 0 bytes .../textures/infrastructure_fitch_barrel_top.png | Bin 625 -> 0 bytes .../textures/infrastructure_galvanized_steel.png | Bin 1067 -> 0 bytes .../textures/infrastructure_grid_paver_bottom.png | Bin 1093 -> 0 bytes .../textures/infrastructure_grid_paver_grass.png | Bin 443 -> 0 bytes .../textures/infrastructure_grid_paver_top.png | Bin 1597 -> 0 bytes .../infrastructure_lane_control_lights_1.png | Bin 1905 -> 0 bytes .../infrastructure_lane_control_lights_2.png | Bin 4010 -> 0 bytes .../infrastructure_lane_control_lights_3.png | Bin 4148 -> 0 bytes .../infrastructure_lane_control_lights_4.png | Bin 4159 -> 0 bytes .../infrastructure_lane_control_lights_5.png | Bin 4119 -> 0 bytes .../infrastructure_lane_control_lights_6.png | Bin 4160 -> 0 bytes .../textures/infrastructure_manhole_cover_side.png | Bin 700 -> 0 bytes .../infrastructure_manhole_cover_top_bottom.png | Bin 670 -> 0 bytes .../textures/infrastructure_marker_bottom_side.png | Bin 153 -> 0 bytes .../textures/infrastructure_marker_side_red.png | Bin 180 -> 0 bytes .../textures/infrastructure_marker_side_yellow.png | Bin 183 -> 0 bytes .../infrastructure_marker_top_red_yellow.png | Bin 198 -> 0 bytes .../infrastructure_marker_top_yellow_yellow.png | Bin 182 -> 0 bytes .../textures/infrastructure_noise_barrier.png | Bin 1524 -> 0 bytes .../textures/infrastructure_razor_wire.png | Bin 926 -> 0 bytes .../textures/infrastructure_riffled_sheet.png | Bin 2145 -> 0 bytes .../infrastructure_road_sign_crosswalk_back.png | Bin 604 -> 0 bytes .../infrastructure_road_sign_crosswalk_front.png | Bin 1158 -> 0 bytes ...structure_road_sign_retroreflective_surface.png | Bin 175 -> 0 bytes .../infrastructure_road_sign_right_of_way_back.png | Bin 664 -> 0 bytes ...infrastructure_road_sign_right_of_way_front.png | Bin 820 -> 0 bytes .../infrastructure_road_sign_stop_back.png | Bin 693 -> 0 bytes .../infrastructure_road_sign_stop_front.png | Bin 1208 -> 0 bytes .../infrastructure_road_sign_yield_back.png | Bin 575 -> 0 bytes .../infrastructure_road_sign_yield_front.png | Bin 742 -> 0 bytes .../infrastructure_traffic_cone_bottom.png | Bin 752 -> 0 bytes .../textures/infrastructure_traffic_cone_side.png | Bin 371 -> 0 bytes .../textures/infrastructure_traffic_cone_top.png | Bin 609 -> 0 bytes .../infrastructure_traffic_lights_pedestrians.png | Bin 1899 -> 0 bytes ...ture_traffic_lights_pedestrians_bottom_back.png | Bin 495 -> 0 bytes ...e_traffic_lights_pedestrians_bottom_front_1.png | Bin 798 -> 0 bytes ...e_traffic_lights_pedestrians_bottom_front_2.png | Bin 798 -> 0 bytes ...e_traffic_lights_pedestrians_bottom_front_3.png | Bin 999 -> 0 bytes ...e_traffic_lights_pedestrians_bottom_front_4.png | Bin 999 -> 0 bytes ...ructure_traffic_lights_pedestrians_top_back.png | Bin 459 -> 0 bytes ...ture_traffic_lights_pedestrians_top_front_1.png | Bin 938 -> 0 bytes ...ture_traffic_lights_pedestrians_top_front_2.png | Bin 938 -> 0 bytes ...ture_traffic_lights_pedestrians_top_front_3.png | Bin 693 -> 0 bytes ...ture_traffic_lights_pedestrians_top_front_4.png | Bin 693 -> 0 bytes .../infrastructure_traffic_lights_side.png | Bin 568 -> 0 bytes .../infrastructure_traffic_lights_vehicles.png | Bin 3062 -> 0 bytes ...astructure_traffic_lights_vehicles_bottom_1.png | Bin 851 -> 0 bytes ...astructure_traffic_lights_vehicles_bottom_2.png | Bin 1264 -> 0 bytes ...astructure_traffic_lights_vehicles_bottom_3.png | Bin 1518 -> 0 bytes ...astructure_traffic_lights_vehicles_bottom_4.png | Bin 1264 -> 0 bytes ...nfrastructure_traffic_lights_vehicles_top_1.png | Bin 1382 -> 0 bytes ...nfrastructure_traffic_lights_vehicles_top_2.png | Bin 1612 -> 0 bytes ...nfrastructure_traffic_lights_vehicles_top_3.png | Bin 817 -> 0 bytes ...nfrastructure_traffic_lights_vehicles_top_4.png | Bin 1159 -> 0 bytes .../textures/infrastructure_truss.png | Bin 1328 -> 0 bytes .../textures/infrastructure_warning_light_back.png | Bin 481 -> 0 bytes .../infrastructure_warning_light_bottom.png | Bin 269 -> 0 bytes .../infrastructure_warning_light_front_anim.png | Bin 1219 -> 0 bytes .../textures/infrastructure_warning_light_left.png | Bin 247 -> 0 bytes .../infrastructure_warning_light_right.png | Bin 236 -> 0 bytes .../textures/infrastructure_warning_light_top.png | Bin 250 -> 0 bytes .../textures/infrastructure_wire_netting.png | Bin 1030 -> 0 bytes ...nfrastructure_wire_rope_safety_barrier_back.png | Bin 1134 -> 0 bytes ...frastructure_wire_rope_safety_barrier_front.png | Bin 1146 -> 0 bytes 164 files changed, 4315 deletions(-) delete mode 100644 streets/infrastructure/README delete mode 100644 streets/infrastructure/advanced_aircraft_warning_light.lua delete mode 100644 streets/infrastructure/advanced_automatic_warning_device.lua delete mode 100644 streets/infrastructure/advanced_boom_barrier.lua delete mode 100644 streets/infrastructure/advanced_crosswalk_lighting.lua delete mode 100644 streets/infrastructure/advanced_crosswalk_safety_sign.lua delete mode 100644 streets/infrastructure/advanced_crosswalk_warning_light.lua delete mode 100644 streets/infrastructure/advanced_curve_chevron.lua delete mode 100644 streets/infrastructure/advanced_emergency_phone.lua delete mode 100644 streets/infrastructure/advanced_lane_control_lights.lua delete mode 100644 streets/infrastructure/advanced_road_signs.lua delete mode 100644 streets/infrastructure/advanced_traffic_lights_pedestrians.lua delete mode 100644 streets/infrastructure/advanced_warning_light.lua delete mode 100644 streets/infrastructure/crafts.lua delete mode 100644 streets/infrastructure/depends.txt delete mode 100644 streets/infrastructure/init.lua delete mode 100644 streets/infrastructure/nodes.lua delete mode 100644 streets/infrastructure/nodes_extension.lua delete mode 100644 streets/infrastructure/settings.lua delete mode 100644 streets/infrastructure/sounds/infrastructure_automatic_warning_device.ogg delete mode 100644 streets/infrastructure/sounds/infrastructure_boom_barrier.ogg delete mode 100644 streets/infrastructure/sounds/infrastructure_ebell.ogg delete mode 100644 streets/infrastructure/sounds/infrastructure_emergency_phone.ogg delete mode 100644 streets/infrastructure/sounds/infrastructure_traffic_lights_1.ogg delete mode 100644 streets/infrastructure/sounds/infrastructure_traffic_lights_2.ogg delete mode 100644 streets/infrastructure/textures/infrastructure_aircraft_warning_light_side_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_aircraft_warning_light_top_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_anti_dazzling_panel_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_anti_dazzling_panel_top_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_asphalt.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_off.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_off.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_off.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_automatic_warning_device_top_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_darkfirst.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_lightfirst.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_bottom_front_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_left_right_bright.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_left.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_right.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_h_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_h_front_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_h_left.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_h_right.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_h_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_v_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_v_front_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_v_left.png delete mode 100644 streets/infrastructure/textures/infrastructure_boom_barrier_v_right.png delete mode 100644 streets/infrastructure/textures/infrastructure_cable_barrier_terminal_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_cable_barrier_terminal_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_concrete.png delete mode 100644 streets/infrastructure/textures/infrastructure_corrugated_guide_rail_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_corrugated_guide_rail_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_corrugated_guide_rail_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_corrugated_sheet.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_lighting_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_lighting_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_lighting_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_safety_sign.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_front_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_front_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_warning_light_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_bright.png delete mode 100644 streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_dark.png delete mode 100644 streets/infrastructure/textures/infrastructure_crowd_control_barricade_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_crowd_control_barricade_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_curve_chevron_left_bright.png delete mode 100644 streets/infrastructure/textures/infrastructure_curve_chevron_left_dark.png delete mode 100644 streets/infrastructure/textures/infrastructure_curve_chevron_right_bright.png delete mode 100644 streets/infrastructure/textures/infrastructure_curve_chevron_right_dark.png delete mode 100644 streets/infrastructure/textures/infrastructure_delineator_retroreflector_red.png delete mode 100644 streets/infrastructure/textures/infrastructure_delineator_retroreflector_yellow.png delete mode 100644 streets/infrastructure/textures/infrastructure_delineator_wrapper_left.png delete mode 100644 streets/infrastructure/textures/infrastructure_delineator_wrapper_right.png delete mode 100644 streets/infrastructure/textures/infrastructure_drainage_channel_grating.png delete mode 100644 streets/infrastructure/textures/infrastructure_emergency_phone_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_emergency_phone_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_emergency_phone_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_emergency_phone_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_fitch_barrel_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_fitch_barrel_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_fitch_barrel_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_galvanized_steel.png delete mode 100644 streets/infrastructure/textures/infrastructure_grid_paver_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_grid_paver_grass.png delete mode 100644 streets/infrastructure/textures/infrastructure_grid_paver_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_lane_control_lights_1.png delete mode 100644 streets/infrastructure/textures/infrastructure_lane_control_lights_2.png delete mode 100644 streets/infrastructure/textures/infrastructure_lane_control_lights_3.png delete mode 100644 streets/infrastructure/textures/infrastructure_lane_control_lights_4.png delete mode 100644 streets/infrastructure/textures/infrastructure_lane_control_lights_5.png delete mode 100644 streets/infrastructure/textures/infrastructure_lane_control_lights_6.png delete mode 100644 streets/infrastructure/textures/infrastructure_manhole_cover_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_manhole_cover_top_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_marker_bottom_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_marker_side_red.png delete mode 100644 streets/infrastructure/textures/infrastructure_marker_side_yellow.png delete mode 100644 streets/infrastructure/textures/infrastructure_marker_top_red_yellow.png delete mode 100644 streets/infrastructure/textures/infrastructure_marker_top_yellow_yellow.png delete mode 100644 streets/infrastructure/textures/infrastructure_noise_barrier.png delete mode 100644 streets/infrastructure/textures/infrastructure_razor_wire.png delete mode 100644 streets/infrastructure/textures/infrastructure_riffled_sheet.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_crosswalk_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_crosswalk_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_retroreflective_surface.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_right_of_way_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_right_of_way_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_stop_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_stop_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_yield_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_road_sign_yield_front.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_cone_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_cone_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_cone_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_1.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_2.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_3.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_4.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_1.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_2.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_3.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_4.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_side.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_1.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_2.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_3.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_4.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_1.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_2.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_3.png delete mode 100644 streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_4.png delete mode 100644 streets/infrastructure/textures/infrastructure_truss.png delete mode 100644 streets/infrastructure/textures/infrastructure_warning_light_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_warning_light_bottom.png delete mode 100644 streets/infrastructure/textures/infrastructure_warning_light_front_anim.png delete mode 100644 streets/infrastructure/textures/infrastructure_warning_light_left.png delete mode 100644 streets/infrastructure/textures/infrastructure_warning_light_right.png delete mode 100644 streets/infrastructure/textures/infrastructure_warning_light_top.png delete mode 100644 streets/infrastructure/textures/infrastructure_wire_netting.png delete mode 100644 streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_back.png delete mode 100644 streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_front.png (limited to 'streets/infrastructure') diff --git a/streets/infrastructure/README b/streets/infrastructure/README deleted file mode 100644 index feb88a1..0000000 --- a/streets/infrastructure/README +++ /dev/null @@ -1,14 +0,0 @@ -This is my fork of the infrastructure mod. It's essentially aimed at servers running webdesigner97's streetsmod that want stuff from infrastructure too (dreambuilder_game in particular), and is intended to add on to streetsmod instead of replacing it. - -Originally based on Streets by webdesigner97 -Modified by Ragnarok/Vibender -Modified again by cheapie - -Depends: default, moreblocks, mesecons, technic, streetsmod - -Licenses: - Code: WTFPL - Line textures: WTFPL - Other Textures: CC BY-SA 3.0 Unported, http://creativecommons.org/licenses/by-sa/3.0/ - Sounds: CC BY-SA 3.0 Unported, http://creativecommons.org/licenses/by-sa/3.0/ - diff --git a/streets/infrastructure/advanced_aircraft_warning_light.lua b/streets/infrastructure/advanced_aircraft_warning_light.lua deleted file mode 100644 index 1361f7b..0000000 --- a/streets/infrastructure/advanced_aircraft_warning_light.lua +++ /dev/null @@ -1,55 +0,0 @@ --- Aircraft warning light -minetest.register_node("infrastructure:aircraft_warning_light", { - description = "Aircraft warning light", - tiles = { - {name="infrastructure_aircraft_warning_light_top_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}}, - "infrastructure_traffic_lights_side.png", - {name="infrastructure_aircraft_warning_light_side_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}}, - {name="infrastructure_aircraft_warning_light_side_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}}, - {name="infrastructure_aircraft_warning_light_side_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}}, - {name="infrastructure_aircraft_warning_light_side_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=4}} - }, - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 1}, - light_source = AIRCRAFT_WARNING_LIGHT_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/128, 1/4, -1/128, 1/128, 3/8, 1/128}, - - {-1/4, -1/8, 0, 1/4, 1/4, 0}, - {0, -1/8, -1/4, 0, 1/4, 1/4}, - - {-1/16, -1/8, -1/16, 1/16, 1/16, 1/16}, - - {-1/4, -1/4, -1/8, 1/4, -1/8, 1/8}, - {-1/8, -1/4, -1/4, 1/8, -1/8, 1/4}, - - {-1/8, -3/8, -1/8, 1/8, -1/4, 1/8}, - - {-3/16, -1/2, -3/16, 3/16, -3/8, 3/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/128, 1/4, -1/128, 1/128, 3/8, 1/128}, - - {-1/4, -1/8, 0, 1/4, 1/4, 0}, - {0, -1/8, -1/4, 0, 1/4, 1/4}, - - {-1/16, -1/8, -1/16, 1/16, 1/16, 1/16}, - - {-1/4, -1/4, -1/8, 1/4, -1/8, 1/8}, - {-1/8, -1/4, -1/4, 1/8, -1/8, 1/4}, - - {-1/8, -3/8, -1/8, 1/8, -1/4, 1/8}, - - {-3/16, -1/2, -3/16, 3/16, -3/8, 3/16} - } - } -}) - -minetest.register_alias("infrastructure:aircraft_warning_light_bright", "infrastructure:aircraft_warning_light") -minetest.register_alias("infrastructure:aircraft_warning_light_dark", "infrastructure:aircraft_warning_light") diff --git a/streets/infrastructure/advanced_automatic_warning_device.lua b/streets/infrastructure/advanced_automatic_warning_device.lua deleted file mode 100644 index b938c07..0000000 --- a/streets/infrastructure/advanced_automatic_warning_device.lua +++ /dev/null @@ -1,464 +0,0 @@ --- Automatic warning device - -infrastructure.sound_handles = {} - -function infrastructure.play_bell(pos) - local pos_hash = minetest.hash_node_position(pos) - if not infrastructure.sound_handles[pos_hash] then - infrastructure.sound_handles[pos_hash] = minetest.sound_play("infrastructure_ebell", - {pos = pos, gain = AUTOMATIC_WARNING_DEVICE_VOLUME, loop = true, max_hear_distance = 30,}) - end -end - -function infrastructure.stop_bell(pos) - local pos_hash = minetest.hash_node_position(pos) - local sound_handle = infrastructure.sound_handles[pos_hash] - if sound_handle then - minetest.sound_stop(sound_handle) - infrastructure.sound_handles[pos_hash] = nil - end -end -function infrastructure.left_light_direction(pos, param2) - if param2 == 0 then - pos.x = pos.x - 1 - elseif param2 == 1 then - pos.z = pos.z + 1 - elseif param2 == 2 then - pos.x = pos.x + 1 - elseif param2 == 3 then - pos.z = pos.z - 1 - end -end - -function infrastructure.right_light_direction(pos, param2) - if param2 == 0 then - pos.x = pos.x + 2 - elseif param2 == 1 then - pos.z = pos.z - 2 - elseif param2 == 2 then - pos.x = pos.x - 2 - elseif param2 == 3 then - pos.z = pos.z + 2 - end -end - -function infrastructure.lights_enabled(pos) - local node = minetest.get_node(pos) - local param2 = node.param2 - minetest.swap_node(pos, {name = "infrastructure:automatic_warning_device_middle_center_on", param2 = node.param2}) - infrastructure.left_light_direction(pos, param2) - minetest.swap_node(pos, {name = "infrastructure:automatic_warning_device_middle_left_on", param2 = node.param2}) - infrastructure.right_light_direction(pos, param2) - minetest.swap_node(pos, {name = "infrastructure:automatic_warning_device_middle_right_on", param2 = node.param2}) -end - -function infrastructure.lights_disabled(pos) - local node = minetest.get_node(pos) - local param2 = node.param2 - minetest.swap_node(pos, {name = "infrastructure:automatic_warning_device_middle_center_off", param2 = node.param2}) - infrastructure.left_light_direction(pos, param2) - minetest.swap_node(pos, {name = "infrastructure:automatic_warning_device_middle_left_off", param2 = node.param2}) - infrastructure.right_light_direction(pos, param2) - minetest.swap_node(pos, {name = "infrastructure:automatic_warning_device_middle_right_off", param2 = node.param2}) -end - -function infrastructure.activate_lights(pos) - pos.y = pos.y + 2 - local node = minetest.get_node(pos) - if node.name == "infrastructure:automatic_warning_device_middle_center_off" then - infrastructure.play_bell(pos) - infrastructure.lights_enabled(pos) - elseif (node.name == "infrastructure:automatic_warning_device_middle_center_on") then - infrastructure.stop_bell(pos,node) - infrastructure.lights_disabled(pos, node) - end -end - -minetest.register_node("infrastructure:automatic_warning_device_top", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_top_side.png", - "infrastructure_automatic_warning_device_top_side.png", - "infrastructure_automatic_warning_device_top_side.png", - "infrastructure_automatic_warning_device_top.png" - }, - on_destruct = stop_bell, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - node_box = { - type = "fixed", - fixed = { - {-1/16, -1/2, -1/16, 1/16, 0, 1/16}, - {-1/8, 0, -1/8, 1/8, 3/8, 1/8}, - {-1/4, 1/8, -1/4, 1/4, 1/4, 1/4}, - {-1/2, -1/2, -1/16, 1/2, 0, -1/16}, - {-1/8, -1/2, -1/16, 1/8, -1/4, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - -minetest.register_node("infrastructure:automatic_warning_device_middle_right_on", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_right_side.png", - {name="infrastructure_automatic_warning_device_middle_right_anim.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}} - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - light_source = AUTOMATIC_WARNING_DEVICE_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, -1/16, -1/4, 1/2, -1/16}, - {-1/2, -5/16, -1/16, -7/16, 1/16, 3/16}, - {-1/2, 1/32, -5/16, -15/32, 3/32, -1/16}, - {-15/32, -1/8, -3/16, -13/32, 1/32, -1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - -minetest.register_node("infrastructure:automatic_warning_device_middle_right_off", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_right_side.png", - "infrastructure_automatic_warning_device_middle_right_off.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, -1/16, -1/4, 1/2, -1/16}, - {-1/2, -5/16, -1/16, -7/16, 1/16, 3/16}, - {-1/2, 1/32, -5/16, -15/32, 3/32, -1/16}, - {-15/32, -1/8, -3/16, -13/32, 1/32, -1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - -minetest.register_node("infrastructure:automatic_warning_device_middle_left_on", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_left_side.png", - {name="infrastructure_automatic_warning_device_middle_left_anim.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}} - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - light_source = AUTOMATIC_WARNING_DEVICE_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {1/4, -1/2, -1/16, 1/2, 1/2, -1/16}, - {7/16, -5/16, -1/16, 1/2, 1/16, 3/16}, - {15/32, 1/32, -5/16, 1/2, 3/32, -1/16}, - {13/32, -1/8, -3/16, 15/32, 1/32, -1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - -minetest.register_node("infrastructure:automatic_warning_device_middle_left_off", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_left_side.png", - "infrastructure_automatic_warning_device_middle_left_off.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - node_box = { - type = "fixed", - fixed = { - {1/4, -1/2, -1/16, 1/2, 1/2, -1/16}, - {7/16, -5/16, -1/16, 1/2, 1/16, 3/16}, - {15/32, 1/32, -5/16, 1/2, 3/32, -1/16}, - {13/32, -1/8, -3/16, 15/32, 1/32, -1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - -minetest.register_node("infrastructure:automatic_warning_device_middle_center_on", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_center_side.png", - "infrastructure_automatic_warning_device_middle_center_side.png", - "infrastructure_automatic_warning_device_middle_center_side.png", - {name="infrastructure_automatic_warning_device_middle_center_anim.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}} - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - light_source = LIGHT_SOURCE, - node_box = { - type = "fixed", - fixed = { - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/2, -1/2, -1/16, 1/2, 1/2, -1/16}, - {-1/2, -5/16, -1/16, -3/16, 1/16, 3/16}, - {3/16, -5/16, -1/16, 1/2, 1/16, 3/16}, - {-3/16, -3/16, -1/16, 3/16, -1/16, 1/8}, - {-1/2, 1/32, -5/16, -7/32, 3/32, -1/16}, - {-7/32, -1/8, -3/16, -5/32, 1/32, -1/16}, - {7/32, 1/32, -5/16, 1/2, 3/32, -1/16}, - {5/32, -1/8, -3/16, 7/32, 1/32, -1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - - -minetest.register_node("infrastructure:automatic_warning_device_middle_center_off", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_center_side.png", - "infrastructure_automatic_warning_device_middle_center_side.png", - "infrastructure_automatic_warning_device_middle_center_side.png", - "infrastructure_automatic_warning_device_middle_center_off.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - light_source = LIGHT_SOURCE, - node_box = { - type = "fixed", - fixed = { - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/2, -1/2, -1/16, 1/2, 1/2, -1/16}, - {-1/2, -5/16, -1/16, -3/16, 1/16, 3/16}, - {3/16, -5/16, -1/16, 1/2, 1/16, 3/16}, - {-3/16, -3/16, -1/16, 3/16, -1/16, 1/8}, - {-1/2, 1/32, -5/16, -7/32, 3/32, -1/16}, - {-7/32, -1/8, -3/16, -5/32, 1/32, -1/16}, - {7/32, 1/32, -5/16, 1/2, 3/32, -1/16}, - {5/32, -1/8, -3/16, 7/32, 1/32, -1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - - -minetest.register_node("infrastructure:automatic_warning_device_middle", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_middle_side.png", - "infrastructure_automatic_warning_device_middle_side.png", - "infrastructure_automatic_warning_device_middle_side.png", - "infrastructure_automatic_warning_device_middle.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - node_box = { - type = "fixed", - fixed = { - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-3/8, -3/8, -1/8, 3/8, 3/8, -1/16}, - {-1/8, -1/8, -1/16, 1/8, 1/8, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } -}) - -minetest.register_node("infrastructure:automatic_warning_device_bottom", { - description = "Automatic warning device", - inventory_image = "infrastructure_automatic_warning_device.png", - wield_image = "infrastructure_automatic_warning_device.png", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_bottom.png", - "infrastructure_automatic_warning_device_bottom.png", - "infrastructure_automatic_warning_device_bottom.png", - "infrastructure_automatic_warning_device_bottom.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - node_box = { - type = "fixed", - fixed = { - {-1/16, 0, -1/16, 1/16, 1/2, 1/16}, - {-1/2, -1/2, -1/4, 1/2, -3/8, 1/4}, - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2}, - {-1/8, -3/8, -1/8, 1/8, 0, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - -- top - {-1/8, 0 + 3, -1/8, 1/8, 3/8 + 3, 1/8}, - {-1/4, 1/8 + 3, -1/4, 1/4, 1/4 + 3, 1/4}, - {-1/8, -1/2 + 3, -1/16 + 0.01, 1/8, -1/4 + 3, 1/8}, - -- middle center, left and right - {-9/16, -5/16 + 2, -1/16, -3/16, 1/16 + 2, 3/16}, - {3/16, -5/16 + 2, -1/16, 9/16, 1/16 + 2, 3/16}, - - {-3/16, -3/16 + 2, -1/16 + 0.01, 3/16, -1/16 + 2, 1/8}, - - {-1/2, 1/32 + 2, -5/16, -7/32, 3/32 + 2, -1/16 - 0.01}, - {-7/32, -1/8 + 2, -3/16, -5/32, 1/32 + 2, -1/16 - 0.01}, - {13/32 - 1, -1/8 + 2, -3/16, 15/32 - 1, 1/32 + 2, -1/16 - 0.01}, - - {7/32, 1/32 + 2, -5/16, 1/2, 3/32 + 2, -1/16 - 0.01}, - {5/32, -1/8 + 2, -3/16, 7/32, 1/32 + 2, -1/16 - 0.01}, - {-15/32 + 1, -1/8 + 2, -3/16, -13/32 + 1, 1/32 + 2, -1/16 - 0.01}, - -- middle - {-3/8, -3/8 + 1, -1/8, 3/8, 3/8 + 1, -1/16}, - {-1/8, -1/8 + 1, -1/16, 1/8, 1/8 + 1, 1/8}, - -- bottom - {-1/2, -1/2, -1/4, 1/2, -3/8, 1/4}, - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2}, - {-1/8, -3/8, -1/8, 1/8, 0, 1/8}, - -- post - {-1/16, 0, -1/16, 1/16, 3, 1/16} - } - }, - - on_construct = function(pos) - local node = minetest.get_node(pos) - local param2 = node.param2 - - local meta = minetest.get_meta(pos) - meta:set_string("formspec", "field[channel;Channel;${channel}]") - - pos.y = pos.y + 1 - node.name = "infrastructure:automatic_warning_device_middle" - minetest.set_node(pos, node) - - pos.y = pos.y + 2 - node.name = "infrastructure:automatic_warning_device_top" - minetest.set_node(pos, node) - - pos.y = pos.y - 1 - node.name = "infrastructure:automatic_warning_device_middle_center_1" - minetest.set_node(pos, node) - - infrastructure.left_light_direction(pos, param2) - node.name = "infrastructure:automatic_warning_device_middle_left_1" - minetest.set_node(pos, node) - - infrastructure.right_light_direction(pos, param2) - node.name = "infrastructure:automatic_warning_device_middle_right_1" - minetest.set_node(pos, node) - end, - - on_destruct = function(pos) - local node = minetest.get_node(pos) - local param2 = node.param2 - pos.y=pos.y+2 - infrastructure.stop_bell(pos, node) - pos.y=pos.y-2 - - for i = 1, 3 do - pos.y = pos.y + 1 - minetest.remove_node(pos) - end - - pos.y = pos.y - 1 - - infrastructure.left_light_direction(pos, param2) - minetest.remove_node(pos) - - infrastructure.right_light_direction(pos, param2) - minetest.remove_node(pos) - end, - - on_punch = function(pos, node) - infrastructure.activate_lights(pos, node) - end, - - on_receive_fields = function(pos, formname, fields, sender) - if (fields.channel) then - minetest.get_meta(pos):set_string("channel", fields.channel) - minetest.get_meta(pos):set_string("state", "Off") - end - end, - - digiline = { - receptor = {}, - effector = { - action = function(pos, node, channel, msg) - local setchan = minetest.get_meta(pos):get_string("channel") - if setchan ~= channel then - return - end - if (msg=="bell_on") then - infrastructure.play_bell(pos) - elseif (msg=="bell_off") then - infrastructure.stop_bell(pos) - elseif (msg=="lights_on") then - pos.y = pos.y+2 - infrastructure.lights_enabled(pos) - elseif (msg=="lights_off") then - pos.y = pos.y+2 - infrastructure.lights_disabled(pos) - end - end - } - } -}) - - - - -minetest.register_alias("infrastructure:automatic_warning_device", "infrastructure:automatic_warning_device_bottom") -minetest.register_alias("awd", "infrastructure:automatic_warning_device_bottom") -minetest.register_alias("infrastructure:automatic_warning_device_middle_left_1","infrastructure:automatic_warning_device_middle_left_off") -minetest.register_alias("infrastructure:automatic_warning_device_middle_left_2","infrastructure:automatic_warning_device_middle_left_off") -minetest.register_alias("infrastructure:automatic_warning_device_middle_right_1","infrastructure:automatic_warning_device_middle_right_off") -minetest.register_alias("infrastructure:automatic_warning_device_middle_right_2","infrastructure:automatic_warning_device_middle_right_off") -minetest.register_alias("infrastructure:automatic_warning_device_middle_center_1","infrastructure:automatic_warning_device_middle_center_off") -minetest.register_alias("infrastructure:automatic_warning_device_middle_center_2","infrastructure:automatic_warning_device_middle_center_off") -minetest.register_alias("infrastructure:automatic_warning_device_middle_center_3","infrastructure:automatic_warning_device_middle_center_off") diff --git a/streets/infrastructure/advanced_boom_barrier.lua b/streets/infrastructure/advanced_boom_barrier.lua deleted file mode 100644 index 67a9b8b..0000000 --- a/streets/infrastructure/advanced_boom_barrier.lua +++ /dev/null @@ -1,508 +0,0 @@ --- Boom barrier -function move_arm(pos, node) - local node = minetest.env:get_node(pos) - local param2 = node.param2 - - if param2 == 0 then - dir = "z-" - elseif param2 == 1 then - dir = "x-" - elseif param2 == 2 then - dir = "z+" - elseif param2 == 3 then - dir = "x+" - end - - minetest.sound_play("infrastructure_boom_barrier", { - pos = pos, - gain = BOOM_BARRIER_VOLUME, - max_hear_distance = 50 - }) - - if node.name == "infrastructure:boom_barrier_top_h" then - minetest.swap_node(pos, {name = "infrastructure:boom_barrier_top_v", param2 = node.param2}) - - if dir == "x+" then - for i = 1, 10 do - pos.x = pos.x + 1 - if (string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_lightfirst") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_end") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_darkfirst")) == nil then - pos.x = pos.x - 1 - break - end - minetest.env:remove_node(pos) - node.name = "infrastructure:boom_barrier_arm_v" - minetest.env:add_node({x=pos.x-i, y=pos.y+i, z=pos.z}, node) - end - elseif dir == "x-" then - for i = 1, 10 do - pos.x = pos.x - 1 - if (string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_lightfirst") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_end") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_darkfirst")) == nil then - break - end - minetest.env:remove_node(pos) - node.name = "infrastructure:boom_barrier_arm_v" - minetest.env:add_node({x=pos.x+i, y=pos.y+i, z=pos.z}, node) - end - elseif dir == "z+" then - for i = 1, 10 do - pos.z = pos.z + 1 - if (string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_lightfirst") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_end") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_darkfirst")) == nil then - break - end - minetest.env:remove_node(pos) - node.name = "infrastructure:boom_barrier_arm_v" - minetest.env:add_node({x=pos.x, y=pos.y+i, z=pos.z-i}, node) - end - elseif dir == "z-" then - for i = 1, 10 do - pos.z = pos.z - 1 - if (string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_lightfirst") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_end") - or string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_h_darkfirst")) == nil then - break - end - minetest.env:remove_node(pos) - node.name = "infrastructure:boom_barrier_arm_v" - minetest.env:add_node({x=pos.x, y=pos.y+i, z=pos.z+i}, node) - end - end - - elseif node.name == "infrastructure:boom_barrier_top_v" then - minetest.swap_node(pos, {name = "infrastructure:boom_barrier_top_h", param2 = node.param2}) - if dir == "x+" then - for i = 1, 10 do - pos.y = pos.y + 1 - if string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_v") == nil then - break - end - minetest.env:remove_node(pos) - if i % 2 == 1 then - node.name = "infrastructure:boom_barrier_arm_h_lightfirst" - else - node.name = "infrastructure:boom_barrier_arm_h_darkfirst" - end - if minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}).name ~= "infrastructure:boom_barrier_arm_v" then - node.name = "infrastructure:boom_barrier_arm_h_end" - end - minetest.env:add_node({x=pos.x+i, y=pos.y-i, z=pos.z}, node) - end - elseif dir == "x-" then - for i = 1, 10 do - pos.y = pos.y + 1 - if string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_v") == nil then - break - end - minetest.env:remove_node(pos) - if i % 2 == 1 then - node.name = "infrastructure:boom_barrier_arm_h_lightfirst" - else - node.name = "infrastructure:boom_barrier_arm_h_darkfirst" - end - if minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}).name ~= "infrastructure:boom_barrier_arm_v" then - node.name = "infrastructure:boom_barrier_arm_h_end" - end - minetest.env:add_node({x=pos.x-i, y=pos.y-i, z=pos.z}, node) - end - elseif dir == "z+" then - for i = 1, 10 do - pos.y = pos.y + 1 - if string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_v") == nil then - break - end - minetest.env:remove_node(pos) - if i % 2 == 1 then - node.name = "infrastructure:boom_barrier_arm_h_lightfirst" - else - node.name = "infrastructure:boom_barrier_arm_h_darkfirst" - end - if minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}).name ~= "infrastructure:boom_barrier_arm_v" then - node.name = "infrastructure:boom_barrier_arm_h_end" - end - minetest.env:add_node({x=pos.x, y=pos.y-i, z=pos.z+i}, node) - end - elseif dir == "z-" then - for i = 1, 10 do - pos.y = pos.y + 1 - if string.match(minetest.env:get_node(pos).name, "infrastructure:boom_barrier_arm_v") == nil then - break - end - minetest.env:remove_node(pos) - if i % 2 == 1 then - node.name = "infrastructure:boom_barrier_arm_h_lightfirst" - else - node.name = "infrastructure:boom_barrier_arm_h_darkfirst" - end - if minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}).name ~= "infrastructure:boom_barrier_arm_v" then - node.name = "infrastructure:boom_barrier_arm_h_end" - end - minetest.env:add_node({x=pos.x, y=pos.y-i, z=pos.z-i}, node) - end - end - end -end - -minetest.register_node("infrastructure:boom_barrier_top_h", { - description = "Boom barrier mechanism", - tiles = { - "infrastructure_boom_barrier_h_top.png", - "infrastructure_boom_barrier_h_bottom.png", - "infrastructure_boom_barrier_h_right.png", - "infrastructure_boom_barrier_h_left.png", - "infrastructure_boom_barrier_h_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/4, -1/4, 1/4, 1/4, 1/4}, - {-1/8, -1/2, -1/8, 1/8, -1/4, 1/8}, - - {-3/8, -1/2, -1/2, -1/4, -1/4, 1/8}, - {-3/8, -1/2, -1/8, -1/4, 1/8, 1/8}, - {-3/8, -1/8, -1/8, -1/4, 1/8, 1/2}, - {-1/2, -3/16, 1/4, -3/8, 3/16, 1/2}, - {-1/2, -1/8, 3/16, -3/8, 1/8, 1/2}, - {-1/2, -1/16, 1/8, -3/8, 1/16, 1/2}, - - {1/4, -1/2, -1/2, 3/8, -1/4, 1/8}, - {1/4, -1/2, -1/8, 3/8, 1/8, 1/8}, - {1/4, -1/8, -1/8, 3/8, 1/8, 1/2}, - {3/8, -3/16, 1/4, 1/2, 3/16, 1/2}, - {3/8, -1/8, 3/16, 1/2, 1/8, 1/2}, - {3/8, -1/16, 1/8, 1/2, 1/16, 1/2}, - - {-3/8, -1/2, -1/2, 3/8, -1/4, -3/8}, - - {-7/16, -1/16, -1/16, 7/16, 1/16, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/4, -1/4, 1/4, 1/4, 1/4}, - {-1/8, -1/2, -1/8, 1/8, -1/4, 1/8}, - - {-3/8, -1/2, -1/2, -1/4, -1/4, 1/8}, - {-3/8, -1/2, -1/8, -1/4, 1/8, 1/8}, - {-3/8, -1/8, -1/8, -1/4, 1/8, 1/2}, - {-1/2, -3/16, 1/4, -3/8, 3/16, 1/2}, - {-1/2, -1/8, 3/16, -3/8, 1/8, 1/2}, - {-1/2, -1/16, 1/8, -3/8, 1/16, 1/2}, - - {1/4, -1/2, -1/2, 3/8, -1/4, 1/8}, - {1/4, -1/2, -1/8, 3/8, 1/8, 1/8}, - {1/4, -1/8, -1/8, 3/8, 1/8, 1/2}, - {3/8, -3/16, 1/4, 1/2, 3/16, 1/2}, - {3/8, -1/8, 3/16, 1/2, 1/8, 1/2}, - {3/8, -1/16, 1/8, 1/2, 1/16, 1/2}, - - {-3/8, -1/2, -1/2, 3/8, -1/4, -3/8}, - - {-7/16, -1/16, -1/16, 7/16, 1/16, 1/16} - } - }, - - after_place_node = function(pos) - local node = minetest.env:get_node(pos) - node.name = "infrastructure:boom_barrier_bottom" - minetest.env:add_node(pos, node) - pos.y = pos.y + 1 - node.name = "infrastructure:boom_barrier_top_h" - minetest.env:add_node(pos, node) - end, - - after_dig_node = function(pos) - pos.y = pos.y - 1 - minetest.env:remove_node(pos) - end, - - on_punch = function(pos, node) - move_arm(pos, node) - end -}) - -minetest.register_node("infrastructure:boom_barrier_top_v", { - tiles = { - "infrastructure_boom_barrier_h_front_back.png", - "infrastructure_boom_barrier_v_bottom.png", - "infrastructure_boom_barrier_v_right.png", - "infrastructure_boom_barrier_v_left.png", - "infrastructure_boom_barrier_v_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - drop = "infrastructure:boom_barrier_top_h", - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/4, -1/4, 1/4, 1/4, 1/4}, - {-1/8, -1/2, -1/8, 1/8, -1/4, 1/8}, - - {-3/8, -1/8, -1/2, -1/4, 1/2, -1/4}, - {-3/8, -1/8, -1/2, -1/4, 1/8, 1/8}, - {-3/8, -1/2, -1/8, -1/4, 1/8, 1/8}, - {-1/2, -1/2, -3/16, -3/8, -1/4, 3/16}, - {-1/2, -1/2, -1/8, -3/8, -3/16, 1/8}, - {-1/2, -1/2, -1/16, -3/8, -1/8, 1/16}, - - {1/4, -1/8, -1/2, 3/8, 1/2, -1/4}, - {1/4, -1/8, -1/2, 3/8, 1/8, 1/8}, - {1/4, -1/2, -1/8, 3/8, 1/8, 1/8}, - {3/8, -1/2, -3/16, 1/2, -1/4, 3/16}, - {3/8, -1/2, -1/8, 1/2, -3/16, 1/8}, - {3/8, -1/2, -1/16, 1/2, -1/8, 1/16}, - - {-3/8, 3/8, -1/2, 3/8, 1/2, -1/4}, - - {-7/16, -1/16, -1/16, 7/16, 1/16, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/4, -1/4, 1/4, 1/4, 1/4}, - {-1/8, -1/2, -1/8, 1/8, -1/4, 1/8}, - - {-3/8, -1/8, -1/2, -1/4, 1/2, -1/4}, - {-3/8, -1/8, -1/2, -1/4, 1/8, 1/8}, - {-3/8, -1/2, -1/8, -1/4, 1/8, 1/8}, - {-1/2, -1/2, -3/16, -3/8, -1/4, 3/16}, - {-1/2, -1/2, -1/8, -3/8, -3/16, 1/8}, - {-1/2, -1/2, -1/16, -3/8, -1/8, 1/16}, - - {1/4, -1/8, -1/2, 3/8, 1/2, -1/4}, - {1/4, -1/8, -1/2, 3/8, 1/8, 1/8}, - {1/4, -1/2, -1/8, 3/8, 1/8, 1/8}, - {3/8, -1/2, -3/16, 1/2, -1/4, 3/16}, - {3/8, -1/2, -1/8, 1/2, -3/16, 1/8}, - {3/8, -1/2, -1/16, 1/2, -1/8, 1/16}, - - {-3/8, 3/8, -1/2, 3/8, 1/2, -1/4}, - - {-7/16, -1/16, -1/16, 7/16, 1/16, 1/16} - } - }, - - after_dig_node = function(pos) - pos.y = pos.y - 1 - minetest.env:remove_node(pos) - end, - - on_punch = function(pos, node) - move_arm(pos, node) - end -}) - -minetest.register_node("infrastructure:boom_barrier_bottom", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_automatic_warning_device_bottom.png", - "infrastructure_automatic_warning_device_bottom.png", - "infrastructure_automatic_warning_device_bottom.png", - "infrastructure_automatic_warning_device_bottom.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - drop = "infrastructure:boom_barrier_top_h", - node_box = { - type = "fixed", - fixed = { - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/2, -1/2, -1/4, 1/2, -3/8, 1/4}, - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2}, - {-1/8, -1/2, -1/8, 1/8, 0, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/2, -1/2, -1/4, 1/2, -3/8, 1/4}, - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2}, - {-1/8, -1/2, -1/8, 1/8, 0, 1/8} - } - }, - - after_dig_node = function(pos) - pos.y = pos.y + 1 - minetest.env:remove_node(pos) - end, - - on_construct = function(pos) - local meta = minetest.get_meta(pos) - meta:set_string("formspec", "field[channel;Channel;${channel}]") - end, - - on_receive_fields = function(pos, formname, fields, sender) - if (fields.channel) then - minetest.get_meta(pos):set_string("channel", fields.channel) - minetest.get_meta(pos):set_string("state", "Off") - end - end, - - digiline = { - receptor = {}, - effector = { - action = function(pos, node, channel, msg) - local setchan = minetest.get_meta(pos):get_string("channel") - if setchan ~= channel then - return - end - pos.y = pos.y + 1 - local mechnode = minetest.env:get_node(pos) - if ((msg == "up" and mechnode.name=="infrastructure:boom_barrier_top_h") or (msg == "down" and mechnode.name=="infrastructure:boom_barrier_top_v")) then - move_arm(pos, mechnode) - end - end - } - }, -}) - -minetest.register_node("infrastructure:boom_barrier_arm_h_lightfirst", { - description = "Boom barrier arm", - tiles = { - "infrastructure_boom_barrier_arm_h_top.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - {name="infrastructure_boom_barrier_arm_h_anim_lightfirst.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}, - {name="infrastructure_boom_barrier_arm_h_anim_lightfirst.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}, - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - light_source = BOOM_BARRIER_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, -7/16, 1/2}, - {-1/8, -5/16, -1/2, 1/8, -1/4, 1/2}, - {-1/8, -1/2, -1/2, -1/16, -1/4, 1/2}, - {1/16, -1/2, -1/2, 1/8, -1/4, 1/2}, - {0, -1/4, -1/8, 0, 0, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, -1/4, 1/2} - } - } -}) - -minetest.register_node("infrastructure:boom_barrier_arm_h_darkfirst", { - tiles = { - "infrastructure_boom_barrier_arm_h_top.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - {name="infrastructure_boom_barrier_arm_h_anim_darkfirst.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}, - {name="infrastructure_boom_barrier_arm_h_anim_darkfirst.png",animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}}, - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - drop = "infrastructure:boom_barrier_arm_h_lightfirst", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, -7/16, 1/2}, - {-1/8, -5/16, -1/2, 1/8, -1/4, 1/2}, - {-1/8, -1/2, -1/2, -1/16, -1/4, 1/2}, - {1/16, -1/2, -1/2, 1/8, -1/4, 1/2}, - {0, -1/4, -1/8, 0, 0, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, -1/4, 1/2} - } - } -}) - -minetest.register_node("infrastructure:boom_barrier_arm_h_end", { - tiles = { - "infrastructure_boom_barrier_arm_h_top.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - "infrastructure_boom_barrier_arm_h_left_right_bright.png", - "infrastructure_boom_barrier_arm_h_left_right_bright.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - drop = "infrastructure:boom_barrier_arm_h_lightfirst", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, -7/16, 1/2}, - {-1/8, -5/16, -1/2, 1/8, -1/4, 1/2}, - {-1/8, -1/2, -1/2, -1/16, -1/4, 1/2}, - {1/16, -1/2, -1/2, 1/8, -1/4, 1/2}, - {0, -1/4, -1/8, 0, 0, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, -1/4, 1/2} - } - } -}) - -minetest.register_alias("infrastructure:boom_barrier_arm_h_dark","infrastructure:boom_barrier_arm_h_darkfirst") -minetest.register_alias("infrastructure:boom_barrier_arm_h_bright","infrastructure:boom_barrier_arm_h_lightfirst") - -minetest.register_node("infrastructure:boom_barrier_arm_v", { - tiles = { - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png", - "infrastructure_boom_barrier_arm_v_left.png", - "infrastructure_boom_barrier_arm_v_right.png", - "infrastructure_boom_barrier_arm_h_top.png", - "infrastructure_boom_barrier_arm_h_bottom_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - drop = "infrastructure:boom_barrier_arm_h_lightfirst", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, 1/2, -7/16}, - {-1/8, -1/2, -5/16, 1/8, 1/2, -1/4}, - {-1/8, -1/2, -1/2, -1/16, 1/2, -1/4}, - {1/16, -1/2, -1/2, 1/8, 1/2, -1/4}, - {0, -1/8, -1/4, 0, 1/8, 0} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/2, 1/8, 1/2, -1/4} - } - } -}) - -minetest.register_alias("infrastructure:boom_barrier_mechanism", "infrastructure:boom_barrier_top_h") -minetest.register_alias("infrastructure:boom_barrier_arm", "infrastructure:boom_barrier_arm_h_lightfirst") diff --git a/streets/infrastructure/advanced_crosswalk_lighting.lua b/streets/infrastructure/advanced_crosswalk_lighting.lua deleted file mode 100644 index 4e669c1..0000000 --- a/streets/infrastructure/advanced_crosswalk_lighting.lua +++ /dev/null @@ -1,85 +0,0 @@ --- Crosswalk lighting - minetest.register_node("infrastructure:crosswalk_lighting_dark", { - description = "Crosswalk lighting", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_lighting_bottom.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_lighting_back.png", - "infrastructure_crosswalk_lighting_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - node_box = { - type = "fixed", - fixed = { - {-3/8, -1/2, -1/4, 3/8, 1/2, -3/16}, - {-3/8, -1/2, 3/16, 3/8, 1/2, 1/4}, - {-1/4, 1/4, -3/16, -1/8, 3/8, 3/16}, - {1/8, 1/4, -3/16, 1/4, 3/8, 3/16}, - {-1/8, -1/2, -3/16, 1/8, -1/4, 3/16}, - {-1/2, -1/2, -1/8, 1/2, -3/8, 1/8}, - } - }, - selection_box = { - type = "fixed", - fixed = {-3/8, -1/2, -1/4, 3/8, 1/2, 1/4} - }, - - on_punch = function(pos, node) - minetest.swap_node(pos, {name = "infrastructure:crosswalk_lighting_bright", param2 = node.param2}) - end, - - mesecons = {effector = { - action_on = function (pos, node) - minetest.swap_node(pos, {name = "infrastructure:crosswalk_lighting_bright", param2 = node.param2}) - end, - }} - }) - - minetest.register_node("infrastructure:crosswalk_lighting_bright", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_lighting_bottom.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_lighting_back.png", - "infrastructure_crosswalk_lighting_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - light_source = CROSSWALK_LIGHTING_LIGHT_RANGE, - drop = "infrastructure:crosswalk_lighting_dark", - node_box = { - type = "fixed", - fixed = { - {-3/8, -1/2, -1/4, 3/8, 1/2, -3/16}, - {-3/8, -1/2, 3/16, 3/8, 1/2, 1/4}, - {-1/4, 1/4, -3/16, -1/8, 3/8, 3/16}, - {1/8, 1/4, -3/16, 1/4, 3/8, 3/16}, - {-1/8, -1/2, -3/16, 1/8, -1/4, 3/16}, - {-1/2, -1/2, -1/8, 1/2, -3/8, 1/8}, - } - }, - selection_box = { - type = "fixed", - fixed = {-3/8, -1/2, -1/4, 3/8, 1/2, 1/4} - }, - - on_punch = function(pos, node) - minetest.swap_node(pos, {name = "infrastructure:crosswalk_lighting_dark", param2 = node.param2}) - end, - - mesecons = {effector = { - action_off = function (pos, node) - minetest.swap_node(pos, {name = "infrastructure:crosswalk_lighting_dark", param2 = node.param2}) - end, - }} - }) - - minetest.register_alias("infrastructure:crosswalk_lighting", "infrastructure:crosswalk_lighting_dark") diff --git a/streets/infrastructure/advanced_crosswalk_safety_sign.lua b/streets/infrastructure/advanced_crosswalk_safety_sign.lua deleted file mode 100644 index 6183322..0000000 --- a/streets/infrastructure/advanced_crosswalk_safety_sign.lua +++ /dev/null @@ -1,85 +0,0 @@ --- Crosswalk safety sign - minetest.register_node("infrastructure:crosswalk_safety_sign_top", { - tiles = { - "infrastructure_crosswalk_safety_sign_top.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_safety_sign_top_side.png", - "infrastructure_crosswalk_safety_sign_top_side.png", - "infrastructure_crosswalk_safety_sign_top_front_back.png", - "infrastructure_crosswalk_safety_sign_top_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1, not_in_creative_inventory = 1}, - light_source = CROSSWALK_SAFETY_SIGN_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, -1/16, 1/4, 0, -1/16}, - {-1/4, -1/2, 1/16, 1/4, 0, 1/16}, - {-1/16, -1/2, -1/16, 1/16, -1/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } - }) - - minetest.register_node("infrastructure:crosswalk_safety_sign_bottom", { - description = "Crosswalk safety sign", - inventory_image = "infrastructure_crosswalk_safety_sign.png", - wield_image = "infrastructure_crosswalk_safety_sign.png", - tiles = { - "infrastructure_crosswalk_safety_sign_top.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_safety_sign_bottom_side.png", - "infrastructure_crosswalk_safety_sign_bottom_side.png", - "infrastructure_crosswalk_safety_sign_bottom_front_back.png", - "infrastructure_crosswalk_safety_sign_bottom_front_back.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - light_source = CROSSWALK_SAFETY_SIGN_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/4, -7/32, -1/16, 1/4, 1/2, -1/16}, - {-1/4, -7/32, 1/16, 1/4, 1/2, 1/16}, - {-1/16, -5/16, -1/16, 1/16, 1/2, 1/16}, - {-1/8, -3/8, -1/8, 1/8, -5/16, 1/8}, - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -7/32, -1/16, 1/4, 1, -1/16}, - {-1/4, -7/32, 1/16, 1/4, 1, 1/16}, - - {-1/16, -5/16, -1/16 + 0.01, 1/16, 3/4, 1/16 - 0.01}, - - {-1/8, -3/8, -1/8, 1/8, -5/16, 1/8}, - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2} - } - }, - - after_place_node = function(pos) - local node = minetest.env:get_node(pos) - node.name = "infrastructure:crosswalk_safety_sign_bottom" - minetest.env:add_node(pos, node) - pos.y = pos.y + 1 - node.name = "infrastructure:crosswalk_safety_sign_top" - minetest.env:add_node(pos, node) - end, - - after_dig_node = function(pos) - pos.y = pos.y + 1 - minetest.env:remove_node(pos) - end, - }) - - minetest.register_alias("infrastructure:crosswalk_safety_sign", "infrastructure:crosswalk_safety_sign_bottom") diff --git a/streets/infrastructure/advanced_crosswalk_warning_light.lua b/streets/infrastructure/advanced_crosswalk_warning_light.lua deleted file mode 100644 index 213223a..0000000 --- a/streets/infrastructure/advanced_crosswalk_warning_light.lua +++ /dev/null @@ -1,124 +0,0 @@ --- Crosswalk warning light -function on_off_light(pos, node) - if node.name == "infrastructure:crosswalk_warning_light_off" then - minetest.swap_node(pos, {name = "infrastructure:crosswalk_warning_light_on", param2 = node.param2}) - elseif (node.name == "infrastructure:crosswalk_warning_light_on") then - minetest.swap_node(pos, {name = "infrastructure:crosswalk_warning_light_off", param2 = node.param2}) - end -end - -minetest.register_node("infrastructure:crosswalk_warning_light_off", { - description = "Crosswalk warning light", - inventory_image = "infrastructure_crosswalk_warning_light_front_bright.png", - wield_image = "infrastructure_crosswalk_warning_light_front_bright.png", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_warning_light_back.png", - "infrastructure_crosswalk_warning_light_front_dark.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 0}, - node_box = { - type = "fixed", - fixed = { - {-5/16, -5/16, -1/8, 5/16, 3/8, 1/8}, - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/8}, - - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-5/16, -5/16, -1/8, 5/16, 3/8, 1/8}, - - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.01} - } - }, - - on_punch = function(pos, node) - on_off_light(pos, node) - end, - - mesecons = {effector = { - action_on = function(pos, node) - on_off_light(pos, node) - end, - }} -}) - -minetest.register_node("infrastructure:crosswalk_warning_light_on", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_crosswalk_warning_light_back.png", - {name="infrastructure_crosswalk_warning_light_front_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.5}} - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - drop = "infrastructure:crosswalk_warning_light_off", - node_box = { - type = "fixed", - fixed = { - {-5/16, -5/16, -1/8, 5/16, 3/8, 1/8}, - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/8}, - - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-5/16, -5/16, -1/8, 5/16, 3/8, 1/8}, - - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.01} - } - }, - - on_punch = function(pos, node) - on_off_light(pos, node) - end, - - mesecons = {effector = { - action_on = function(pos, node) - on_off_light(pos, node) - end, - }} -}) - -minetest.register_alias("infrastructure:crosswalk_warning_light", "infrastructure:crosswalk_warning_light_off") -minetest.register_alias("infrastructure:crosswalk_warning_bright", "infrastructure:crosswalk_warning_light_on") -minetest.register_alias("infrastructure:crosswalk_warning_dark", "infrastructure:crosswalk_warning_light_on") diff --git a/streets/infrastructure/advanced_curve_chevron.lua b/streets/infrastructure/advanced_curve_chevron.lua deleted file mode 100644 index 7d3b65d..0000000 --- a/streets/infrastructure/advanced_curve_chevron.lua +++ /dev/null @@ -1,85 +0,0 @@ --- Curve chevron - minetest.register_node("infrastructure:curve_chevron_dark", { - description = "Flashing curve chevron", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_curve_chevron_left_dark.png", - "infrastructure_curve_chevron_right_dark.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/16}, - {-1/2, -1/2, 1/16, 1/2, 1/2, 1/8}, - {-3/8, 1/4, -1/16, -1/4, 3/8, 1/16}, - {1/4, 1/4, -1/16, 3/8, 3/8, 1/16}, - {-3/8, -3/8, -1/16, -1/4, -1/4, 1/16}, - {1/4, -3/8, -1/16, 3/8, -1/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/8, 1/2, 1/2, 1/8} - }, - - on_punch = function(pos, node) - minetest.swap_node(pos, {name = "infrastructure:curve_chevron_bright", param2 = node.param2}) - end, - - mesecons = {effector = { - action_on = function (pos, node) - minetest.swap_node(pos, {name = "infrastructure:curve_chevron_bright", param2 = node.param2}) - end, - }} - }) - - minetest.register_node("infrastructure:curve_chevron_bright", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_curve_chevron_left_bright.png", - "infrastructure_curve_chevron_right_bright.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - light_source = CURVE_CHEVRON_LIGHT_RANGE, - drop = "infrastructure:curve_chevron_dark", - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/16}, - {-1/2, -1/2, 1/16, 1/2, 1/2, 1/8}, - {-3/8, 1/4, -1/16, -1/4, 3/8, 1/16}, - {1/4, 1/4, -1/16, 3/8, 3/8, 1/16}, - {-3/8, -3/8, -1/16, -1/4, -1/4, 1/16}, - {1/4, -3/8, -1/16, 3/8, -1/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/8, 1/2, 1/2, 1/8} - }, - - on_punch = function(pos, node) - minetest.swap_node(pos, {name = "infrastructure:curve_chevron_dark", param2 = node.param2}) - end, - - mesecons = {effector = { - action_off = function (pos, node) - minetest.swap_node(pos, {name = "infrastructure:curve_chevron_dark", param2 = node.param2}) - end - }} - }) - - minetest.register_alias("infrastructure:curve_chevron", "infrastructure:curve_chevron_dark") diff --git a/streets/infrastructure/advanced_emergency_phone.lua b/streets/infrastructure/advanced_emergency_phone.lua deleted file mode 100644 index c511db1..0000000 --- a/streets/infrastructure/advanced_emergency_phone.lua +++ /dev/null @@ -1,107 +0,0 @@ --- Emergency phone (only if enabled) - if ENABLE_EMERGENCY_PHONE then - minetest.register_node("infrastructure:emergency_phone_top", { - description = "Emergency phone", - tiles = { - "infrastructure_emergency_phone_top.png", - "infrastructure_emergency_phone_bottom.png", - "infrastructure_emergency_phone_side.png", - "infrastructure_emergency_phone_side.png", - "infrastructure_emergency_phone_side.png", - "infrastructure_emergency_phone_front.png" - }, - drawtype = "nodebox", - drop = "streets:emergencyphone", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky=1,not_in_creative_inventory=1}, - light_source = EMERGENCY_PHONE_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25}, - {-0.25, -0.5, -0.3125, -0.1875, 0.5, -0.25}, - {0.1875, -0.5, -0.3125, 0.25, 0.5, -0.25}, - {-0.1875, 0.4375, -0.3125, 0.1875, 0.5, -0.25} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25}, - {-0.25, -0.5, -0.3125, -0.1875, 0.5, -0.25}, - {0.1875, -0.5, -0.3125, 0.25, 0.5, -0.25}, - {-0.1875, 0.4375, -0.3125, 0.1875, 0.5, -0.25}, - } - }, - - after_dig_node = function(pos) - pos.y = pos.y - 1 - if minetest.get_node(pos).name == "infrastructure:emergency_phone_bottom" then - minetest.remove_node(pos) - end - end, - - on_punch = function(pos, node, puncher) - if dial_handler ~= nil then - minetest.sound_stop(dial_handler) - dial_handler = nil - end - dial_handler = minetest.sound_play("infrastructure_emergency_phone", { - pos = pos, - gain = EMERGENCY_PHONE_VOLUME, - max_hear_distance = 50 - }) - if (puncher:is_player() and puncher:get_hp() < HEALTH_TO_RESTORING and puncher:get_hp() <= HEALTH_TO_TRIGGER) then - puncher:set_hp(HEALTH_TO_RESTORING) - minetest.chat_send_player(puncher:get_player_name(), "You got healed!") - minetest.chat_send_all("Server: -!- "..puncher:get_player_name().." used an emergency phone at "..pos.x..","..pos.y..","..pos.z); - end - end - }) - - minetest.register_node("infrastructure:emergency_phone_bottom", { - tiles = {"infrastructure_emergency_phone_bottom.png"}, - drawtype = "nodebox", - drop = "streets:emergencyphone", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky=1,not_in_creative_inventory=1}, - node_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25} - }, - selection_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25} - }, - - after_dig_node = function(pos) - pos.y = pos.y+1 - if minetest.get_node(pos).name == "infrastructure:emergency_phone_top" then - minetest.remove_node(pos) - end - end, - }) - - minetest.register_alias("infrastructure:emergency_phone", "infrastructure:emergency_phone_top") - - minetest.register_abm({ - nodenames = {"streets:emergencyphone"}, - interval = 1, - chance = 1, - action = function(pos, node) - local node = minetest.get_node(pos) - local node_above = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) - if node_above.name == "air" then - node.name = "infrastructure:emergency_phone_bottom" - minetest.set_node(pos, node) - pos.y = pos.y+1 - end - node.name = "infrastructure:emergency_phone_top" - minetest.set_node(pos, node) - end, - }) - else - print("Infrastructure mod: -!- Emergency-Phone is disabled!") - end diff --git a/streets/infrastructure/advanced_lane_control_lights.lua b/streets/infrastructure/advanced_lane_control_lights.lua deleted file mode 100644 index 195f809..0000000 --- a/streets/infrastructure/advanced_lane_control_lights.lua +++ /dev/null @@ -1,91 +0,0 @@ --- Lane control lights - -for i = 1, 6 do - local groups = {} - if i == 1 then - groups = {cracky = 3} - else - groups = {cracky = 3, not_in_creative_inventory = 1} - end - - minetest.register_node("infrastructure:lane_control_lights_"..tostring(i), { - description = "Lane control lights", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_lane_control_lights_"..tostring(i)..".png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - on_construct = function(pos) - local meta = minetest.get_meta(pos) - meta:set_string("formspec", "field[channel;Channel;${channel}]") - end, - groups = {cracky = 3, not_in_creative_inventory = (i == 1 and 0 or 1)}, - light_source = TRAFFIC_LIGHTS_LIGHT_RANGE, - drop = "infrastructure:lane_control_lights_1", - node_box = { - type = "fixed", - fixed = { - {-7/16, -7/16, -1/8, 7/16, 7/16, 1/8}, - {-7/16, 0, -1/4, -3/8, 7/16, -1/8}, - {3/8, 0, -1/4, 7/16, 7/16, -1/8}, - {-7/16, 3/8, -5/16, 7/16, 7/16, -1/8}, - {-1/16, -1/4, 0, 1/16, 1/4, 1/2 - 0.001}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.001}, - {-1/4, -1/16, 0, 1/4, 1/16, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-7/16, -7/16, -1/8, 7/16, 7/16, 1/8}, - {-7/16, 0, -1/4, -3/8, 7/16, -1/8}, - {3/8, 0, -1/4, 7/16, 7/16, -1/8}, - {-7/16, 3/8, -5/16, 7/16, 7/16, -1/8}, - {-1/16, -1/4, 0, 1/16, 1/4, 1/2 - 0.001}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.001}, - {-1/4, -1/16, 0, 1/4, 1/16, 1/2 - 0.001} - } - - }, - on_receive_fields = function(pos, formname, fields) - if (fields.channel) then - minetest.get_meta(pos):set_string("channel", fields.channel) - end - end, - digiline = { - receptor = {}, - effector = { - action = function(pos, node, channel, msg) - local setchan = minetest.get_meta(pos):get_string("channel") - if setchan ~= channel then - return - end - msg = msg:lower() - if (msg=="off") then - node.name = "infrastructure:lane_control_lights_1" - elseif (msg=="green") then - node.name = "infrastructure:lane_control_lights_3" - elseif (msg=="red") then - node.name = "infrastructure:lane_control_lights_2" - elseif (msg=="yellowleft") then - node.name = "infrastructure:lane_control_lights_5" - elseif (msg=="yellowright") then - node.name = "infrastructure:lane_control_lights_4" - elseif (msg=="yellow") then - node.name = "infrastructure:lane_control_lights_6" - end - minetest.set_node(pos,node) - minetest.get_meta(pos):set_string("channel",setchan) - end - } - } - }) -end - -minetest.register_alias("infrastructure:lane_control_lights", "infrastructure:lane_control_lights_1") diff --git a/streets/infrastructure/advanced_road_signs.lua b/streets/infrastructure/advanced_road_signs.lua deleted file mode 100644 index b732bfd..0000000 --- a/streets/infrastructure/advanced_road_signs.lua +++ /dev/null @@ -1,237 +0,0 @@ --- Road signs - local signs = {"stop", "yield", "right_of_way"} - - for i, sign_name in ipairs(signs) do - minetest.register_node("infrastructure:road_sign_"..sign_name, { - description = "Road sign "..sign_name, - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_road_sign_"..sign_name.."_back.png", - "infrastructure_road_sign_"..sign_name.."_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16, 1/2, 1/2, 7/16}, - {-3/16, -1/8, 7/16, 3/16, 1/8, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16, 1/2, 1/2, 7/16}, - {-3/16, -1/8, 7/16 + 0.01, 3/16, 1/8, 1/2 - 0.01} - } - }, - - after_place_node = function(pos, node) - local node = minetest.env:get_node(pos) - local param2 = node.param2 - local sign_pos = {x=pos.x, y=pos.y, z=pos.z} - - if param2 == 0 then - pos.z = pos.z + 1 - elseif param2 == 1 then - pos.x = pos.x + 1 - elseif param2 == 2 then - pos.z = pos.z - 1 - elseif param2 == 3 then - pos.x = pos.x - 1 - end - - local node = minetest.env:get_node(pos) - - if minetest.registered_nodes[node.name].drawtype == "fencelike" then - minetest.set_node(sign_pos, {name="infrastructure:road_sign_"..sign_name.."_on_post", param2=param2}) - end - end - }) - - minetest.register_node("infrastructure:road_sign_"..sign_name.."_on_post", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_road_sign_"..sign_name.."_back.png", - "infrastructure_road_sign_"..sign_name.."_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - drop = "infrastructure:road_sign_"..sign_name, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16 + 3/8, 1/2, 1/2, 7/16 + 3/8}, - {-3/16, 1/16, 7/16 + 3/8, 3/16, 1/8, 13/16 + 3/8 - 0.001}, - {-3/16, -1/8, 7/16 + 3/8, 3/16, -1/16, 13/16 + 3/8 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16 + 3/8, 1/2, 1/2, 7/16 + 3/8}, - {-3/16, 1/16, 7/16 + 3/8 + 0.01, 3/16, 1/8, 13/16 + 3/8 - 0.01}, - {-3/16, -1/8, 7/16 + 3/8 + 0.01, 3/16, -1/16, 13/16 + 3/8 - 0.01} - } - } - }) - end - --- Road sign crosswalk - minetest.register_node("infrastructure:road_sign_crosswalk", { - description = "Road sign crosswalk", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_road_sign_crosswalk_back.png", - "infrastructure_road_sign_crosswalk_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16, 1/2, 1/2, 7/16}, - {-3/16, -1/8, 7/16, 3/16, 1/8, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16, 1/2, 1/2, 7/16}, - {-3/16, -1/8, 7/16, 3/16, 1/8, 1/2 - 0.001} - } - }, - - after_place_node = function(pos, node) - local node = minetest.env:get_node(pos) - local param2 = node.param2 - local sign_pos = {x=pos.x, y=pos.y, z=pos.z} - - if param2 == 0 then - pos.z = pos.z + 1 - elseif param2 == 1 then - pos.x = pos.x + 1 - elseif param2 == 2 then - pos.z = pos.z - 1 - elseif param2 == 3 then - pos.x = pos.x - 1 - end - - local node = minetest.env:get_node(pos) - - if param2 == 0 then - pos.z = pos.z - 2 - elseif param2 == 1 then - pos.x = pos.x - 2 - elseif param2 == 2 then - pos.z = pos.z + 2 - elseif param2 == 3 then - pos.x = pos.x + 2 - end - - if minetest.registered_nodes[node.name].drawtype == "fencelike" then - minetest.set_node(sign_pos, {name="infrastructure:road_sign_crosswalk_on_post", param2=param2}) - minetest.env:add_node(pos, {name="infrastructure:road_sign_retroreflective_surface_on_post", param2=param2}) - else - minetest.env:add_node(pos, {name="infrastructure:road_sign_retroreflective_surface", param2=param2}) - end - end - }) - - minetest.register_node("infrastructure:road_sign_crosswalk_on_post", { - description = "Road sign crosswalk", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_road_sign_crosswalk_back.png", - "infrastructure_road_sign_crosswalk_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - drop = "infrastructure:road_sign_crosswalk", - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16 + 3/8, 1/2, 1/2, 7/16 + 3/8}, - {-3/16, 1/16, 7/16 + 3/8, 3/16, 1/8, 13/16 + 3/8 - 0.001}, - {-3/16, -1/8, 7/16 + 3/8, 3/16, -1/16, 13/16 + 3/8 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 7/16 + 3/8, 1/2, 1/2, 7/16 + 3/8}, - {-3/16, 1/16, 7/16 + 3/8 + 0.01, 3/16, 1/8, 13/16 + 3/8 - 0.01}, - {-3/16, -1/8, 7/16 + 3/8 + 0.01, 3/16, -1/16, 13/16 + 3/8 - 0.01} - } - } - }) - - minetest.register_node("infrastructure:road_sign_retroreflective_surface", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_road_sign_retroreflective_surface.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = RETROREFLECTIVE_SURFACE_LIGHT_RANGE, - drop = "", - node_box = { - type = "fixed", - fixed = {-3/4, -3/4, 7/16 + 1 + 0.01, 3/4, 3/4, 7/16 + 1 + 0.01} - }, - selection_box = { - type = "fixed", - fixed = {-3/4, -3/4, 7/16 + 1 + 0.01, 3/4, 3/4, 7/16 + 1 + 0.01} - } - }) - - minetest.register_node("infrastructure:road_sign_retroreflective_surface_on_post", { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_road_sign_retroreflective_surface.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = RETROREFLECTIVE_SURFACE_LIGHT_RANGE, - drop = "", - node_box = { - type = "fixed", - fixed = {-3/4, -3/4, 7/16 + 3/8 + 1 + 0.01, 3/4, 3/4, 7/16 + 3/8 + 1 + 0.01} - }, - selection_box = { - type = "fixed", - fixed = {-3/4, -3/4, 7/16 + 3/8 + 1 + 0.01, 3/4, 3/4, 7/16 + 3/8 + 1 + 0.01} - } - }) diff --git a/streets/infrastructure/advanced_traffic_lights_pedestrians.lua b/streets/infrastructure/advanced_traffic_lights_pedestrians.lua deleted file mode 100644 index 02da804..0000000 --- a/streets/infrastructure/advanced_traffic_lights_pedestrians.lua +++ /dev/null @@ -1,252 +0,0 @@ --- Traffic lights for pedestrians - beep_handler = {} - - function semaphores_pedestrians(pos, node) - local p = minetest.hash_node_position(pos) - if node.name == "infrastructure:traffic_lights_pedestrians_bottom_1" then - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_bottom_2", param2 = node.param2}) - pos.y = pos.y + 1 - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_top_2", param2 = node.param2}) - elseif node.name == "infrastructure:traffic_lights_pedestrians_bottom_2" then - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_bottom_3", param2 = node.param2}) - pos.y = pos.y + 1 - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_top_3", param2 = node.param2}) - beep_handler[p] = minetest.sound_play("infrastructure_traffic_lights_1", { - loop = true, - pos = pos, - gain = TRAFFIC_LIGHTS_VOLUME, - max_hear_distance = 50 - }) - elseif node.name == "infrastructure:traffic_lights_pedestrians_bottom_3" then - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_bottom_4", param2 = node.param2}) - if beep_handler[p] ~= nil then - minetest.sound_stop(beep_handler[p]) - beep_handler[p] = nil - end - pos.y = pos.y + 1 - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_top_4", param2 = node.param2}) - beep_handler[p] = minetest.sound_play("infrastructure_traffic_lights_2", { - loop = true, - pos = pos, - gain = TRAFFIC_LIGHTS_VOLUME, - max_hear_distance = 50 - }) - elseif node.name == "infrastructure:traffic_lights_pedestrians_bottom_4" then - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_bottom_1", param2 = node.param2}) - pos.y = pos.y + 1 - minetest.swap_node(pos, {name = "infrastructure:traffic_lights_pedestrians_top_1", param2 = node.param2}) - if beep_handler[p] ~= nil then - minetest.sound_stop(beep_handler[p]) - beep_handler[p] = nil - end - end - end - - function quiet(pos) - local p = minetest.hash_node_position(pos) - if beep_handler[p] ~= nil then - minetest.sound_stop(beep_handler[p]) - beep_handler[p] = nil - end - end - - for i = 1, 4 do - minetest.register_node("infrastructure:traffic_lights_pedestrians_top_"..tostring(i), { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_pedestrians_top_back.png", - "infrastructure_traffic_lights_pedestrians_top_front_"..tostring(i)..".png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky=3, not_in_creative_inventory = 1}, - light_source = TRAFFIC_LIGHTS_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-5/16, -1/2, -1/8, 5/16, 0, 1/8}, - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/8}, - - {-5/16, -1/8, -5/16, 5/16, -1/16, -1/8}, - {-5/16, -3/8, -1/4, -1/4, -1/8, -1/8}, - {1/4, -3/8, -1/4, 5/16, -1/8, -1/8}, - - {-1/8, 1/16, -1/8, 1/8, 5/16, 0}, - {-1/16, 1/8, 0, 1/16, 1/4, 1/8}, - {-1/16, 0, -1/16, 1/16, 1/8, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = {0, 0, 0, 0, 0, 0} - } - }) - - minetest.register_node("infrastructure:traffic_lights_pedestrians_bottom_"..tostring(i), { - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_pedestrians_bottom_back.png", - "infrastructure_traffic_lights_pedestrians_bottom_front_"..tostring(i)..".png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - light_source = TRAFFIC_LIGHTS_LIGHT_RANGE, - drop = "infrastructure:traffic_lights_pedestrians_bottom_1", - node_box = { - type = "fixed", - fixed = { - {-5/16, -5/16, -1/8, 5/16, 1/2, 1/8}, - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/8}, - - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - -- box - {-5/16, -5/16, -1/8, 5/16, 1, 1/8}, - -- top - {-5/16, -1/8 + 1, -5/16, 5/16, -1/16 + 1, -1/8}, - {-5/16, -3/8 + 1, -1/4, -1/4, -1/8 + 1, -1/8}, - {1/4, -3/8 + 1, -1/4, 5/16, -1/8 + 1, -1/8}, - - {-1/8, 1/16 + 1, -1/8, 1/8, 5/16 + 1, 0}, - {-1/16, 1/8 + 1, 0, 1/16, 1/4 + 1, 1/8}, - {-1/16, 0 + 1, -1/16, 1/16, 1/4 + 1, 1/16}, - -- bottom - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.01} - } - }, - - after_place_node = function(pos) - local node = minetest.env:get_node(pos) - pos.y = pos.y + 1 - node.name = "infrastructure:traffic_lights_pedestrians_top_"..tostring(i) - minetest.env:add_node(pos, node) - end, - - after_dig_node = function(pos) - local node = minetest.env:get_node(pos) - quiet(pos) - pos.y = pos.y + 1 - node.name = "infrastructure:traffic_lights_pedestrians_top_"..tostring(i) - minetest.env:remove_node(pos) - end, - - on_punch = function(pos, node) - semaphores_pedestrians(pos, node) - end, - - mesecons = {effector = { - action_on = function(pos, node) - semaphores_pedestrians(pos, node) - end - }} - }) - end - - minetest.register_node("infrastructure:traffic_lights_pedestrians_bottom_1", { - description = "Traffic lights for pedestrians", - inventory_image = "infrastructure_traffic_lights_pedestrians.png", - wield_image = "infrastructure_traffic_lights_pedestrians.png", - tiles = { - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_side.png", - "infrastructure_traffic_lights_pedestrians_bottom_back.png", - "infrastructure_traffic_lights_pedestrians_bottom_front_1.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 0}, - light_source = TRAFFIC_LIGHTS_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-5/16, -5/16, -1/8, 5/16, 1/2, 1/8}, - {-1/2, -1/2, -1/8, 1/2, 1/2, -1/8}, - - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.001} - } - }, - selection_box = { - type = "fixed", - fixed = { - -- box - {-5/16, -5/16, -1/8, 5/16, 1, 1/8}, - -- top - {-5/16, -1/8 + 1, -5/16, 5/16, -1/16 + 1, -1/8}, - {-5/16, -3/8 + 1, -1/4, -1/4, -1/8 + 1, -1/8}, - {1/4, -3/8 + 1, -1/4, 5/16, -1/8 + 1, -1/8}, - - {-1/8, 1/16 + 1, -1/8, 1/8, 5/16 + 1, 0}, - {-1/16, 1/8 + 1, 0, 1/16, 1/4 + 1, 1/8}, - {-1/16, 0 + 1, -1/16, 1/16, 1/8 + 1, 1/16}, - -- bottom - {-5/16, 1/4, -5/16, 5/16, 5/16, -1/8}, - {-5/16, 0, -1/4, -1/4, 1/4, -1/8}, - {1/4, 0, -1/4, 5/16, 1/4, -1/8}, - - {-1/16, -1/4, 1/8, 1/16, 1/4, 3/8}, - {-1/4, -1/16, 1/8, 1/4, 1/16, 3/8}, - {-1/4, -1/4, 3/8, 1/4, 1/4, 1/2 - 0.01} - } - }, - - after_place_node = function(pos) - local node = minetest.env:get_node(pos) - pos.y = pos.y + 1 - node.name = "infrastructure:traffic_lights_pedestrians_top_1" - minetest.env:add_node(pos, node) - end, - - after_dig_node = function(pos) - local node = minetest.env:get_node(pos) - quiet(pos) - pos.y = pos.y + 1 - node.name = "infrastructure:traffic_lights_pedestrians_top_1" - minetest.env:remove_node(pos) - end, - - on_punch = function(pos, node) - semaphores_pedestrians(pos, node) - end, - - mesecons = {effector = { - action_on = function(pos, node) - semaphores_pedestrians(pos, node) - end - }} - }) - - minetest.register_alias("infrastructure:traffic_lights_pedestrians", "infrastructure:traffic_lights_pedestrians_bottom_1") diff --git a/streets/infrastructure/advanced_warning_light.lua b/streets/infrastructure/advanced_warning_light.lua deleted file mode 100644 index 0ed5b62..0000000 --- a/streets/infrastructure/advanced_warning_light.lua +++ /dev/null @@ -1,47 +0,0 @@ --- Warning light - -minetest.register_node("infrastructure:warning_light", { - description = "Warning light", - tiles = { - "infrastructure_warning_light_top.png", - "infrastructure_warning_light_bottom.png", - "infrastructure_warning_light_right.png", - "infrastructure_warning_light_left.png", - "infrastructure_warning_light_back.png", - {name="infrastructure_warning_light_front_anim.png",animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=3}}, - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 1}, - light_source = WARNING_LIGHT_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-5/16, -3/8, 0, 5/16, 0, 0}, - - {-1/4, -5/16, 0, 0, -1/16, 1/8}, - - {1/16, -1/2, -1/8, 5/16, -1/4, 1/8}, - - {-1/16, -1/2, -1/16, 1/16, -3/8, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-5/16, -3/8, 0, 5/16, 0, 0}, - - {-1/4, -5/16, 0 + 0.01, 0, -1/16, 1/8}, - - {1/16, -1/2, -1/8, 5/16, -1/4, 1/8}, - - {-1/16, -1/2, -1/16, 1/16, -3/8, 1/16} - } - } -}) - - - -minetest.register_alias("infrastructure:warning_light_bright", "infrastructure:warning_light") -minetest.register_alias("infrastructure:warning_light_dark", "infrastructure:warning_light") diff --git a/streets/infrastructure/crafts.lua b/streets/infrastructure/crafts.lua deleted file mode 100644 index 9897892..0000000 --- a/streets/infrastructure/crafts.lua +++ /dev/null @@ -1,443 +0,0 @@ --- **************************************************************************************************** MATERIALS - --- Galvanized steel - if minetest.get_modpath("technic") then - technic.register_alloy_recipe({input = {"default:steel_ingot 6", "technic:zinc_ingot 1"}, output = "infrastructure:galvanized_steel 6", time = 4}) - else - minetest.register_craft({ - output = '"infrastructure:galvanized_steel" 6', - recipe = { - {'', 'default:copper_ingot', ''}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'} - } - }) - end - --- Galvanized steel fence - minetest.register_craft({ - output = '"infrastructure:fence_galvanized_steel" 6', - recipe = { - {'infrastructure:galvanized_steel', 'infrastructure:galvanized_steel', 'infrastructure:galvanized_steel'}, - {'infrastructure:galvanized_steel', 'infrastructure:galvanized_steel', 'infrastructure:galvanized_steel'} - } - }) - --- **************************************************************************************************** PRECAST CONCRETE - --- Concrete seperating wall - minetest.register_craft({ - output = '"infrastructure:precast_concrete_seperating_wall" 5', - recipe = { - {'', 'infrastructure:concrete', ''}, - {'', 'infrastructure:concrete', ''}, - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'} - } - }) - --- Concrete cylinder - minetest.register_craft({ - output = '"infrastructure:precast_concrete_cylinder" 8', - recipe = { - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'}, - {'infrastructure:concrete', '', 'infrastructure:concrete'}, - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'} - } - }) - --- Concrete grid paver - minetest.register_craft({ - output = '"infrastructure:precast_concrete_grid_paver" 5', - recipe = { - {'infrastructure:concrete', '', 'infrastructure:concrete'}, - {'', 'infrastructure:concrete', ''}, - {'infrastructure:concrete', '', 'infrastructure:concrete'} - } - }) - --- **************************************************************************************************** STEEL STRUCTURES - --- Truss - minetest.register_craft({ - output = '"infrastructure:truss" 5', - recipe = { - {'infrastructure:galvanized_steel', '', 'infrastructure:galvanized_steel'}, - {'', 'infrastructure:galvanized_steel', ''}, - {'infrastructure:galvanized_steel', '', 'infrastructure:galvanized_steel'} - } - }) - --- Wire netting - minetest.register_craft({ - output = '"infrastructure:wire_netting" 10', - recipe = { - {'', 'infrastructure:galvanized_steel', ''}, - {'infrastructure:galvanized_steel', '', 'infrastructure:galvanized_steel'}, - {'', 'infrastructure:galvanized_steel', ''} - } - }) - --- Razor wire - minetest.register_craft({ - output = '"infrastructure:razor_wire" 5', - recipe = { - {'infrastructure:galvanized_steel'}, - {'default:cactus'}, - {'infrastructure:galvanized_steel'} - } - }) - --- Drainage channel grating - minetest.register_craft({ - output = '"infrastructure:drainage_channel_grating" 2', - recipe = { - {'infrastructure:galvanized_steel', '', 'infrastructure:galvanized_steel'} - } - }) - --- Louver - minetest.register_craft({ - output = '"infrastructure:drainage_channel_grating" 2', - recipe = { - {'infrastructure:galvanized_steel'}, - {''}, - {'infrastructure:galvanized_steel'} - } - }) - --- Riffled sheet - minetest.register_craft({ - output = '"infrastructure:riffled_sheet" 4', - recipe = { - {'infrastructure:galvanized_steel', 'infrastructure:fence_galvanized_steel'}, - {'infrastructure:fence_galvanized_steel', 'infrastructure:galvanized_steel'} - } - }) - --- Corrugated sheet - minetest.register_craft({ - output = '"infrastructure:corrugated_sheet" 4', - recipe = { - {"","infrastructure:galvanized_steel",""}, - {"infrastructure:galvanized_steel","","infrastructure:galvanized_steel"} - } - }) - --- Louvers - minetest.register_craft({ - output = "infrastructure:louver_opened", - recipe = { - {"infrastructure:fence_galvanized_steel","infrastructure:galvanized_steel","infrastructure:fence_galvanized_steel"}, - {"","",""}, - {"infrastructure:fence_galvanized_steel","infrastructure:galvanized_steel","infrastructure:fence_galvanized_steel"} - } - }) - --- **************************************************************************************************** ADVANCED ITEMS - --- Raised pavement marker yellow/yellow - minetest.register_craft({ - output = '"infrastructure:marker_yellow_yellow" 1', - recipe = { - {'wool:yellow', 'infrastructure:asphalt', 'wool:yellow'}, - {'infrastructure:asphalt', 'infrastructure:asphalt', 'infrastructure:asphalt'} - } - }) - --- Raised pavement marker red/yellow - minetest.register_craft({ - output = '"infrastructure:marker_red_yellow" 1', - recipe = { - {'wool:yellow', 'infrastructure:asphalt', 'wool:red'}, - {'infrastructure:asphalt', 'infrastructure:asphalt', 'infrastructure:asphalt'} - } - }) - --- Retroreflective delineators - minetest.register_craft({ - output = '"infrastructure:delineator" 1', - recipe = { - {'wool:yellow', 'infrastructure:concrete', 'wool:red'}, - {'', 'infrastructure:concrete', ''}, - {'', 'infrastructure:concrete', ''} - } - }) - - minetest.register_craft({ - output = '"infrastructure:delineator_guardrail" 1', - recipe = { - {'wool:yellow', 'infrastructure:concrete', 'wool:red'}, - {'', 'infrastructure:concrete', ''} - } - }) - --- Wire rope safety barrier - minetest.register_craft({ - output = '"infrastructure:wire_rope_safety_barrier" 1', - recipe = { - {'default:steel_ingot', '', 'default:steel_ingot'}, - {'', 'default:steel_ingot', ''}, - {'', 'default:steel_ingot', ''} - } - }) - --- Cable barrier terminal - minetest.register_craft({ - output = '"infrastructure:cable_barrier_terminal" 1', - recipe = { - {'default:steel_ingot', '', ''}, - {'', 'default:steel_ingot', ''}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'} - } - }) - --- Corrugated guide rail - minetest.register_craft({ - output = '"infrastructure:corrugated_guide_rail" 1', - recipe = { - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, - {'', 'default:steel_ingot', ''}, - {'', 'default:steel_ingot', ''} - } - }) - --- Energy absorbing terminal - minetest.register_craft({ - output = '"infrastructure:energy_absorbing_terminal" 1', - recipe = { - {'', 'default:steel_ingot', ''}, - {'default:steel_ingot', 'default:steel_ingot', ''}, - {'', 'default:steel_ingot', ''} - } - }) - - minetest.register_craft({ - output = '"infrastructure:energy_absorbing_terminal" 1', - recipe = { - {'infrastructure:energy_absorbing_terminal_inversed'} - } - }) - - minetest.register_craft({ - output = '"infrastructure:energy_absorbing_terminal_inversed" 1', - recipe = { - {'infrastructure:energy_absorbing_terminal'} - } - }) - --- Fitch barrel - minetest.register_craft({ - output = '"infrastructure:fitch_barrel" 1', - recipe = { - {'wool:black', 'wool:black', 'wool:black'}, - {'wool:yellow', 'default:sand', 'wool:yellow'}, - {'wool:yellow', 'wool:yellow', 'wool:yellow'} - } - }) - --- Crowd control barricade - minetest.register_craft({ - output = '"infrastructure:crowd_control_barricade" 1', - recipe = { - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, - {'default:steel_ingot', '', 'default:steel_ingot'} - } - }) - -if ENABLE_EMERGENCY_PHONE then --- Emergency phone - minetest.register_craft({ - output = '"infrastructure:emergency_phone" 1', - recipe = { - {'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'}, - {'default:mese_crystal', 'default:apple', 'default:mese_crystal'}, - {'default:mese_crystal', 'default:stick', 'default:mese_crystal'} - } - }) - minetest.register_craft({ - output = '"infrastructure:emergency_phone" 1', - recipe = { - {'default:mese', 'default:mese', 'default:mese'}, - {'default:mese', 'default:apple', 'default:mese'}, - {'default:mese', 'default:stick', 'default:mese'} - } - }) -end - --- Manhole cover - minetest.register_craft({ - output = '"infrastructure:manhole_cover_closed" 1', - recipe = { - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'}, - {'infrastructure:concrete', 'default:steel_ingot', 'infrastructure:concrete'}, - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'} - } - }) - --- Traffic lights for pedestrians - minetest.register_craft({ - output = '"infrastructure:traffic_lights_pedestrians" 1', - recipe = { - {'', 'default:steel_ingot', ''}, - {'default:steel_ingot', 'wool:red', 'default:steel_ingot'}, - {'default:steel_ingot', 'wool:green', 'default:steel_ingot'} - } - }) - --- Crosswalk warning light - minetest.register_craft({ - output = '"infrastructure:crosswalk_warning_light" 1', - recipe = { - {'', 'default:steel_ingot', ''}, - {'default:steel_ingot', 'wool:yellow', 'default:steel_ingot'}, - {'', 'wool:green', ''} - } - }) - --- Curve chevron - minetest.register_craft({ - output = '"infrastructure:curve_chevron" 1', - recipe = { - {'wool:yellow', 'wool:black', 'wool:yellow'}, - {'wool:black', 'wool:yellow', 'wool:yellow'}, - {'wool:yellow', 'wool:black', 'wool:yellow'} - } - }) - --- Crosswalk lighting - minetest.register_craft({ - output = '"infrastructure:crosswalk_lighting" 1', - recipe = { - {'wool:white', 'wool:white', 'wool:white'}, - {'', 'mesecons_torch:mesecon_torch_on', ''}, - {'wool:white', 'wool:white', 'wool:white'} - } - }) - --- Crosswalk safety sign - minetest.register_craft({ - output = '"infrastructure:crosswalk_safety_sign" 1', - recipe = { - {'', 'wool:green', ''}, - {'', 'wool:green', ''}, - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'} - } - }) - --- Road sign crosswalk - minetest.register_craft({ - output = '"infrastructure:road_sign_crosswalk" 1', - recipe = { - {'wool:green', 'wool:green', 'wool:green'}, - {'wool:green', 'wool:blue', 'wool:green'}, - {'wool:green', 'wool:green', 'wool:green'} - } - }) - --- Road sign right_of_way - minetest.register_craft({ - output = '"infrastructure:road_sign_right_of_way" 1', - recipe = { - {"", 'wool:white', ""}, - {'wool:white', 'wool:yellow', 'wool:white'}, - {"", 'wool:white', ""} - } - }) - --- Road sign stop - minetest.register_craft({ - output = '"infrastructure:road_sign_stop" 1', - recipe = { - {'wool:red', 'wool:red', 'wool:red'}, - {'wool:red', 'wool:white', 'wool:red'}, - {'wool:red', 'wool:red', 'wool:red'} - } - }) - --- Road sign yield - minetest.register_craft({ - output = '"infrastructure:road_sign_yield" 1', - recipe = { - {'wool:orange', 'wool:orange', 'wool:orange'}, - {'wool:red', 'wool:orange', 'wool:red'}, - {'', 'wool:red', ''} - } - }) - --- Automatic warning device - minetest.register_craft({ - output = '"infrastructure:automatic_warning_device" 1', - recipe = { - {'wool:red', 'default:steel_ingot', 'wool:red'}, - {'', 'default:steel_ingot', ''}, - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'} - } - }) - --- Boom barrier - minetest.register_craft({ - output = '"infrastructure:boom_barrier_mechanism" 1', - recipe = { - {'default:steel_ingot', 'default:steel_ingot', ''}, - {'', 'default:steel_ingot', ''}, - {'infrastructure:concrete', 'infrastructure:concrete', 'infrastructure:concrete'} - } - }) - - minetest.register_craft({ - output = '"infrastructure:boom_barrier_arm" 1', - recipe = { - {'', 'wool:red', ''}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'} - } - }) - --- Aircraft warning light - minetest.register_craft({ - output = '"infrastructure:aircraft_warning_light" 1', - recipe = { - {'', 'wool:red', ''}, - {'wool:red', 'default:torch', 'wool:red'}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'} - } - }) - --- Warning light - minetest.register_craft({ - output = '"infrastructure:warning_light" 1', - recipe = { - {'wool:yellow', 'wool:yellow', ''}, - {'wool:yellow', 'default:torch', ''}, - {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'} - } - }) - --- Anti-dazzling panel - minetest.register_craft({ - output = '"infrastructure:anti_dazzling_panel" 1', - recipe = { - {'wool:grey', 'wool:grey'}, - {'wool:grey', 'wool:yellow'}, - {'wool:grey', 'wool:grey'} - } - }) - --- Traffic cone - minetest.register_craft({ - output = '"infrastructure:traffic_cone" 1', - recipe = { - {'', 'wool:orange', ''}, - {'wool:orange', '', 'wool:orange'}, - } - }) - --- Noise barrier - minetest.register_craft({ - output = '"infrastructure:noise_barrier" 1', - recipe = { - {'default:steel_ingot', 'wool:green', 'default:steel_ingot'}, - {'wool:green', 'default:steel_ingot', 'wool:green'}, - {'default:steel_ingot', 'wool:green', 'default:steel_ingot'} - } - }) diff --git a/streets/infrastructure/depends.txt b/streets/infrastructure/depends.txt deleted file mode 100644 index af1119b..0000000 --- a/streets/infrastructure/depends.txt +++ /dev/null @@ -1,8 +0,0 @@ -default -moreblocks -mesecons -wool -streetsmod -prefab -digilines -technic? diff --git a/streets/infrastructure/init.lua b/streets/infrastructure/init.lua deleted file mode 100644 index 76d94f3..0000000 --- a/streets/infrastructure/init.lua +++ /dev/null @@ -1,26 +0,0 @@ -infrastructure = {} - --- Load settings -dofile(minetest.get_modpath("infrastructure").."/settings.lua") - --- Register nodes -dofile(minetest.get_modpath("infrastructure").."/nodes.lua") --- Register special nodes -dofile(minetest.get_modpath("infrastructure").."/nodes_extension.lua") --- Register advanced devices -dofile(minetest.get_modpath("infrastructure").."/advanced_road_signs.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_emergency_phone.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_traffic_lights_pedestrians.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_crosswalk_warning_light.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_lane_control_lights.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_curve_chevron.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_crosswalk_lighting.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_crosswalk_safety_sign.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_automatic_warning_device.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_boom_barrier.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_aircraft_warning_light.lua") -dofile(minetest.get_modpath("infrastructure").."/advanced_warning_light.lua") --- Register crafting recipes -dofile(minetest.get_modpath("infrastructure").."/crafts.lua") - -print("Infrastructure mod loaded succesfully!") diff --git a/streets/infrastructure/nodes.lua b/streets/infrastructure/nodes.lua deleted file mode 100644 index e0455ee..0000000 --- a/streets/infrastructure/nodes.lua +++ /dev/null @@ -1,1473 +0,0 @@ --- **************************************************************************************************** MATERIALS - --- Asphalt block - minetest.register_alias("infrastructure:asphalt", "streets:asphalt") - --- Concrete block - minetest.register_alias("infrastructure:concrete", "technic:concrete") - --- Concrete fence - minetest.register_alias("infrastructure:fence_concrete", "prefab:concrete_fence") - --- Galvanized steel block - minetest.register_node("infrastructure:galvanized_steel", { - description = "Galvanized steel", - tiles = {"infrastructure_galvanized_steel.png"}, - drawtype = "normal", - paramtype = "light", - groups = {cracky = 2}, - }) - minetest.register_alias("galvanized_steel", "infrastructure:galvanized_steel") - --- Galvanized steel fence - minetest.register_node("infrastructure:fence_galvanized_steel", { - description = "Galvanized steel fence", - drawtype = "fencelike", - tiles = {"infrastructure_galvanized_steel.png"}, - paramtype = "light", - is_ground_content = true, - selection_box = { - type = "fixed", - fixed = {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}, - }, - groups = {cracky = 2}, - }) - - --- **************************************************************************************************** PRECAST CONCRETE - --- Concrete seperating wall - minetest.register_node("infrastructure:precast_concrete_seperating_wall", { - description = "Precast concrete seperating wall", - tiles = {"infrastructure_concrete.png"}, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {-5/16, -1/2, -7/16, 5/16, -1/4, 7/16}, - {-1/16, -1/4, -7/16, 1/16, 1/2, 7/16}, - {-3/16, -1/2, -5/16, 3/16, 0, -1/4}, - {-3/16, -1/2, 1/4, 3/16, 0, 5/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-5/16, -1/2, -7/16, 5/16, -1/4, 7/16}, - {-1/16, -1/4, -7/16, 1/16, 1/2, 7/16}, - {-3/16, -1/2, -5/16, 3/16, 0, -1/4}, - {-3/16, -1/2, 1/4, 3/16, 0, 5/16} - } - } - }) - --- Concrete cylinder - minetest.register_node("infrastructure:precast_concrete_cylinder", { - description = "Precast concrete cylinder", - tiles = {"infrastructure_concrete.png"}, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - walkable = false, - climbable = true, - node_box = { - type = "fixed", - fixed = { - {3/8, -1/2, -1/2, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, -3/8, 1/2, 1/2}, - {-1/2, -1/2, 3/8, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, 1/2, 1/2, -3/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {3/8, -1/2, -1/2, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, -3/8, 1/2, 1/2}, - {-1/2, -1/2, 3/8, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, 1/2, 1/2, -3/8} - } - } - }) - --- Concrete grid paver - minetest.register_node("infrastructure:precast_concrete_grid_paver", { - description = "Precast concrete grid paver", - tiles = { - "infrastructure_grid_paver_top.png", - "infrastructure_grid_paver_bottom.png", - "infrastructure_concrete.png", - "infrastructure_concrete.png", - "infrastructure_concrete.png", - "infrastructure_concrete.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, -1/2, 1/2, -1/2, 1/2}, - {-1/2, -1/2 + 1/128, -1/2, 1/2, -1/2 + 1/128, 1/2}, - {-1/2, -1/2 + 2/128, -1/2, 1/2, -1/2 + 2/128, 1/2}, - {-1/2, -1/2 + 3/128, -1/2, 1/2, -1/2 + 3/128, 1/2}, - {-1/2, -1/2 + 4/128, -1/2, 1/2, -1/2 + 4/128, 1/2}, - {-1/2, -1/2 + 5/128, -1/2, 1/2, -1/2 + 5/128, 1/2}, - {-1/2, -1/2 + 6/128, -1/2, 1/2, -1/2 + 6/128, 1/2}, - {-1/2, -1/2 + 7/128, -1/2, 1/2, -1/2 + 7/128, 1/2}, - {-1/2, -1/2 + 8/128, -1/2, 1/2, -1/2 + 8/128, 1/2}, - } - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 1/2, -1/2 + 8/128, 1/2} - }, - - after_place_node = function(pos) - pos.y = pos.y - 1 - local node = minetest.get_node(pos) - if (node.name == "default:dirt_with_grass") then - pos.y = pos.y + 1 - local node = minetest.get_node(pos) - node.name = "infrastructure:precast_concrete_grid_paver_with_grass" - minetest.swap_node(pos, node) - end - end - }) - - minetest.register_node("infrastructure:precast_concrete_grid_paver_with_grass", { - description = "Precast concrete grid paver with grass", - tiles = { - "infrastructure_grid_paver_top.png", - "infrastructure_grid_paver_bottom.png", - "infrastructure_grid_paver_grass.png", - "infrastructure_grid_paver_grass.png", - "infrastructure_grid_paver_grass.png", - "infrastructure_grid_paver_grass.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2,not_in_creative_inventory = 1}, - drop = "infrastructure:precast_concrete_grid_paver", - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, -1/2, 1/2, -1/2, 1/2}, - {-1/2, -1/2 + 1/128, -1/2, 1/2, -1/2 + 1/128, 1/2}, - {-1/2, -1/2 + 2/128, -1/2, 1/2, -1/2 + 2/128, 1/2}, - {-1/2, -1/2 + 3/128, -1/2, 1/2, -1/2 + 3/128, 1/2}, - {-1/2, -1/2 + 4/128, -1/2, 1/2, -1/2 + 4/128, 1/2}, - {-1/2, -1/2 + 5/128, -1/2, 1/2, -1/2 + 5/128, 1/2}, - {-1/2, -1/2 + 6/128, -1/2, 1/2, -1/2 + 6/128, 1/2}, - {-1/2, -1/2 + 7/128, -1/2, 1/2, -1/2 + 7/128, 1/2}, - {-1/2, -1/2 + 8/128, -1/2, 1/2, -1/2 + 8/128, 1/2}, - - {-3/8, -1/2, 1/4, -1/8, 0, 1/4}, - {1/8, -1/2, 1/4, 3/8, 0, 1/4}, - - {-1/8, -1/2, 0, 1/8, 0, 0}, - - {-3/8, -1/2, -1/4, -1/8, 0, -1/4}, - {1/8, -1/2, -1/4, 3/8, 0, -1/4}, - - {1/4, -1/2, -3/8, 1/4, 0, -1/8}, - {1/4, -1/2, 1/8, 1/4, 0, 3/8}, - - {0, -1/2, -1/8, 0, 0, 1/8}, - - {-1/4, -1/2, -3/8, -1/4, 0, -1/8}, - {-1/4, -1/2, 1/8, -1/4, 0, 3/8} - } - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 1/2, -1/2 + 8/128, 1/2} - }, - - on_punch = function(pos, node) - local node = minetest.get_node(pos) - node.name = "infrastructure:precast_concrete_grid_paver" - minetest.swap_node(pos, node) - end - }) - --- **************************************************************************************************** STEEL STRUCTURES - --- Truss - minetest.register_node("infrastructure:truss", { - description = "Truss", - tiles = {"infrastructure_truss.png"}, - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {1/2, -1/2, -1/2, 1/2, 1/2, 1/2}, - {-1/2, 1/2, -1/2, 1/2, 1/2, 1/2}, - {-1/2, -1/2, 1/2, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, -1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, 1/2, -1/2, 1/2}, - {-1/2, -1/2, -1/2, 1/2, 1/2, -1/2} - } - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2} - } - }) - --- Wire netting - minetest.register_node("infrastructure:wire_netting", { - description = "Wire netting", - tiles = {"infrastructure_wire_netting.png"}, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = {-1/2, -1/2, 0, 1/2, 1/2, 0} - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/8, 1/2, 1/2, 1/8} - } - }) - --- Razor wire - minetest.register_node("infrastructure:razor_wire", { - description = "Razor wire", - tiles = {"infrastructure_razor_wire.png"}, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {-1/2, 1/2, -1/2, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, 1/2, -1/2, 1/2}, - {-1/2, -1/2, 1/2, 1/2, 1/2, 1/2}, - {-1/2, -1/2, -1/2, 1/2, 1/2, -1/2} - } - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 1/2, 1/2, 1/2} - }, - - walkable = false, - damage_per_second = 8 - }) - --- Drainage channel grating - minetest.register_node("infrastructure:drainage_channel_grating", { - description = "Truss", - tiles = { - "infrastructure_drainage_channel_grating.png", - "infrastructure_drainage_channel_grating.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 0, -3/8, 1/2} - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 0, -3/8, 1/2} - } - }) - --- Louver - minetest.register_node("infrastructure:louver_opened", { - description = "Louver", - tiles = {"infrastructure_galvanized_steel.png"}, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - node_box = { - type = "fixed", - fixed = { - {-1/2, 7/16, 0, 1/2, 1/2, 1/2}, - {-1/2, -1/16, 0, 1/2, 0, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, 7/16, 0, 1/2, 1/2, 1/2}, - {-1/2, -1/16, 0, 1/2, 0, 1/2} - } - }, - - on_punch = function(pos, node) - minetest.swap_node(pos, {name = "infrastructure:louver_closed", param2 = node.param2}) - end - }) - - minetest.register_node("infrastructure:louver_closed", { - tiles = {"infrastructure_galvanized_steel.png"}, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - drop = "infrastructure:louver_opened", - node_box = { - type = "fixed", - fixed = { - {-1/2, 1/16, 7/16, 1/2, 1/2, 1/2}, - {-1/2, -7/16, 7/16, 1/2, 0, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, 1/16, 7/16, 1/2, 1/2, 1/2}, - {-1/2, -7/16, 7/16, 1/2, 0, 1/2} - } - }, - - on_punch = function(pos, node) - minetest.swap_node(pos, {name = "infrastructure:louver_opened", param2 = node.param2}) - end - }) - - minetest.register_alias("infrastructure:louver", "infrastructure:louver_opened") - --- Riffled sheet - minetest.register_node("infrastructure:riffled_sheet", { - description = "Riffled sheet", - tiles = {"infrastructure_riffled_sheet.png"}, - inventory_image = "infrastructure_riffled_sheet.png", - wield_image = "infrastructure_riffled_sheet.png", - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 2, oddly_breakable_by_hand = 1}, - node_box = { - type = "fixed", - fixed = {-1/2, -1/2, -1/2, 1/2, -1/2 + 0.001, 1/2} - }, - selection_box = { - type = "fixed", - fixed = {-1/2, -1/4, -1/2, 1/2, -1/2 + 0.01, 1/2} - } - }) - --- Corrugated sheet - minetest.register_node("infrastructure:corrugated_sheet", { - description = "corrugated sheet", - tiles = {"infrastructure_corrugated_sheet.png"}, - inventory_image = "infrastructure_corrugated_sheet.png", - wield_image = "infrastructure_corrugated_sheet.png", - drawtype = "raillike", - paramtype = "light", - groups = {cracky = 2, oddly_breakable_by_hand = 1}, - }) - --- **************************************************************************************************** ADVANCED ITEMS - --- Displacement - function displacement(pos, placer) - local displaced_node = minetest.get_node(pos) - local fdir = minetest.dir_to_facedir(placer:get_look_dir()) - pos.y = pos.y - 1 - local node = minetest.get_node(pos) - - if ((string.find(node.name, "_three_quarter") ~= nil) or (string.find(node.name, "_displacement_1") ~= nil)) then - pos.y = pos.y + 1 - minetest.set_node(pos, {name = displaced_node.name.."_displacement_1", param2 = fdir}) - elseif (((string.find(node.name, "slab_") ~= nil) and (string.find(node.name, "_quarter") == nil)) or (string.find(node.name, "_displacement_2") ~= nil)) then - pos.y = pos.y + 1 - minetest.set_node(pos, {name = displaced_node.name.."_displacement_2", param2 = fdir}) - elseif (((string.find(node.name, "_quarter") ~= nil) and (string.find(node.name, "_three_quarter") == nil)) or (string.find(node.name, "_displacement_3") ~= nil)) then - pos.y = pos.y + 1 - minetest.set_node(pos, {name = displaced_node.name.."_displacement_3", param2 = fdir}) - end - end - --- Raised pavement marker yellow/yellow - minetest.register_node("infrastructure:marker_yellow_yellow", { - description = "Raised pavement marker with yellow & yellow retroreflectors", - tiles = { - "infrastructure_marker_top_yellow_yellow.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_side_yellow.png", - "infrastructure_marker_side_yellow.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - walkable = false, - light_source = MARKER_LIGHT_RANGE, - sunlight_propagates = true, - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, -1/16, -3/8, 1/8}, - {-1/16, -1/2, -1/8, 1/16, -7/16, 1/8}, - {1/16, -1/2, -1/8, 1/8, -3/8, 1/8}, - {-1/16, -7/16, -1/16, 1/16, -3/8, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, -1/16, -3/8, 1/8}, - {-1/16, -1/2, -1/8, 1/16, -7/16, 1/8}, - {1/16, -1/2, -1/8, 1/8, -3/8, 1/8}, - {-1/16, -7/16, -1/16, 1/16, -3/8, 1/16} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:marker_yellow_yellow_displacement_"..tostring(i), { - tiles = { - "infrastructure_marker_top_yellow_yellow.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_side_yellow.png", - "infrastructure_marker_side_yellow.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - walkable = false, - light_source = MARKER_LIGHT_RANGE, - sunlight_propagates = true, - drop = "infrastructure:marker_yellow_yellow", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, -1/16, -3/8 - i/4, 1/8}, - {-1/16, -1/2 - i/4, -1/8, 1/16, -7/16 - i/4, 1/8}, - {1/16, -1/2 - i/4, -1/8, 1/8, -3/8 - i/4, 1/8}, - {-1/16, -7/16 - i/4, -1/16, 1/16, -3/8 - i/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, -1/16, -3/8 - i/4, 1/8}, - {-1/16, -1/2 - i/4, -1/8, 1/16, -7/16 - i/4, 1/8}, - {1/16, -1/2 - i/4, -1/8, 1/8, -3/8 - i/4, 1/8}, - {-1/16, -7/16 - i/4, -1/16, 1/16, -3/8 - i/4, 1/16} - } - } - }) - end - --- Raised pavement marker red/yellow - minetest.register_node("infrastructure:marker_red_yellow", { - description = "Raised pavement marker with red & yellow retroreflectors", - tiles = { - "infrastructure_marker_top_red_yellow.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_side_yellow.png", - "infrastructure_marker_side_red.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - walkable = false, - light_source = MARKER_LIGHT_RANGE, - sunlight_propagates = true, - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, -1/16, -3/8, 1/8}, - {-1/16, -1/2, -1/8, 1/16, -7/16, 1/8}, - {1/16, -1/2, -1/8, 1/8, -3/8, 1/8}, - {-1/16, -7/16, -1/16, 1/16, -3/8, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, -1/16, -3/8, 1/8}, - {-1/16, -1/2, -1/8, 1/16, -7/16, 1/8}, - {1/16, -1/2, -1/8, 1/8, -3/8, 1/8}, - {-1/16, -7/16, -1/16, 1/16, -3/8, 1/16} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:marker_red_yellow_displacement_"..tostring(i), { - tiles = { - "infrastructure_marker_top_red_yellow.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_bottom_side.png", - "infrastructure_marker_side_yellow.png", - "infrastructure_marker_side_red.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - walkable = false, - light_source = MARKER_LIGHT_RANGE, - sunlight_propagates = true, - drop = "infrastructure:marker_red_yellow", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, -1/16, -3/8 - i/4, 1/8}, - {-1/16, -1/2 - i/4, -1/8, 1/16, -7/16 - i/4, 1/8}, - {1/16, -1/2 - i/4, -1/8, 1/8, -3/8 - i/4, 1/8}, - {-1/16, -7/16 - i/4, -1/16, 1/16, -3/8 - i/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, -1/16, -3/8 - i/4, 1/8}, - {-1/16, -1/2 - i/4, -1/8, 1/16, -7/16 - i/4, 1/8}, - {1/16, -1/2 - i/4, -1/8, 1/8, -3/8 - i/4, 1/8}, - {-1/16, -7/16 - i/4, -1/16, 1/16, -3/8 - i/4, 1/16} - } - } - }) - end - --- Retroreflective delineators - minetest.register_node("infrastructure:delineator", { - description = "Retroreflective delineator", - tiles = { - "infrastructure_concrete.png", - "infrastructure_concrete.png", - "infrastructure_delineator_wrapper_right.png", - "infrastructure_delineator_wrapper_left.png", - "infrastructure_delineator_retroreflector_yellow.png", - "infrastructure_delineator_retroreflector_red.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - light_source = DELINEATOR_LIGHT_RANGE, - sunlight_propagates = true, - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, 1/8, 1/2, -1/16}, - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/8, -1/2, 1/16, 1/8, 1/2, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, 1/8, 1/2, -1/16}, - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/8, -1/2, 1/16, 1/8, 1/2, 1/8} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - minetest.register_node("infrastructure:delineator_guardrail", { - description = "Retroreflective delineator for guardrail", - tiles = { - "infrastructure_concrete.png", - "infrastructure_concrete.png", - "infrastructure_delineator_wrapper_right.png", - "infrastructure_delineator_wrapper_left.png", - "[combine:32x32:0,12=infrastructure_delineator_retroreflector_yellow.png:0,-20=infrastructure_delineator_retroreflector_yellow.png", - "[combine:32x32:0,12=infrastructure_delineator_retroreflector_red.png:0,-20=infrastructure_delineator_retroreflector_red.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3}, - light_source = DELINEATOR_LIGHT_RANGE, - sunlight_propagates = true, - node_box = { - type = "fixed", - fixed = { - {-1/8, -3/8, -1/32, 1/8, 1/8, 1/32}, - {1/8, -5/8, -1/16, 3/16, -1/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -3/8, -1/32, 1/8, 1/8, 1/32}, - {1/8, -5/8, -1/16, 3/16, -1/4, 1/16} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:delineator_displacement_"..tostring(i), { - tiles = { - "infrastructure_concrete.png", - "infrastructure_concrete.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_delineator_wrapper_right.png:0,"..tostring(i * 8 - 32).."=infrastructure_delineator_wrapper_right.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_delineator_wrapper_left.png:0,"..tostring(i * 8 - 32).."=infrastructure_delineator_wrapper_left.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_delineator_retroreflector_yellow.png:0,"..tostring(i * 8 - 32).."=infrastructure_delineator_retroreflector_yellow.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_delineator_retroreflector_red.png:0,"..tostring(i * 8 - 32).."=infrastructure_delineator_retroreflector_red.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - light_source = DELINEATOR_LIGHT_RANGE, - sunlight_propagates = true, - drop = "infrastructure:delineator", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, 1/8, 1/2 - i/4, -1/16}, - {-1/16, -1/2 - i/4, -1/16, 1/16, 1/2 - i/4, 1/16}, - {-1/8, -1/2 - i/4, 1/16, 1/8, 1/2 - i/4, 1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, 1/8, 1/2 - i/4, -1/16}, - {-1/16, -1/2 - i/4, -1/16, 1/16, 1/2 - i/4, 1/16}, - {-1/8, -1/2 - i/4, 1/16, 1/8, 1/2 - i/4, 1/8} - } - } - }) - - minetest.register_node("infrastructure:delineator_guardrail_displacement_"..tostring(i), { - tiles = { - "infrastructure_concrete.png", - "infrastructure_concrete.png", - "[combine:32x32:0,"..tostring(12 + i * 8).."=infrastructure_delineator_wrapper_right.png:0,"..tostring(i * 8 - 20).."=infrastructure_delineator_wrapper_right.png", - "[combine:32x32:0,"..tostring(12 + i * 8).."=infrastructure_delineator_wrapper_left.png:0,"..tostring(i * 8 - 20).."=infrastructure_delineator_wrapper_left.png", - "[combine:32x32:0,"..tostring(12 + i * 8).."=infrastructure_delineator_retroreflector_yellow.png:0,"..tostring(i * 8 - 20).."=infrastructure_delineator_retroreflector_yellow.png", - "[combine:32x32:0,"..tostring(12 + i * 8).."=infrastructure_delineator_retroreflector_red.png:0,"..tostring(i * 8 - 20).."=infrastructure_delineator_retroreflector_red.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 3, not_in_creative_inventory = 1}, - light_source = DELINEATOR_LIGHT_RANGE, - sunlight_propagates = true, - drop = "infrastructure:delineator_guardrail", - node_box = { - type = "fixed", - fixed = { - {-1/8, -3/8 - i/4, -1/32, 1/8, 1/8 - i/4, 1/32}, - {1/8, -5/8 - i/4, -1/16, 3/16, -1/4 - i/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -3/8 - i/4, -1/32, 1/8, 1/8 - i/4, 1/32}, - {1/8, -5/8 - i/4, -1/16, 3/16, -1/4 - i/4, 1/16} - } - } - }) - end - --- Wire rope safety barrier - minetest.register_node("infrastructure:wire_rope_safety_barrier", { - description = "Wire rope safety barrier", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_wire_rope_safety_barrier_back.png", - "infrastructure_wire_rope_safety_barrier_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = 1, - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/16, 1/8, -1/4, 1/16}, - {-1/8, -1/2, -1/16, -1/16, -3/16, 1/16}, - {1/16, -1/2, -1/16, 1/8, 1/16, 1/16}, - {-1/8, -1/8, -1/16, 1/8, 0, 1/16}, - {-1/8, -1/8, -1/16, -1/16, 1/2, 1/16}, - {-1/8, 1/8, -1/16, 1/8, 1/4, 1/16}, - {1/16, 1/8, -1/16, 1/8, 1/2, 1/16}, - - {-1/32, 1/4, -1/2, 1/32, 5/16, 1/2}, - {-1/32, 0, -1/2, 1/32, 1/16, 1/2}, - {-1/32, -1/4, -1/2, 1/32, -3/16, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/16, 1/8, 1/2, 1/16}, - - {-1/32, 1/4, -1/2, 1/32, 5/16, 1/2}, - {-1/32, 0, -1/2, 1/32, 1/16, 1/2}, - {-1/32, -1/4, -1/2, 1/32, -3/16, 1/2} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:wire_rope_safety_barrier_displacement_"..tostring(i), { - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_wire_rope_safety_barrier_back.png:0,"..tostring(i * 8 - 32).."=infrastructure_wire_rope_safety_barrier_back.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_wire_rope_safety_barrier_front.png:0,"..tostring(i * 8 - 32).."=infrastructure_wire_rope_safety_barrier_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = 1, - drop = "infrastructure:wire_rope_safety_barrier", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/16, 1/8, -1/4 - i/4, 1/16}, - {-1/8, -1/2 - i/4, -1/16, -1/16, -3/16 - i/4, 1/16}, - {1/16, -1/2 - i/4, -1/16, 1/8, 1/16 - i/4, 1/16}, - {-1/8, -1/8 - i/4, -1/16, 1/8, 0 - i/4, 1/16}, - {-1/8, -1/8 - i/4, -1/16, -1/16, 1/2 - i/4, 1/16}, - {-1/8, 1/8 - i/4, -1/16, 1/8, 1/4 - i/4, 1/16}, - {1/16, 1/8 - i/4, -1/16, 1/8, 1/2 - i/4, 1/16}, - - {-1/32, 1/4 - i/4, -1/2, 1/32, 5/16 - i/4, 1/2}, - {-1/32, 0 - i/4, -1/2, 1/32, 1/16 - i/4, 1/2}, - {-1/32, -1/4 - i/4, -1/2, 1/32, -3/16 - i/4, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/16, 1/8, 1/2 - i/4, 1/16}, - - {-1/32, 1/4 - i/4, -1/2, 1/32, 5/16 - i/4, 1/2}, - {-1/32, 0 - i/4, -1/2, 1/32, 1/16 - i/4, 1/2}, - {-1/32, -1/4 - i/4, -1/2, 1/32, -3/16 - i/4, 1/2} - } - } - }) - end - --- Cable barrier terminal - minetest.register_node("infrastructure:cable_barrier_terminal", { - description = "Cable barrier terminal", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_cable_barrier_terminal_back.png", - "infrastructure_cable_barrier_terminal_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = 1, - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2}, - {-1/4, -3/8, -1/4, 1/4, 1/2, -1/8}, - {-1/4, -3/8, -1/8, -3/16, 0, 1/8}, - {3/16, -3/8, -1/8, 1/4, 0, 1/8}, - - {-1/16, 7/32, -3/8, 1/16, 11/32, 1/4}, - {-1/16, -1/32, -3/8, 1/16, 3/32, 1/4}, - {-1/16, -9/32, -3/8, 1/16, -5/32, 1/4}, - - {-1/32, 1/4, 0, 1/32, 5/16, 1/2}, - {-1/32, 0, 0, 1/32, 1/16, 1/2}, - {-1/32, -1/4, 0, 1/32, -3/16, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, -1/2, 1/4, -3/8, 1/2}, - {-1/4, -3/8, -1/4, 1/4, 1/2, -1/8}, - {-1/4, -3/8, -1/8, -3/16, 0, 1/8}, - {3/16, -3/8, -1/8, 1/4, 0, 1/8}, - - {-1/16, 7/32, -3/8, 1/16, 11/32, 1/4}, - {-1/16, -1/32, -3/8, 1/16, 3/32, 1/4}, - {-1/16, -9/32, -3/8, 1/16, -5/32, 1/4}, - - {-1/32, 1/4, 0, 1/32, 5/16, 1/2}, - {-1/32, 0, 0, 1/32, 1/16, 1/2}, - {-1/32, -1/4, 0, 1/32, -3/16, 1/2} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:cable_barrier_terminal_displacement_"..tostring(i), { - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_cable_barrier_terminal_back.png:0,"..tostring(i * 8 - 32).."=infrastructure_cable_barrier_terminal_back.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_cable_barrier_terminal_front.png:0,"..tostring(i * 8 - 32).."=infrastructure_cable_barrier_terminal_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = 1, - drop = "infrastructure:cable_barrier_terminal", - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2 - i/4, -1/2, 1/4, -3/8 - i/4, 1/2}, - {-1/4, -3/8 - i/4, -1/4, 1/4, 1/2 - i/4, -1/8}, - {-1/4, -3/8 - i/4, -1/8, -3/16, 0 - i/4, 1/8}, - {3/16, -3/8 - i/4, -1/8, 1/4, 0 - i/4, 1/8}, - - {-1/16, 7/32 - i/4, -3/8, 1/16, 11/32 - i/4, 1/4}, - {-1/16, -1/32 - i/4, -3/8, 1/16, 3/32 - i/4, 1/4}, - {-1/16, -9/32 - i/4, -3/8, 1/16, -5/32 - i/4, 1/4}, - - {-1/32, 1/4 - i/4, 0, 1/32, 5/16 - i/4, 1/2}, - {-1/32, 0 - i/4, 0, 1/32, 1/16 - i/4, 1/2}, - {-1/32, -1/4 - i/4, 0, 1/32, -3/16 - i/4, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/2 - i/4, -1/2, 1/4, -3/8 - i/4, 1/2}, - {-1/4, -3/8 - i/4, -1/4, 1/4, 1/2 - i/4, -1/8}, - {-1/4, -3/8 - i/4, -1/8, -3/16, 0 - i/4, 1/8}, - {3/16, -3/8 - i/4, -1/8, 1/4, 0 - i/4, 1/8}, - - {-1/16, 7/32 - i/4, -3/8, 1/16, 11/32 - i/4, 1/4}, - {-1/16, -1/32 - i/4, -3/8, 1/16, 3/32 - i/4, 1/4}, - {-1/16, -9/32 - i/4, -3/8, 1/16, -5/32 - i/4, 1/4}, - - {-1/32, 1/4 - i/4, 0, 1/32, 5/16 - i/4, 1/2}, - {-1/32, 0 - i/4, 0, 1/32, 1/16 - i/4, 1/2}, - {-1/32, -1/4 - i/4, 0, 1/32, -3/16 - i/4, 1/2} - } - } - }) - end - --- Corrugated guide rail - minetest.register_node("infrastructure:corrugated_guide_rail", { - description = "Corrugated guide rail", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_corrugated_guide_rail_side.png", - "infrastructure_corrugated_guide_rail_side.png", - "infrastructure_corrugated_guide_rail_back.png", - "infrastructure_corrugated_guide_rail_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = 1, - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, 1/8, 1/2, -1/16}, - {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16}, - {-1/8, -1/2, 1/16, 1/8, 1/2, 1/8}, - - {-1/2, 1/4, -1/4, 1/2, 3/8, -1/8}, - {-1/2, 1/8, -3/8, 1/2, 1/4, -1/4}, - {-1/2, 0, -1/4, 1/2, 1/8, -1/8}, - {-1/2, -1/8, -3/8, 1/2, 0, -1/4}, - {-1/2, -1/4, -1/4, 1/2, -1/8, -1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2, -1/8, 1/8, 1/2, 1/8}, - - {-1/2, 1/4, -1/4, 1/2, 3/8, -1/8}, - {-1/2, 1/8, -3/8, 1/2, 1/4, -1/4}, - {-1/2, 0, -1/4, 1/2, 1/8, -1/8}, - {-1/2, -1/8, -3/8, 1/2, 0, -1/4}, - {-1/2, -1/4, -1/4, 1/2, -1/8, -1/8} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:corrugated_guide_rail_displacement_"..tostring(i), { - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_corrugated_guide_rail_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_corrugated_guide_rail_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_corrugated_guide_rail_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_corrugated_guide_rail_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_corrugated_guide_rail_back.png:0,"..tostring(i * 8 - 32).."=infrastructure_corrugated_guide_rail_back.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_corrugated_guide_rail_front.png:0,"..tostring(i * 8 - 32).."=infrastructure_corrugated_guide_rail_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = 1, - drop = "infrastructure:corrugated_guide_rail", - node_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, 1/8, 1/2 - i/4, -1/16}, - {-1/16, -1/2 - i/4, -1/16, 1/16, 1/2 - i/4, 1/16}, - {-1/8, -1/2 - i/4, 1/16, 1/8, 1/2 - i/4, 1/8}, - - {-1/2, 1/4 - i/4, -1/4, 1/2, 3/8 - i/4, -1/8}, - {-1/2, 1/8 - i/4, -3/8, 1/2, 1/4 - i/4, -1/4}, - {-1/2, 0 - i/4, -1/4, 1/2, 1/8 - i/4, -1/8}, - {-1/2, -1/8 - i/4, -3/8, 1/2, 0 - i/4, -1/4}, - {-1/2, -1/4 - i/4, -1/4, 1/2, -1/8 - i/4, -1/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/8, -1/2 - i/4, -1/8, 1/8, 1/2 - i/4, 1/8}, - - {-1/2, 1/4 - i/4, -1/4, 1/2, 3/8 - i/4, -1/8}, - {-1/2, 1/8 - i/4, -3/8, 1/2, 1/4 - i/4, -1/4}, - {-1/2, 0 - i/4, -1/4, 1/2, 1/8 - i/4, -1/8}, - {-1/2, -1/8 - i/4, -3/8, 1/2, 0 - i/4, -1/4}, - {-1/2, -1/4 - i/4, -1/4, 1/2, -1/8 - i/4, -1/8} - } - } - }) - end - --- Energy absorbing terminal - minetest.register_node("infrastructure:energy_absorbing_terminal", { - description = "Energy absorbing terminal", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_energy_absorbing_terminal_back.png", - "infrastructure_energy_absorbing_terminal_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/4, 1/8, 0, 1/2, 1/4}, - {-3/8, -1/4, 1/4, -1/8, 3/8, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/4, 1/8, 0, 1/2, 1/4}, - {-3/8, -1/4, 1/4, -1/8, 3/8, 1/2} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - minetest.register_node("infrastructure:energy_absorbing_terminal_inversed", { - description = "Energy absorbing terminal inversed", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_energy_absorbing_terminal_back.png", - "infrastructure_energy_absorbing_terminal_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {0, -1/4, 1/8, 1/2, 1/2, 1/4}, - {1/8, -1/4, 1/4, 3/8, 3/8, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {0, -1/4, 1/8, 1/2, 1/2, 1/4}, - {1/8, -1/4, 1/4, 3/8, 3/8, 1/2} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:energy_absorbing_terminal_displacement_"..tostring(i), { - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_energy_absorbing_terminal_back.png:0,"..tostring(i * 8 - 32).."=infrastructure_energy_absorbing_terminal_back.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_energy_absorbing_terminal_front.png:0,"..tostring(i * 8 - 32).."=infrastructure_energy_absorbing_terminal_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - drop = "infrastructure:energy_absorbing_terminal", - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/4 - i/4, 1/8, 0, 1/2 - i/4, 1/4}, - {-3/8, -1/4 - i/4, 1/4, -1/8, 3/8 - i/4, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/4 - i/4, 1/8, 0, 1/2 - i/4, 1/4}, - {-3/8, -1/4 - i/4, 1/4, -1/8, 3/8 - i/4, 1/2} - } - } - }) - - minetest.register_node("infrastructure:energy_absorbing_terminal_inversed_displacement_"..tostring(i), { - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_galvanized_steel.png:0,"..tostring(i * 8 - 32).."=infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_energy_absorbing_terminal_back.png:0,"..tostring(i * 8 - 32).."=infrastructure_energy_absorbing_terminal_back.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_energy_absorbing_terminal_front.png:0,"..tostring(i * 8 - 32).."=infrastructure_energy_absorbing_terminal_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - drop = "infrastructure:energy_absorbing_terminal_inversed", - node_box = { - type = "fixed", - fixed = { - {0, -1/4 - i/4, 1/8, 1/2, 1/2 - i/4, 1/4}, - {1/8, -1/4 - i/4, 1/4, 3/8, 3/8 - i/4, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {0, -1/4 - i/4, 1/8, 1/2, 1/2 - i/4, 1/4}, - {1/8, -1/4 - i/4, 1/4, 3/8, 3/8 - i/4, 1/2} - } - } - }) - end - --- Fitch barrel - minetest.register_node("infrastructure:fitch_barrel", { - description = "Fitch barrel", - tiles = { - "infrastructure_fitch_barrel_top.png", - "infrastructure_fitch_barrel_bottom.png", - "infrastructure_fitch_barrel_side.png", - "infrastructure_fitch_barrel_side.png", - "infrastructure_fitch_barrel_side.png", - "infrastructure_fitch_barrel_side.png" - }, - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 2}, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = {-3/8, -1/2, -3/8, 3/8, 1/2, 3/8} - }, - selection_box = { - type = "fixed", - fixed = {-3/8, -1/2, -3/8, 3/8, 1/2, 3/8} - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:fitch_barrel_displacement_"..tostring(i), { - tiles = { - "infrastructure_fitch_barrel_top.png", - "infrastructure_fitch_barrel_bottom.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_fitch_barrel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_fitch_barrel_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_fitch_barrel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_fitch_barrel_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_fitch_barrel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_fitch_barrel_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_fitch_barrel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_fitch_barrel_side.png" - }, - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - drop = "infrastructure:fitch_barrel", - node_box = { - type = "fixed", - fixed = {-3/8, -1/2 - i/4, -3/8, 3/8, 1/2 - i/4, 3/8} - }, - selection_box = { - type = "fixed", - fixed = {-3/8, -1/2 - i/4, -3/8, 3/8, 1/2 - i/4, 3/8} - } - }) - end - --- Crowd control barricade - minetest.register_node("infrastructure:crowd_control_barricade", { - description = "Crowd control barricade", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_crowd_control_barricade_back.png", - "infrastructure_crowd_control_barricade_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = 1, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/4, 0, 1/2, 1/2, 0}, - - {-7/16, -1/2, -1/32, -3/8, 1/8, 1/32}, - {3/8, -1/2, -1/32, 7/16, 1/8, 1/32}, - - {-7/16, -1/2, -1/4, -3/8, -7/16, 1/4}, - {3/8, -1/2, -1/4, 7/16, -7/16, 1/4} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/4, 0, 1/2, 1/2, 0}, - - {-7/16, -1/2, -1/32, -3/8, 1/8, 1/32}, - {3/8, -1/2, -1/32, 7/16, 1/8, 1/32}, - - {-7/16, -1/2, -1/4, -3/8, -7/16, 1/4}, - {3/8, -1/2, -1/4, 7/16, -7/16, 1/4} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:crowd_control_barricade_"..tostring(i), { - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_crowd_control_barricade_back.png:0,"..tostring(i * 8 - 32).."=infrastructure_crowd_control_barricade_back.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_crowd_control_barricade_front.png:0,"..tostring(i * 8 - 32).."=infrastructure_crowd_control_barricade_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = 1, - drop = "infrastructure:crowd_control_barricade", - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/4 - i/4, 0, 1/2, 1/2 - i/4, 0}, - - {-7/16, -1/2 - i/4, -1/32, -3/8, 1/8 - i/4, 1/32}, - {3/8, -1/2 - i/4, -1/32, 7/16, 1/8 - i/4, 1/32}, - - {-7/16, -1/2 - i/4, -1/4, -3/8, -7/16 - i/4, 1/4}, - {3/8, -1/2 - i/4, -1/4, 7/16, -7/16 - i/4, 1/4} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/4 - i/4, 0, 1/2, 1/2 - i/4, 0}, - - {-7/16, -1/2 - i/4, -1/32, -3/8, 1/8 - i/4, 1/32}, - {3/8, -1/2 - i/4, -1/32, 7/16, 1/8 - i/4, 1/32}, - - {-7/16, -1/2 - i/4, -1/4, -3/8, -7/16 - i/4, 1/4}, - {3/8, -1/2 - i/4, -1/4, 7/16, -7/16 - i/4, 1/4} - } - } - }) - end - --- Anti-dazzling panel - minetest.register_node("infrastructure:anti_dazzling_panel", { - description = "Anti-dazzling panel", - tiles = { - "infrastructure_anti_dazzling_panel_top_bottom.png", - "infrastructure_anti_dazzling_panel_top_bottom.png", - "infrastructure_anti_dazzling_panel_side.png", - "infrastructure_anti_dazzling_panel_side.png", - "infrastructure_anti_dazzling_panel_side.png", - "infrastructure_anti_dazzling_panel_side.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = 1, - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, 0, 1/4, 1/2, 0}, - {-1/8, -1/2, -1/16, 1/8, -3/8, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, 0, 1/4, 1/2, 0}, - {-1/8, -1/2, -1/16, 1/8, -3/8, 1/16} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:anti_dazzling_panel_displacement_"..tostring(i), { - tiles = { - "infrastructure_anti_dazzling_panel_top_bottom.png", - "infrastructure_anti_dazzling_panel_top_bottom.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_anti_dazzling_panel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_anti_dazzling_panel_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_anti_dazzling_panel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_anti_dazzling_panel_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_anti_dazzling_panel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_anti_dazzling_panel_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_anti_dazzling_panel_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_anti_dazzling_panel_side.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2, not_in_creative_inventory = 1}, - light_source = 1, - drop = "infrastructure:anti_dazzling_panel", - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2 - i/4, 0, 1/4, 1/2 - i/4, 0}, - {-1/8, -1/2 - i/4, -1/16, 1/8, -3/8 - i/4, 1/16} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/2 - i/4, 0, 1/4, 1/2 - i/4, 0}, - {-1/8, -1/2 - i/4, -1/16, 1/8, -3/8 - i/4, 1/16} - } - } - }) - end - --- Traffic cone - minetest.register_node("infrastructure:traffic_cone", { - description = "Traffic cone", - tiles = { - "infrastructure_traffic_cone_top.png", - "infrastructure_traffic_cone_bottom.png", - "infrastructure_traffic_cone_side.png", - "infrastructure_traffic_cone_side.png", - "infrastructure_traffic_cone_side.png", - "infrastructure_traffic_cone_side.png" - }, - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 2}, - walkable = false, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, 0, 1/4, 1/4, 0}, - {0, -1/2, -1/4, 0, 1/4, 1/4}, - - {-3/8, -1/2, -1/8, 3/8, -3/8, 1/8}, - {-1/8, -1/2, -3/8, 1/8, -3/8, 3/8}, - - {-3/8, -1/2 + 0.001, -3/8, 3/8, -1/2 + 0.001, 3/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/2, 0, 1/4, 1/4, 0}, - {0, -1/2, -1/4, 0, 1/4, 1/4}, - - {-3/8, -1/2, -1/8, 3/8, -3/8, 1/8}, - {-1/8, -1/2, -3/8, 1/8, -3/8, 3/8}, - - {-3/8, -1/2 + 0.001, -3/8, 3/8, -1/2 + 0.001, 3/8} - } - }, - - after_place_node = function(pos, placer) - displacement(pos, placer) - end - }) - - for i = 1, 3 do - minetest.register_node("infrastructure:traffic_cone_displacement_"..tostring(i), { - tiles = { - "infrastructure_traffic_cone_top.png", - "infrastructure_traffic_cone_bottom.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_traffic_cone_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_traffic_cone_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_traffic_cone_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_traffic_cone_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_traffic_cone_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_traffic_cone_side.png", - "[combine:32x32:0,"..tostring(i * 8).."=infrastructure_traffic_cone_side.png:0,"..tostring(i * 8 - 32).."=infrastructure_traffic_cone_side.png" - }, - drawtype = "nodebox", - paramtype = "light", - groups = {cracky = 2, not_in_creative_inventory = 1}, - walkable = false, - light_source = ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE, - drop = "infrastructure:traffic_cone", - node_box = { - type = "fixed", - fixed = { - {-1/4, -1/2 - i/4, 0, 1/4, 1/4 - i/4, 0}, - {0, -1/2 - i/4, -1/4, 0, 1/4 - i/4, 1/4}, - - {-3/8, -1/2 - i/4, -1/8, 3/8, -3/8 - i/4, 1/8}, - {-1/8, -1/2 - i/4, -3/8, 1/8, -3/8 - i/4, 3/8}, - - {-3/8, -1/2 + 0.001 - i/4, -3/8, 3/8, -1/2 + 0.001 - i/4, 3/8} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/4, -1/2 - i/4, 0, 1/4, 1/4 - i/4, 0}, - {0, -1/2 - i/4, -1/4, 0, 1/4 - i/4, 1/4}, - - {-3/8, -1/2 - i/4, -1/8, 3/8, -3/8 - i/4, 1/8}, - {-1/8, -1/2 - i/4, -3/8, 1/8, -3/8 - i/4, 3/8}, - - {-3/8, -1/2 + 0.001 - i/4, -3/8, 3/8, -1/2 + 0.001 - i/4, 3/8} - } - } - }) - end - --- Noise barrier - minetest.register_node("infrastructure:noise_barrier", { - description = "Noise barrier", - tiles = { - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_galvanized_steel.png", - "infrastructure_noise_barrier.png", - "infrastructure_noise_barrier.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky = 2}, - light_source = 1, - node_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 5/16, 1/2, 1/2, 7/16}, - - {-1/2, -1/2, 1/4, 1/2, -7/16, 1/2}, - {-1/2, 7/16, 1/4, 1/2, 1/2, 1/2}, - {-1/2, -1/2, 1/4, -7/16, 1/2, 1/2}, - {7/16, -1/2, 1/4, 1/2, 1/2, 1/2} - } - }, - selection_box = { - type = "fixed", - fixed = { - {-1/2, -1/2, 1/4, 1/2, 1/2, 1/2}, - } - } - }) diff --git a/streets/infrastructure/nodes_extension.lua b/streets/infrastructure/nodes_extension.lua deleted file mode 100644 index 8eebdba..0000000 --- a/streets/infrastructure/nodes_extension.lua +++ /dev/null @@ -1,162 +0,0 @@ --- **************************************************************************************************** MATERIALS - --- Galvanized steel stair, slab, panel and microblock - register_stair_slab_panel_micro("infrastructure", "galvanized_steel", "infrastructure:galvanized_steel", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=2}, - {"infrastructure_galvanized_steel.png"}, - "Galvanized steel", - "galvanized_steel", - 0) - --- **************************************************************************************************** CENTER LINES - --- Asphalt stair, slab, panel and microblock with center solid line - register_stair_slab_panel_micro("infrastructure", "asphalt_center_solid_line", "infrastructure:asphalt_center_solid_line", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - { - "streets_asphalt.png^infrastructure_single_yellow_line.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png" - }, - "Asphalt with center solid line", - "asphalt_center_solid_line", - 0) - --- Asphalt stair, slab, panel and microblock with center solid line on one side - register_stair_slab_panel_micro("infrastructure", "asphalt_center_solid_one_side", "infrastructure:asphalt_center_solid_one_side", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - { - "streets_asphalt.png^infrastructure_solid_yellow_line_one_side.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png" - }, - "Asphalt with center solid line on one side", - "asphalt_center_solid_one_side", - 0) - --- Asphalt stair, slab, panel and microblock with center solid double line - register_stair_slab_panel_micro("infrastructure", "asphalt_center_solid_double", "infrastructure:asphalt_center_solid_double", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - { - "streets_asphalt.png^infrastructure_double_yellow_line.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png" - }, - "Asphalt with center solid double line", - "asphalt_center_solid_double", - 0) - --- Asphalt block with center corner single line - register_stair_slab_panel_micro("infrastructure", "asphalt_center_corner_single", "infrastructure:asphalt_center_corner_single", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - { - "streets_asphalt.png^infrastructure_single_yellow_line_corner.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png" - }, - "Asphalt with center corner single line", - "asphalt_center_corner_single", - 0) - --- Asphalt block with center corner double line - register_stair_slab_panel_micro("infrastructure", "asphalt_center_corner_double", "infrastructure:asphalt_center_corner_double", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - { - "streets_asphalt.png^infrastructure_solid_double_yellow_line_corner.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png", - "streets_asphalt.png" - }, - "Asphalt with center corner double line", - "asphalt_center_corner_double", - 0) - --- **************************************************************************************************** TRAFFIC MARKS - --- Asphalt stair, slab, panel and microblock with arrow straight - register_stair_slab_panel_micro("infrastructure", "asphalt_arrow_straight", "infrastructure:asphalt_arrow_straight", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - {"streets_arrow_straight.png", "infrastructure_asphalt.png"}, - "Asphalt with arrow straight", - "asphalt_arrow_straight", - 0) - --- Asphalt stair, slab, panel and microblock with arrow straight + left - register_stair_slab_panel_micro("infrastructure", "asphalt_arrow_straight_left", "infrastructure:asphalt_arrow_straight_left", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - {"streets_asphalt.png^streets_arrow_straight_left.png", "infrastructure_asphalt.png"}, - "Asphalt with arrow straight + left", - "asphalt_arrow_straight_left", - 0) - --- Asphalt stair, slab, panel and microblock with arrow straight + right - register_stair_slab_panel_micro("infrastructure", "asphalt_arrow_straight_right", "infrastructure:asphalt_arrow_straight_right", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - {"streets_asphalt.png^streets_arrow_straight_right.png", "infrastructure_asphalt.png"}, - "Asphalt with arrow straight + right", - "asphalt_arrow_straight_right", - 0) - --- Asphalt stair, slab, panel and microblock with arrow left - register_stair_slab_panel_micro("infrastructure", "asphalt_arrow_left", "infrastructure:asphalt_arrow_left", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - {"streets_asphalt.png^streets_arrow_left.png", "infrastructure_asphalt.png"}, - "Asphalt with arrow left", - "asphalt_arrow_left", - 0) - --- Asphalt stair, slab, panel and microblock with arrow right - register_stair_slab_panel_micro("infrastructure", "asphalt_arrow_right", "infrastructure:asphalt_arrow_right", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - {"streets_asphalt.png^streets_arrow_right.png", "infrastructure_asphalt.png"}, - "Asphalt with arrow right", - "asphalt_arrow_right", - 0) - --- Asphalt stair, slab, panel and microblock with "P"-sign - register_stair_slab_panel_micro("infrastructure", "asphalt_parking", "infrastructure:asphalt_parking", - {not_in_creative_inventory=NOT_IN_CREATIVE_INVENTORY, cracky=1}, - {"streets_asphalt.png^streets_parking.png", "infrastructure_asphalt.png"}, - "Asphalt with a parking sign", - "asphalt_parking", - 0) - --- Register known infrastructure nodes in circular saw if avaiable - if circular_saw then - for i,v in ipairs({ --- Materials - "asphalt", - "concrete", - "galvanized_steel", --- Center lines - "asphalt_center_dashed", - "asphalt_center_solid", - "asphalt_center_solid_one_side", - "asphalt_center_solid_double", - "asphalt_center_corner_single", - "asphalt_center_corner_double", --- Traffic marks - "asphalt_arrow_straight", - "asphalt_arrow_straight_left", - "asphalt_arrow_straight_right", - "asphalt_arrow_left", - "asphalt_arrow_right", - "asphalt_parking" - }) do - table.insert(circular_saw.known_stairs, "infrastructure:"..v); - end - end diff --git a/streets/infrastructure/settings.lua b/streets/infrastructure/settings.lua deleted file mode 100644 index 1433e22..0000000 --- a/streets/infrastructure/settings.lua +++ /dev/null @@ -1,49 +0,0 @@ --- This file stores all settings for the "Infrastructure mod" - --- Stairs, slabs, panels and microblocks - NOT_IN_CREATIVE_INVENTORY = 1 -- an integer 0 or 1 -> default = 1 | Do you want it to be hide in your creative inventory? - --- Raised pavement marker - MARKER_LIGHT_RANGE = 4 -- an integer -> default = 4 | How much light do you want it to give? - --- Retroreflective delineator - DELINEATOR_LIGHT_RANGE = 8 -- an integer -> default = 8 | How much light do you want it to give? - --- Energy absorbing terminal - ENERGY_ABSORBING_TERMINAL_LIGHT_RANGE = 8 -- an integer -> default = 8 | How much light do you want it to give? - --- Emergency phone - ENABLE_EMERGENCY_PHONE = true -- true or false -> default = true | Do you want it to be enabled in your game? - HEALTH_TO_TRIGGER = 5 -- an integer -> default = 5 | When will the player be healed? How low must his health be? - HEALTH_TO_RESTORING = 10 -- an integer -> default = 10 | To what will the health be set? - EMERGENCY_PHONE_LIGHT_RANGE = 12 -- an integer -> default = 12 | How much light do you want it to give? - EMERGENCY_PHONE_VOLUME = 0.1 -- a float -> default = 0.1 | How noisy should be the dialing sound? - --- Traffic lights - TRAFFIC_LIGHTS_LIGHT_RANGE = 12 -- an integer -> default = 12 | How much light do you want it to give? - TRAFFIC_LIGHTS_VOLUME = 0 -- a float -> default = 0.1 | How noisy should be the beep sound? - --- Automatic warning device - AUTOMATIC_WARNING_DEVICE_LIGHT_RANGE = 12 -- an integer -> default = 12 | How much light do you want it to give? - AUTOMATIC_WARNING_DEVICE_VOLUME = 0.5 -- a float -> default = 0.5 | How noisy should be the bell sound? - --- Boom barrier - BOOM_BARRIER_LIGHT_RANGE = 6 -- an integer -> default = 6 | How much light do you want it to give? - BOOM_BARRIER_VOLUME = 0.4 -- a float -> default = 0.1 | How noisy should be the mechanism sound? - --- Curve chevron - CURVE_CHEVRON_LIGHT_RANGE = 12 -- an integer -> default = 12 | How much light do you want it to give? - --- Crosswalk lighting - CROSSWALK_LIGHTING_LIGHT_RANGE = 15 -- an integer -> default = 15 | How much light do you want it to give? - --- Crosswalk safety sign - CROSSWALK_SAFETY_SIGN_LIGHT_RANGE = 8 -- an integer -> default = 8 | How much light do you want it to give? - --- Crosswalk safety sign - RETROREFLECTIVE_SURFACE_LIGHT_RANGE = 8 -- an integer -> default = 8 | How much light do you want it to give? - --- Aircraft warning light - AIRCRAFT_WARNING_LIGHT_LIGHT_RANGE = 15 -- an integer -> default = 15 | How much light do you want it to give? --- Warning light - WARNING_LIGHT_LIGHT_RANGE = 15 -- an integer -> default = 15 | How much light do you want it to give? diff --git a/streets/infrastructure/sounds/infrastructure_automatic_warning_device.ogg b/streets/infrastructure/sounds/infrastructure_automatic_warning_device.ogg deleted file mode 100644 index 71d1679..0000000 Binary files a/streets/infrastructure/sounds/infrastructure_automatic_warning_device.ogg and /dev/null differ diff --git a/streets/infrastructure/sounds/infrastructure_boom_barrier.ogg b/streets/infrastructure/sounds/infrastructure_boom_barrier.ogg deleted file mode 100644 index 4106df2..0000000 Binary files a/streets/infrastructure/sounds/infrastructure_boom_barrier.ogg and /dev/null differ diff --git a/streets/infrastructure/sounds/infrastructure_ebell.ogg b/streets/infrastructure/sounds/infrastructure_ebell.ogg deleted file mode 100644 index d59d1b9..0000000 Binary files a/streets/infrastructure/sounds/infrastructure_ebell.ogg and /dev/null differ diff --git a/streets/infrastructure/sounds/infrastructure_emergency_phone.ogg b/streets/infrastructure/sounds/infrastructure_emergency_phone.ogg deleted file mode 100644 index 7e84eb2..0000000 Binary files a/streets/infrastructure/sounds/infrastructure_emergency_phone.ogg and /dev/null differ diff --git a/streets/infrastructure/sounds/infrastructure_traffic_lights_1.ogg b/streets/infrastructure/sounds/infrastructure_traffic_lights_1.ogg deleted file mode 100644 index d790e9a..0000000 Binary files a/streets/infrastructure/sounds/infrastructure_traffic_lights_1.ogg and /dev/null differ diff --git a/streets/infrastructure/sounds/infrastructure_traffic_lights_2.ogg b/streets/infrastructure/sounds/infrastructure_traffic_lights_2.ogg deleted file mode 100644 index 8fa7753..0000000 Binary files a/streets/infrastructure/sounds/infrastructure_traffic_lights_2.ogg and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_aircraft_warning_light_side_anim.png b/streets/infrastructure/textures/infrastructure_aircraft_warning_light_side_anim.png deleted file mode 100644 index 40c1558..0000000 Binary files a/streets/infrastructure/textures/infrastructure_aircraft_warning_light_side_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_aircraft_warning_light_top_anim.png b/streets/infrastructure/textures/infrastructure_aircraft_warning_light_top_anim.png deleted file mode 100644 index 8f223dc..0000000 Binary files a/streets/infrastructure/textures/infrastructure_aircraft_warning_light_top_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_anti_dazzling_panel_side.png b/streets/infrastructure/textures/infrastructure_anti_dazzling_panel_side.png deleted file mode 100644 index 5965006..0000000 Binary files a/streets/infrastructure/textures/infrastructure_anti_dazzling_panel_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_anti_dazzling_panel_top_bottom.png b/streets/infrastructure/textures/infrastructure_anti_dazzling_panel_top_bottom.png deleted file mode 100644 index 0f257bd..0000000 Binary files a/streets/infrastructure/textures/infrastructure_anti_dazzling_panel_top_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_asphalt.png b/streets/infrastructure/textures/infrastructure_asphalt.png deleted file mode 100644 index 2906a0d..0000000 Binary files a/streets/infrastructure/textures/infrastructure_asphalt.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device.png deleted file mode 100644 index d5f6c62..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_bottom.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_bottom.png deleted file mode 100644 index 87ddf0c..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle.png deleted file mode 100644 index 5185a29..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_anim.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_anim.png deleted file mode 100644 index 575ebca..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_off.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_off.png deleted file mode 100644 index ac85b26..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_off.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_side.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_side.png deleted file mode 100644 index 7c50472..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_center_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_anim.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_anim.png deleted file mode 100644 index 6d6851b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_off.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_off.png deleted file mode 100644 index 3acc761..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_off.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_side.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_side.png deleted file mode 100644 index 8d73676..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_left_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_anim.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_anim.png deleted file mode 100644 index 5517f0d..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_off.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_off.png deleted file mode 100644 index d3e378a..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_off.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_side.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_side.png deleted file mode 100644 index cb6a9bc..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_right_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_side.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_side.png deleted file mode 100644 index 469addf..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_middle_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_top.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_top.png deleted file mode 100644 index a9fb96f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_automatic_warning_device_top_side.png b/streets/infrastructure/textures/infrastructure_automatic_warning_device_top_side.png deleted file mode 100644 index 49412ec..0000000 Binary files a/streets/infrastructure/textures/infrastructure_automatic_warning_device_top_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_darkfirst.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_darkfirst.png deleted file mode 100644 index 70b1cd3..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_darkfirst.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_lightfirst.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_lightfirst.png deleted file mode 100644 index ea7368e..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_anim_lightfirst.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_bottom_front_back.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_bottom_front_back.png deleted file mode 100644 index e283612..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_bottom_front_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_left_right_bright.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_left_right_bright.png deleted file mode 100644 index 0e6e50c..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_left_right_bright.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_top.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_top.png deleted file mode 100644 index 5f997a4..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_h_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_left.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_left.png deleted file mode 100644 index 87b3bbb..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_left.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_right.png b/streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_right.png deleted file mode 100644 index c777597..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_arm_v_right.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_h_bottom.png b/streets/infrastructure/textures/infrastructure_boom_barrier_h_bottom.png deleted file mode 100644 index c7fbfea..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_h_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_h_front_back.png b/streets/infrastructure/textures/infrastructure_boom_barrier_h_front_back.png deleted file mode 100644 index 5d019fc..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_h_front_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_h_left.png b/streets/infrastructure/textures/infrastructure_boom_barrier_h_left.png deleted file mode 100644 index 08348fb..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_h_left.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_h_right.png b/streets/infrastructure/textures/infrastructure_boom_barrier_h_right.png deleted file mode 100644 index 5399be8..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_h_right.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_h_top.png b/streets/infrastructure/textures/infrastructure_boom_barrier_h_top.png deleted file mode 100644 index 7796232..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_h_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_v_bottom.png b/streets/infrastructure/textures/infrastructure_boom_barrier_v_bottom.png deleted file mode 100644 index 9ae9ed3..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_v_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_v_front_back.png b/streets/infrastructure/textures/infrastructure_boom_barrier_v_front_back.png deleted file mode 100644 index d7b7a3b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_v_front_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_v_left.png b/streets/infrastructure/textures/infrastructure_boom_barrier_v_left.png deleted file mode 100644 index 4ddd606..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_v_left.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_boom_barrier_v_right.png b/streets/infrastructure/textures/infrastructure_boom_barrier_v_right.png deleted file mode 100644 index 91c5600..0000000 Binary files a/streets/infrastructure/textures/infrastructure_boom_barrier_v_right.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_cable_barrier_terminal_back.png b/streets/infrastructure/textures/infrastructure_cable_barrier_terminal_back.png deleted file mode 100644 index 5f90cf2..0000000 Binary files a/streets/infrastructure/textures/infrastructure_cable_barrier_terminal_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_cable_barrier_terminal_front.png b/streets/infrastructure/textures/infrastructure_cable_barrier_terminal_front.png deleted file mode 100644 index 607f6d9..0000000 Binary files a/streets/infrastructure/textures/infrastructure_cable_barrier_terminal_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_concrete.png b/streets/infrastructure/textures/infrastructure_concrete.png deleted file mode 100644 index 3be0c52..0000000 Binary files a/streets/infrastructure/textures/infrastructure_concrete.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_back.png b/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_back.png deleted file mode 100644 index d7aaf99..0000000 Binary files a/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_front.png b/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_front.png deleted file mode 100644 index c3a7b37..0000000 Binary files a/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_side.png b/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_side.png deleted file mode 100644 index 739e6de..0000000 Binary files a/streets/infrastructure/textures/infrastructure_corrugated_guide_rail_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_corrugated_sheet.png b/streets/infrastructure/textures/infrastructure_corrugated_sheet.png deleted file mode 100644 index 9b6bef4..0000000 Binary files a/streets/infrastructure/textures/infrastructure_corrugated_sheet.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_lighting_back.png b/streets/infrastructure/textures/infrastructure_crosswalk_lighting_back.png deleted file mode 100644 index fd73443..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_lighting_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_lighting_bottom.png b/streets/infrastructure/textures/infrastructure_crosswalk_lighting_bottom.png deleted file mode 100644 index f6f5db9..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_lighting_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_lighting_front.png b/streets/infrastructure/textures/infrastructure_crosswalk_lighting_front.png deleted file mode 100644 index bf6bf01..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_lighting_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign.png b/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign.png deleted file mode 100644 index b20ca91..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_front_back.png b/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_front_back.png deleted file mode 100644 index 2ff6832..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_front_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_side.png b/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_side.png deleted file mode 100644 index 9e7c58c..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_bottom_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top.png b/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top.png deleted file mode 100644 index 6ba1c7b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_front_back.png b/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_front_back.png deleted file mode 100644 index f115876..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_front_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_side.png b/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_side.png deleted file mode 100644 index 9db3518..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_safety_sign_top_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_back.png b/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_back.png deleted file mode 100644 index 51d024b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_anim.png b/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_anim.png deleted file mode 100644 index a21529f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_bright.png b/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_bright.png deleted file mode 100644 index 3525a3c..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_bright.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_dark.png b/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_dark.png deleted file mode 100644 index 357bda3..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crosswalk_warning_light_front_dark.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crowd_control_barricade_back.png b/streets/infrastructure/textures/infrastructure_crowd_control_barricade_back.png deleted file mode 100644 index 0f5c6ea..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crowd_control_barricade_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_crowd_control_barricade_front.png b/streets/infrastructure/textures/infrastructure_crowd_control_barricade_front.png deleted file mode 100644 index a16c363..0000000 Binary files a/streets/infrastructure/textures/infrastructure_crowd_control_barricade_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_curve_chevron_left_bright.png b/streets/infrastructure/textures/infrastructure_curve_chevron_left_bright.png deleted file mode 100644 index 199751f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_curve_chevron_left_bright.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_curve_chevron_left_dark.png b/streets/infrastructure/textures/infrastructure_curve_chevron_left_dark.png deleted file mode 100644 index f7d68f5..0000000 Binary files a/streets/infrastructure/textures/infrastructure_curve_chevron_left_dark.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_curve_chevron_right_bright.png b/streets/infrastructure/textures/infrastructure_curve_chevron_right_bright.png deleted file mode 100644 index d1bae78..0000000 Binary files a/streets/infrastructure/textures/infrastructure_curve_chevron_right_bright.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_curve_chevron_right_dark.png b/streets/infrastructure/textures/infrastructure_curve_chevron_right_dark.png deleted file mode 100644 index b8f442f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_curve_chevron_right_dark.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_delineator_retroreflector_red.png b/streets/infrastructure/textures/infrastructure_delineator_retroreflector_red.png deleted file mode 100644 index b2d4336..0000000 Binary files a/streets/infrastructure/textures/infrastructure_delineator_retroreflector_red.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_delineator_retroreflector_yellow.png b/streets/infrastructure/textures/infrastructure_delineator_retroreflector_yellow.png deleted file mode 100644 index b6fe651..0000000 Binary files a/streets/infrastructure/textures/infrastructure_delineator_retroreflector_yellow.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_delineator_wrapper_left.png b/streets/infrastructure/textures/infrastructure_delineator_wrapper_left.png deleted file mode 100644 index a4d0edd..0000000 Binary files a/streets/infrastructure/textures/infrastructure_delineator_wrapper_left.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_delineator_wrapper_right.png b/streets/infrastructure/textures/infrastructure_delineator_wrapper_right.png deleted file mode 100644 index 2743183..0000000 Binary files a/streets/infrastructure/textures/infrastructure_delineator_wrapper_right.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_drainage_channel_grating.png b/streets/infrastructure/textures/infrastructure_drainage_channel_grating.png deleted file mode 100644 index dc720cd..0000000 Binary files a/streets/infrastructure/textures/infrastructure_drainage_channel_grating.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_emergency_phone_bottom.png b/streets/infrastructure/textures/infrastructure_emergency_phone_bottom.png deleted file mode 100644 index 8106816..0000000 Binary files a/streets/infrastructure/textures/infrastructure_emergency_phone_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_emergency_phone_front.png b/streets/infrastructure/textures/infrastructure_emergency_phone_front.png deleted file mode 100644 index 1153717..0000000 Binary files a/streets/infrastructure/textures/infrastructure_emergency_phone_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_emergency_phone_side.png b/streets/infrastructure/textures/infrastructure_emergency_phone_side.png deleted file mode 100644 index 930437c..0000000 Binary files a/streets/infrastructure/textures/infrastructure_emergency_phone_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_emergency_phone_top.png b/streets/infrastructure/textures/infrastructure_emergency_phone_top.png deleted file mode 100644 index 2ff4038..0000000 Binary files a/streets/infrastructure/textures/infrastructure_emergency_phone_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_back.png b/streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_back.png deleted file mode 100644 index 6264bd5..0000000 Binary files a/streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_front.png b/streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_front.png deleted file mode 100644 index cd20a40..0000000 Binary files a/streets/infrastructure/textures/infrastructure_energy_absorbing_terminal_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_fitch_barrel_bottom.png b/streets/infrastructure/textures/infrastructure_fitch_barrel_bottom.png deleted file mode 100644 index 7664b97..0000000 Binary files a/streets/infrastructure/textures/infrastructure_fitch_barrel_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_fitch_barrel_side.png b/streets/infrastructure/textures/infrastructure_fitch_barrel_side.png deleted file mode 100644 index 7471830..0000000 Binary files a/streets/infrastructure/textures/infrastructure_fitch_barrel_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_fitch_barrel_top.png b/streets/infrastructure/textures/infrastructure_fitch_barrel_top.png deleted file mode 100644 index 223e119..0000000 Binary files a/streets/infrastructure/textures/infrastructure_fitch_barrel_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_galvanized_steel.png b/streets/infrastructure/textures/infrastructure_galvanized_steel.png deleted file mode 100644 index 841e68b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_galvanized_steel.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_grid_paver_bottom.png b/streets/infrastructure/textures/infrastructure_grid_paver_bottom.png deleted file mode 100644 index de051cf..0000000 Binary files a/streets/infrastructure/textures/infrastructure_grid_paver_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_grid_paver_grass.png b/streets/infrastructure/textures/infrastructure_grid_paver_grass.png deleted file mode 100644 index 87bae79..0000000 Binary files a/streets/infrastructure/textures/infrastructure_grid_paver_grass.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_grid_paver_top.png b/streets/infrastructure/textures/infrastructure_grid_paver_top.png deleted file mode 100644 index ea079c3..0000000 Binary files a/streets/infrastructure/textures/infrastructure_grid_paver_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_lane_control_lights_1.png b/streets/infrastructure/textures/infrastructure_lane_control_lights_1.png deleted file mode 100644 index e2c5d16..0000000 Binary files a/streets/infrastructure/textures/infrastructure_lane_control_lights_1.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_lane_control_lights_2.png b/streets/infrastructure/textures/infrastructure_lane_control_lights_2.png deleted file mode 100644 index 913572a..0000000 Binary files a/streets/infrastructure/textures/infrastructure_lane_control_lights_2.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_lane_control_lights_3.png b/streets/infrastructure/textures/infrastructure_lane_control_lights_3.png deleted file mode 100644 index ffe4e01..0000000 Binary files a/streets/infrastructure/textures/infrastructure_lane_control_lights_3.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_lane_control_lights_4.png b/streets/infrastructure/textures/infrastructure_lane_control_lights_4.png deleted file mode 100644 index 6b24780..0000000 Binary files a/streets/infrastructure/textures/infrastructure_lane_control_lights_4.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_lane_control_lights_5.png b/streets/infrastructure/textures/infrastructure_lane_control_lights_5.png deleted file mode 100644 index 1a8afcb..0000000 Binary files a/streets/infrastructure/textures/infrastructure_lane_control_lights_5.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_lane_control_lights_6.png b/streets/infrastructure/textures/infrastructure_lane_control_lights_6.png deleted file mode 100644 index 6e149d7..0000000 Binary files a/streets/infrastructure/textures/infrastructure_lane_control_lights_6.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_manhole_cover_side.png b/streets/infrastructure/textures/infrastructure_manhole_cover_side.png deleted file mode 100644 index 11bf08e..0000000 Binary files a/streets/infrastructure/textures/infrastructure_manhole_cover_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_manhole_cover_top_bottom.png b/streets/infrastructure/textures/infrastructure_manhole_cover_top_bottom.png deleted file mode 100644 index 4338a82..0000000 Binary files a/streets/infrastructure/textures/infrastructure_manhole_cover_top_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_marker_bottom_side.png b/streets/infrastructure/textures/infrastructure_marker_bottom_side.png deleted file mode 100644 index 6cf3e60..0000000 Binary files a/streets/infrastructure/textures/infrastructure_marker_bottom_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_marker_side_red.png b/streets/infrastructure/textures/infrastructure_marker_side_red.png deleted file mode 100644 index 5a5ae22..0000000 Binary files a/streets/infrastructure/textures/infrastructure_marker_side_red.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_marker_side_yellow.png b/streets/infrastructure/textures/infrastructure_marker_side_yellow.png deleted file mode 100644 index a3a439d..0000000 Binary files a/streets/infrastructure/textures/infrastructure_marker_side_yellow.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_marker_top_red_yellow.png b/streets/infrastructure/textures/infrastructure_marker_top_red_yellow.png deleted file mode 100644 index afebd88..0000000 Binary files a/streets/infrastructure/textures/infrastructure_marker_top_red_yellow.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_marker_top_yellow_yellow.png b/streets/infrastructure/textures/infrastructure_marker_top_yellow_yellow.png deleted file mode 100644 index de9d4d6..0000000 Binary files a/streets/infrastructure/textures/infrastructure_marker_top_yellow_yellow.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_noise_barrier.png b/streets/infrastructure/textures/infrastructure_noise_barrier.png deleted file mode 100644 index a52a243..0000000 Binary files a/streets/infrastructure/textures/infrastructure_noise_barrier.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_razor_wire.png b/streets/infrastructure/textures/infrastructure_razor_wire.png deleted file mode 100644 index 150a98f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_razor_wire.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_riffled_sheet.png b/streets/infrastructure/textures/infrastructure_riffled_sheet.png deleted file mode 100644 index 0f83bce..0000000 Binary files a/streets/infrastructure/textures/infrastructure_riffled_sheet.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_crosswalk_back.png b/streets/infrastructure/textures/infrastructure_road_sign_crosswalk_back.png deleted file mode 100644 index 590e65d..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_crosswalk_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_crosswalk_front.png b/streets/infrastructure/textures/infrastructure_road_sign_crosswalk_front.png deleted file mode 100644 index 78b5dce..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_crosswalk_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_retroreflective_surface.png b/streets/infrastructure/textures/infrastructure_road_sign_retroreflective_surface.png deleted file mode 100644 index f9c95c1..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_retroreflective_surface.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_right_of_way_back.png b/streets/infrastructure/textures/infrastructure_road_sign_right_of_way_back.png deleted file mode 100644 index a98467f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_right_of_way_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_right_of_way_front.png b/streets/infrastructure/textures/infrastructure_road_sign_right_of_way_front.png deleted file mode 100644 index 0f52f69..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_right_of_way_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_stop_back.png b/streets/infrastructure/textures/infrastructure_road_sign_stop_back.png deleted file mode 100644 index d87b178..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_stop_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_stop_front.png b/streets/infrastructure/textures/infrastructure_road_sign_stop_front.png deleted file mode 100644 index 42a099f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_stop_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_yield_back.png b/streets/infrastructure/textures/infrastructure_road_sign_yield_back.png deleted file mode 100644 index d934905..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_yield_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_road_sign_yield_front.png b/streets/infrastructure/textures/infrastructure_road_sign_yield_front.png deleted file mode 100644 index caad0cc..0000000 Binary files a/streets/infrastructure/textures/infrastructure_road_sign_yield_front.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_cone_bottom.png b/streets/infrastructure/textures/infrastructure_traffic_cone_bottom.png deleted file mode 100644 index c9a5137..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_cone_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_cone_side.png b/streets/infrastructure/textures/infrastructure_traffic_cone_side.png deleted file mode 100644 index 134837f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_cone_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_cone_top.png b/streets/infrastructure/textures/infrastructure_traffic_cone_top.png deleted file mode 100644 index 2dca4ae..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_cone_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians.png deleted file mode 100644 index 9cd1470..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_back.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_back.png deleted file mode 100644 index 357011d..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_1.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_1.png deleted file mode 100644 index a689dc4..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_1.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_2.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_2.png deleted file mode 100644 index a689dc4..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_2.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_3.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_3.png deleted file mode 100644 index 7729d96..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_3.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_4.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_4.png deleted file mode 100644 index 7729d96..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_bottom_front_4.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_back.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_back.png deleted file mode 100644 index 708d59b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_1.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_1.png deleted file mode 100644 index 737c426..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_1.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_2.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_2.png deleted file mode 100644 index 737c426..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_2.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_3.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_3.png deleted file mode 100644 index 8d22856..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_3.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_4.png b/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_4.png deleted file mode 100644 index 8d22856..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_pedestrians_top_front_4.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_side.png b/streets/infrastructure/textures/infrastructure_traffic_lights_side.png deleted file mode 100644 index 01076e3..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_side.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles.png deleted file mode 100644 index 393422a..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_1.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_1.png deleted file mode 100644 index 4cbb75b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_1.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_2.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_2.png deleted file mode 100644 index c81f500..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_2.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_3.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_3.png deleted file mode 100644 index f55108c..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_3.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_4.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_4.png deleted file mode 100644 index c81f500..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_bottom_4.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_1.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_1.png deleted file mode 100644 index 116ae46..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_1.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_2.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_2.png deleted file mode 100644 index 4a57e89..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_2.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_3.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_3.png deleted file mode 100644 index 9dab2ea..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_3.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_4.png b/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_4.png deleted file mode 100644 index ddc2364..0000000 Binary files a/streets/infrastructure/textures/infrastructure_traffic_lights_vehicles_top_4.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_truss.png b/streets/infrastructure/textures/infrastructure_truss.png deleted file mode 100644 index ba628f1..0000000 Binary files a/streets/infrastructure/textures/infrastructure_truss.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_warning_light_back.png b/streets/infrastructure/textures/infrastructure_warning_light_back.png deleted file mode 100644 index 0301aee..0000000 Binary files a/streets/infrastructure/textures/infrastructure_warning_light_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_warning_light_bottom.png b/streets/infrastructure/textures/infrastructure_warning_light_bottom.png deleted file mode 100644 index e7090a0..0000000 Binary files a/streets/infrastructure/textures/infrastructure_warning_light_bottom.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_warning_light_front_anim.png b/streets/infrastructure/textures/infrastructure_warning_light_front_anim.png deleted file mode 100644 index 601725b..0000000 Binary files a/streets/infrastructure/textures/infrastructure_warning_light_front_anim.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_warning_light_left.png b/streets/infrastructure/textures/infrastructure_warning_light_left.png deleted file mode 100644 index e519af4..0000000 Binary files a/streets/infrastructure/textures/infrastructure_warning_light_left.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_warning_light_right.png b/streets/infrastructure/textures/infrastructure_warning_light_right.png deleted file mode 100644 index 4bd42dc..0000000 Binary files a/streets/infrastructure/textures/infrastructure_warning_light_right.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_warning_light_top.png b/streets/infrastructure/textures/infrastructure_warning_light_top.png deleted file mode 100644 index 898ed0f..0000000 Binary files a/streets/infrastructure/textures/infrastructure_warning_light_top.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_wire_netting.png b/streets/infrastructure/textures/infrastructure_wire_netting.png deleted file mode 100644 index a685e97..0000000 Binary files a/streets/infrastructure/textures/infrastructure_wire_netting.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_back.png b/streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_back.png deleted file mode 100644 index 31418f3..0000000 Binary files a/streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_back.png and /dev/null differ diff --git a/streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_front.png b/streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_front.png deleted file mode 100644 index 3e46bd1..0000000 Binary files a/streets/infrastructure/textures/infrastructure_wire_rope_safety_barrier_front.png and /dev/null differ -- cgit v1.2.3