NAME

WWW::MetaForge::ArcRaiders::Result::Item - Item result object

VERSION

version 0.002

SYNOPSIS

my $items = $api->items(search => 'Ferro');
for my $item (@$items) {
    say $item->name . " (" . $item->rarity . ")";
    say "  Weight: " . $item->weight if $item->weight;
}

DESCRIPTION

Represents an item from the ARC Raiders game (weapons, mods, materials, consumables).

id

Item identifier (string slug).

name

Human-readable item name.

slug

URL-safe identifier.

category

Item type (e.g., "Weapon", "Material", "Consumable").

rarity

Item rarity (e.g., "Common", "Rare", "Legendary").

description

Item description text.

stats

HashRef of item statistics (damage, range, etc.).

weight

Item weight value.

stack_size

Maximum stack size for stackable items.

base_value

Base monetary value.

crafting_requirements

ArrayRef of crafting ingredients: [{ item = "Name", quantity => 5 }]>.

sold_by

ArrayRef of traders that sell this item.

used_in

ArrayRef of recipes/crafts using this item.

compatible_with

ArrayRef of compatible items.

recycle_yield

HashRef of materials from recycling.

last_updated

ISO timestamp of last data update.

from_hashref

my $item = WWW::MetaForge::ArcRaiders::Result::Item->from_hashref(\%data);

Construct from API response. Handles field name mapping.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-metaforge/issues.

IRC

You can reach Getty on irc.perl.org for questions and support.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.