Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chest not working properly and ice cannot be placed + fix #5

Open
Jay-Jay-O opened this issue May 11, 2022 · 0 comments
Open

Chest not working properly and ice cannot be placed + fix #5

Jay-Jay-O opened this issue May 11, 2022 · 0 comments

Comments

@Jay-Jay-O
Copy link

Chests, whenever opened, has a weird behavior whenever you place an item on the third and fourth row, When placing an item on the third row, the item's icon appear on the second row while the item can be clicked and retrieved on the third row. and you cannot even place something on the fourth row.
As a fix, I recommend changing lines 564 & 565 on fegaria_remastered.py from
slot_x = chest_index % 10
slot_y = chest_index // 10
to
slot_x = chest_index % 5
slot_y = chest_index // 5
Ice, on the other hand, disappears (and consumes the item) whenever it is placed, It's as if the ice turns to air so I suspected that there's something wrong in the ice's properties in the xml file.
I recommend changing line 10 on item_data.xml from
<item id="7" id_str="fg.item.ice" name="Ice" desc="It's icy cold" tags="tile" image_path="res/images/items/ice.png" tier="0" max_stack="999" buy_price="5" sell_price="0" tile_id_str="fg.tile.air" pickup_sound="fg.sound.grab" drop_sound="fg.sound.grab" hold_offset="0.0"></item>
to
<item id="7" id_str="fg.item.ice" name="Ice" desc="It's icy cold" tags="tile,material" image_path="res/images/items/ice.png" tier="0" max_stack="999" buy_price="5" sell_price="0" tile_id_str="fg.tile.ice" pickup_sound="fg.sound.grab" drop_sound="fg.sound.grab" hold_offset="0.0"></item>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant