Skip to content

Commit

Permalink
Make physics detection radius a little bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHorscht committed Jun 26, 2024
1 parent f3ac206 commit 7b03145
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.20.6:
- Make physics item detection area a little bit bigger

v1.20.5:
- FIX: Firing position of laser eyes

Expand Down
2 changes: 1 addition & 1 deletion files/entities/anvil/anvil.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@

<CollisionTriggerComponent
width="60"
height="20"
height="24"
required_tag="item_physics"
destroy_this_entity_when_triggered="0"
>
Expand Down
2 changes: 1 addition & 1 deletion files/entities/anvil/anvil_trigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function collision_trigger(colliding_entity_id)
local entities = EntityGetInRadiusWithTag(x, y, 28, tag)
for i, v in ipairs(entities) do
local tx, ty = EntityGetTransform(v)
if ty > y + 5 or ty < y - 10 then
if ty > y + 5 or ty < y - 14 then
table.remove(entities, i)
end
end
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anvil_of_destiny",
"version": "1.20.5",
"version": "1.20.6",
"description": "A mod for Noita (https://noitagame.com/) which adds an anvil into the default biomes, which lets you forge two wands into a new one!",
"main": "",
"scripts": {
Expand Down

0 comments on commit 7b03145

Please sign in to comment.