Skip to content

Commit

Permalink
Merge pull request #19 from rune-js/item-editing
Browse files Browse the repository at this point in the history
Item editing REST endpoint
  • Loading branch information
TheBlackParade authored Jan 4, 2020
2 parents cc1fb09 + cad7d56 commit 902dc16
Show file tree
Hide file tree
Showing 10 changed files with 443 additions and 51 deletions.
208 changes: 208 additions & 0 deletions data/config/item-data-backup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
- id: 1048
desc: white partyhat
canTrade: true
weight: 0.056
alchemy:
high: 0
low: 0
equipment:
slot: HEAD
helmetType: HAT
- id: 1079
desc: rune platelegs
canTrade: true
weight: 9.071
alchemy:
high: 38400
low: 25600
equipment:
slot: LEGS
bonuses:
offencive:
stab: 0
slash: 0
crush: 0
magic: -21
ranged: -7
defencive:
stab: 51
slash: 49
crush: 47
magic: -4
ranged: 49
- id: 1127
desc: rune platebody
canTrade: true
weight: 9.979
alchemy:
high: 39000
low: 26000
equipment:
slot: TORSO
torsoType: FULL
bonuses:
offencive:
stab: 0
slash: 0
crush: 0
magic: -30
ranged: -10
defencive:
stab: 82
slash: 80
crush: 72
magic: -6
ranged: 80
- id: 1201
desc: rune kiteshield
canTrade: true
weight: 5.443
alchemy:
high: 32640
low: 21760
equipment:
slot: OFF_HAND
bonuses:
offencive:
stab: 0
slash: 0
crush: 0
magic: -8
ranged: -2
defencive:
stab: 44
slash: 48
crush: 46
magic: -1
ranged: 46
- id: 1303
desc: rune longsword
canTrade: true
weight: 1.814
alchemy:
high: 19200
low: 12800
equipment:
slot: MAIN_HAND
weaponType: ONE_HANDED
bonuses:
offencive:
speed: 5
stab: 38
slash: 47
crush: -2
magic: 0
ranged: 0
defencive:
stab: 0
slash: 3
crush: 2
magic: 0
ranged: 0
skill:
strength: 49
prayer: 0
- id: 1319
desc: rune 2h sword
canTrade: true
weight: 3.628
alchemy:
high: 38400
low: 25600
equipment:
slot: MAIN_HAND
weaponType: TWO_HANDED
bonuses:
offencive:
speed: 7
stab: -4
slash: 69
crush: 50
magic: -4
ranged: 0
defencive:
stab: 0
slash: 0
crush: 0
magic: 0
ranged: -1
skill:
strength: 70
prayer: 0
- id: 1351
desc: bronze axe
canTrade: true
weight: 1.35
alchemy:
high: 9
low: 6
equipment:
slot: MAIN_HAND
bonuses:
offencive:
speed: 5
stab: -2
slash: 4
crush: 2
magic: 0
ranged: 0
defencive:
stab: 0
slash: 1
crush: 0
magic: 0
ranged: 0
skill:
strength: 5
prayer: 0
- id: 1359
desc: rune axe
canTrade: true
questItem: false
weight: 1
equipment:
bonuses:
offencive:
speed: 5
stab: -2
slash: 26
crush: 24
magic: 0
ranged: 0
defencive:
stab: 0
slash: 1
crush: 0
magic: 0
ranged: 0
skill:
strength: 29
prayer: 0
weaponType: ONE_HANDED
slot: MAIN_HAND
- id: 6623
desc: white full helm
canTrade: true
weight: 2.721
alchemy:
high: 633
low: 422
equipment:
slot: HEAD
helmetType: FULL_HELMET
bonuses:
offencive:
stab: 0
slash: 0
crush: 0
magic: -6
ranged: -2
defencive:
stab: 12
slash: 13
crush: 10
magic: -1
ranged: 12
skill:
strength: 0
prayer: 1
35 changes: 28 additions & 7 deletions data/config/item-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
equipment:
slot: HEAD
helmetType: HAT

- id: 1079
desc: rune platelegs
canTrade: true
Expand All @@ -31,7 +30,6 @@
crush: 47
magic: -4
ranged: 49

- id: 1127
desc: rune platebody
canTrade: true
Expand All @@ -55,7 +53,6 @@
crush: 72
magic: -6
ranged: 80

- id: 1201
desc: rune kiteshield
canTrade: true
Expand All @@ -78,7 +75,6 @@
crush: 46
magic: -1
ranged: 46

- id: 1303
desc: rune longsword
canTrade: true
Expand Down Expand Up @@ -106,7 +102,6 @@
skill:
strength: 49
prayer: 0

- id: 1319
desc: rune 2h sword
canTrade: true
Expand Down Expand Up @@ -134,7 +129,6 @@
skill:
strength: 70
prayer: 0

- id: 1351
desc: bronze axe
canTrade: true
Expand All @@ -161,7 +155,34 @@
skill:
strength: 5
prayer: 0

- id: 1359
desc: rune axe
canTrade: true
questItem: false
weight: 1
alchemy:
high: 7680
low: 5120
equipment:
bonuses:
offencive:
speed: 5
stab: -2
slash: 26
crush: 24
magic: 0
ranged: 0
defencive:
stab: 0
slash: 1
crush: 0
magic: 0
ranged: 0
skill:
strength: 29
prayer: 0
weaponType: ONE_HANDED
slot: MAIN_HAND
- id: 6623
desc: white full helm
canTrade: true
Expand Down
Loading

0 comments on commit 902dc16

Please sign in to comment.