update modding guide

This commit is contained in:
2026-04-01 15:19:49 -04:00
parent 83f744cf68
commit f7b00847ee
4 changed files with 105 additions and 49 deletions

View File

@@ -92,7 +92,6 @@ namespace game::resource::xml
Item item{};
child->QueryIntAttribute("ID", &item.id);
child->QueryIntAttribute("Durability", &item.durability);
if (child->FindAttribute("ChewCount")) child->QueryIntAttribute("ChewCount", &item.durability);
child->QueryFloatAttribute("PositionX", &item.position.x);
child->QueryFloatAttribute("PositionY", &item.position.y);
child->QueryFloatAttribute("VelocityX", &item.velocity.x);