> cat /wizhelp/wizcoding2

========================================================================
              Wizard Coding 2: Adding Objects
========================================================================

Create custom items for your rooms.

CREATE A WEAPON:
  ed tutorial/my_sword.py

```python
from lib.models.objects import Weapon

def load():
    """Create a custom sword."""
    return Weapon(
        name="glowing training sword",
        description="A practice sword that glows faintly.",
        damage=30,        # Moderate damage
        weight=8,
        value=200,
        weapon_type="sword"
    )
```

CREATE HEALING ITEM:
  ed tutorial/my_potion.py

```python
from lib.models.objects import Consumable

class CustomPotion(Consumable):
    def __init__(self):
        super().__init__(
            name="sparkling potion",
            description="It sparkles with healing energy.",
            heal_amount=150,
            charges=3,
            value=300
        )

def load():
    return CustomPotion()
```

TESTING YOUR ITEMS:
  clone tutorial/my_sword
  examine sword
  wield sword
  
  clone tutorial/my_potion
  use potion

ITEM PROPERTIES:
  - damage: Weapon power (15-95)
  - weight: Carrying burden
  - value: Shop price
  - charges: Uses for consumables
  - heal_amount: HP restored

========================================================================    

> _