From 1500f77957d1cd1b6813e37d7a142d1e17e447b0 Mon Sep 17 00:00:00 2001 From: Kaelan B <43509068+Helodity@users.noreply.github.com> Date: Sun, 18 Aug 2024 02:38:21 -0400 Subject: [PATCH] Updated mobs to use updated shadows --- Game_data/Types/Bridges/Ceramic_bridge_red/Data.txt | 1 + Game_data/Types/Custom/Animations.txt | 0 Game_data/Types/Custom/Automatic_gate/Data.txt | 1 - Game_data/Types/Custom/Bamboo_gate_pillar/Data.txt | 1 - Game_data/Types/Custom/Crystal_wall_pillar/Data.txt | 1 - Game_data/Types/Custom/Electric_gate/Data.txt | 1 - Game_data/Types/Custom/Electric_gate/Script.txt | 1 + Game_data/Types/Custom/Electric_gate_pillar/Data.txt | 1 - Game_data/Types/Custom/Paper_bag_barrier/Data.txt | 1 - Game_data/Types/Custom/Reinforced_wall/Data.txt | 1 - Game_data/Types/Custom/Reinforced_wall/Script.txt | 1 + Game_data/Types/Custom/Reinforced_wall_pillar/Data.txt | 1 - Game_data/Types/Custom/White_bramble_gate/Data.txt | 1 - Game_data/Types/Custom/White_bramble_gate/Script.txt | 1 + Game_data/Types/Custom/White_bramble_gate_pillar/Data.txt | 1 - Source/source/mob_types/bridge_type.cpp | 1 - 16 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 Game_data/Types/Custom/Animations.txt diff --git a/Game_data/Types/Bridges/Ceramic_bridge_red/Data.txt b/Game_data/Types/Bridges/Ceramic_bridge_red/Data.txt index d60caf934..c1c4ccbab 100644 --- a/Game_data/Types/Bridges/Ceramic_bridge_red/Data.txt +++ b/Game_data/Types/Bridges/Ceramic_bridge_red/Data.txt @@ -4,6 +4,7 @@ description = A red ceramic bridge. Pikmin can piece red fragments together to f area_editor_recommend_links_from = true area_editor_recommend_links_to = true can_walk_on_others = true +casts_shadow = false custom_category_name = Bridge left_rail_texture = Ceramic_bridge_rail_red_left.png main_texture = Ceramic_bridge_red.png diff --git a/Game_data/Types/Custom/Animations.txt b/Game_data/Types/Custom/Animations.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/Game_data/Types/Custom/Automatic_gate/Data.txt b/Game_data/Types/Custom/Automatic_gate/Data.txt index e50979c89..f57b349c6 100644 --- a/Game_data/Types/Custom/Automatic_gate/Data.txt +++ b/Game_data/Types/Custom/Automatic_gate/Data.txt @@ -3,7 +3,6 @@ description = A gate that lifts up on its own when it receives power from some s area_editor_recommend_links_to = true can_block_paths = true -casts_shadow = false custom_category_name = Gate height = 9999 move_speed = 150 diff --git a/Game_data/Types/Custom/Bamboo_gate_pillar/Data.txt b/Game_data/Types/Custom/Bamboo_gate_pillar/Data.txt index bb5091d0b..1e9067272 100644 --- a/Game_data/Types/Custom/Bamboo_gate_pillar/Data.txt +++ b/Game_data/Types/Custom/Bamboo_gate_pillar/Data.txt @@ -3,7 +3,6 @@ description = Pillar that holds a bamboo gate in place. appears_in_area_editor = false can_block_paths = false -casts_shadow = false custom_category_name = Aux height = 0 pushable = false diff --git a/Game_data/Types/Custom/Crystal_wall_pillar/Data.txt b/Game_data/Types/Custom/Crystal_wall_pillar/Data.txt index 617c27ca0..499e4f9b1 100644 --- a/Game_data/Types/Custom/Crystal_wall_pillar/Data.txt +++ b/Game_data/Types/Custom/Crystal_wall_pillar/Data.txt @@ -3,7 +3,6 @@ description = Pillar that holds a crystal wall in place. appears_in_area_editor = false can_block_paths = false -casts_shadow = false custom_category_name = Aux height = 0 pushable = false diff --git a/Game_data/Types/Custom/Electric_gate/Data.txt b/Game_data/Types/Custom/Electric_gate/Data.txt index 2aa30107a..6a5ddd838 100644 --- a/Game_data/Types/Custom/Electric_gate/Data.txt +++ b/Game_data/Types/Custom/Electric_gate/Data.txt @@ -3,7 +3,6 @@ description = A gate with electricity running through it. Only Yellow Pikmin can can_block_paths = true can_hurt = player -casts_shadow = false custom_category_name = Gate height = 0 max_health = 2000 diff --git a/Game_data/Types/Custom/Electric_gate/Script.txt b/Game_data/Types/Custom/Electric_gate/Script.txt index 1daeb181e..5b2d07035 100644 --- a/Game_data/Types/Custom/Electric_gate/Script.txt +++ b/Game_data/Types/Custom/Electric_gate/Script.txt @@ -96,6 +96,7 @@ script { start_particles electric_gate_explosion 0 0 129 play_sound obstacle_cleared set_tangible false + set_shadow_visibility false send_message_to_links destroy } } diff --git a/Game_data/Types/Custom/Electric_gate_pillar/Data.txt b/Game_data/Types/Custom/Electric_gate_pillar/Data.txt index bbad28cc8..9090e555f 100644 --- a/Game_data/Types/Custom/Electric_gate_pillar/Data.txt +++ b/Game_data/Types/Custom/Electric_gate_pillar/Data.txt @@ -3,7 +3,6 @@ description = Pillar that holds an electric gate in place. appears_in_area_editor = false can_block_paths = false -casts_shadow = false custom_category_name = Aux height = 0 pushable = false diff --git a/Game_data/Types/Custom/Paper_bag_barrier/Data.txt b/Game_data/Types/Custom/Paper_bag_barrier/Data.txt index a22cb6676..ae5c3c926 100644 --- a/Game_data/Types/Custom/Paper_bag_barrier/Data.txt +++ b/Game_data/Types/Custom/Paper_bag_barrier/Data.txt @@ -3,7 +3,6 @@ description = Invisible thin barrier that stops Pikmin from being thrown over a appears_in_area_editor = false can_block_paths = false -casts_shadow = false custom_category_name = Aux height = 1000 pushable = false diff --git a/Game_data/Types/Custom/Reinforced_wall/Data.txt b/Game_data/Types/Custom/Reinforced_wall/Data.txt index 6d1dad706..b46a753ce 100644 --- a/Game_data/Types/Custom/Reinforced_wall/Data.txt +++ b/Game_data/Types/Custom/Reinforced_wall/Data.txt @@ -2,7 +2,6 @@ name = Reinforced wall description = A wall made of a reinforced material so strong that normal Pikmin attacks can't break it. Explosive force can, however. can_block_paths = true -casts_shadow = false custom_category_name = Gate default_vulnerability = 0 height = 0 diff --git a/Game_data/Types/Custom/Reinforced_wall/Script.txt b/Game_data/Types/Custom/Reinforced_wall/Script.txt index f15d800bb..eb58c3651 100644 --- a/Game_data/Types/Custom/Reinforced_wall/Script.txt +++ b/Game_data/Types/Custom/Reinforced_wall/Script.txt @@ -96,6 +96,7 @@ script { start_particles reinforced_wall_explosion 0 0 129 play_sound obstacle_cleared set_tangible false + set_shadow_visibility false } } } diff --git a/Game_data/Types/Custom/Reinforced_wall_pillar/Data.txt b/Game_data/Types/Custom/Reinforced_wall_pillar/Data.txt index 673e391ee..d6aed7fc0 100644 --- a/Game_data/Types/Custom/Reinforced_wall_pillar/Data.txt +++ b/Game_data/Types/Custom/Reinforced_wall_pillar/Data.txt @@ -3,7 +3,6 @@ description = Pillar that holds a reinforced wall in place. appears_in_area_editor = false can_block_paths = false -casts_shadow = false custom_category_name = Aux height = 0 pushable = false diff --git a/Game_data/Types/Custom/White_bramble_gate/Data.txt b/Game_data/Types/Custom/White_bramble_gate/Data.txt index 3cc38b8e2..c1d8c62e2 100644 --- a/Game_data/Types/Custom/White_bramble_gate/Data.txt +++ b/Game_data/Types/Custom/White_bramble_gate/Data.txt @@ -2,7 +2,6 @@ name = White bramble gate description = A simple gate made of bramble. It can be knocked down with any Pikmin. can_block_paths = true -casts_shadow = false custom_category_name = Gate height = 0 max_health = 2000 diff --git a/Game_data/Types/Custom/White_bramble_gate/Script.txt b/Game_data/Types/Custom/White_bramble_gate/Script.txt index f700d1622..f082bfc21 100644 --- a/Game_data/Types/Custom/White_bramble_gate/Script.txt +++ b/Game_data/Types/Custom/White_bramble_gate/Script.txt @@ -96,6 +96,7 @@ script { start_particles bramble_gate_explosion 0 0 129 play_sound obstacle_cleared set_tangible false + set_shadow_visibility false } } } diff --git a/Game_data/Types/Custom/White_bramble_gate_pillar/Data.txt b/Game_data/Types/Custom/White_bramble_gate_pillar/Data.txt index afe583f57..aee2c902e 100644 --- a/Game_data/Types/Custom/White_bramble_gate_pillar/Data.txt +++ b/Game_data/Types/Custom/White_bramble_gate_pillar/Data.txt @@ -3,7 +3,6 @@ description = Pillar that holds a white bramble gate in place. appears_in_area_editor = false can_block_paths = false -casts_shadow = false custom_category_name = Aux height = 0 pushable = false diff --git a/Source/source/mob_types/bridge_type.cpp b/Source/source/mob_types/bridge_type.cpp index d24ce75a1..97bf77fe1 100644 --- a/Source/source/mob_types/bridge_type.cpp +++ b/Source/source/mob_types/bridge_type.cpp @@ -26,7 +26,6 @@ bridge_type::bridge_type() : max_health = 2000; pushable = false; pushes = false; - casts_shadow = false; can_block_paths = true; target_type = MOB_TARGET_FLAG_PIKMIN_OBSTACLE; starting_team = MOB_TEAM_OBSTACLE;