MoreOutput / RockMUD

Node Websocket MUD Server. Demo: https://rockmud.herokuapp.com/
MIT License
157 stars 43 forks source link

Equipping items to body and chest not working #100

Closed UnbanTwin closed 8 years ago

MoreOutput commented 8 years ago

There are currently no chest/body items -- have you created one? Can you post the object?

UnbanTwin commented 8 years ago

Yeah I have created one, and have it in a merchant store, here is the item:

{
                        name: 'Leather Chestplate',
                        short: 'a leather chestplate',
                        long: 'A simple leather chestplate was left here' ,
                        area: 'Incipio',
                        id: '10003',
                        level: 1,
                        itemType: 'armor',
                        material: 'leather',
                        ac: 3,
                        weight: 1,
                        slot: 'body',
                        equipped: false,
                        store:true,
                        worth:15,
                        spawn:5,
                        flags: []
                    }
MoreOutput commented 8 years ago

Thanks! Looking after work today.

UnbanTwin commented 8 years ago

Awesome thanks!

MoreOutput commented 8 years ago

I'm having trouble replicating this. Working as intended. May be due to some work i've done on my end. Keeping this open until I push to master -- once that happens I'll close but please retest. Will add some body armor to the game.

Note: with this push the 'worth' property is now 'value' which was the original intention (why worth was not outlined on item.json).

UnbanTwin commented 8 years ago

Awesome thanks!

MoreOutput commented 8 years ago

Next couple days; wrapped into some work im doing.

UnbanTwin commented 8 years ago

Cool!

MoreOutput commented 8 years ago

A chest piece was added to master with the weekends commit.