Category:Equipment

Using the equipment system
The equipment system is very rudimentary to play nicely within SL's memory constraints. To add an item you simply type:

 .addgear: name, desc, stat1=nr, stat2=nr etc

Ex: Rougie.addgear: Jeweled Dagger, A shiny sharp dagger, dmg=1, agi=1

Items are unique by name, so if I typed the above command again, roguie would still only have 1 dagger.

Note that items are equipped by default, so if you want something to go in a player's inventory, you'll have to save the stats in the description instead:

Rougie.addgear: Jeweled Dagger, A shiny sharp dagger dmg:1 agi:1

You'll have to do the same thing if you want a larger quantity of things like consumables, ex:

Rougie.addgear: Health Potion, 2x red vials

Luckily you can update the quantity with only 1 command as long as it uses the same name:

Rougie.addgear: Health Potion, 3x red vials

That would overwrite the 2x call.

You can remove items by doing:

Rougie.remgear: Health Potion

Rougie would no longer have any health potion(s) in their inventory.