Skip to content

Commit

Permalink
Rebalance construction xp rates (#6156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lajnux authored Oct 31, 2024
1 parent 8d171cf commit 300f046
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 26 deletions.
46 changes: 21 additions & 25 deletions src/lib/skilling/skills/construction/constructables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Constructables: Constructable[] = [
input: [Plank.Plank, 2],
xp: 58,
level: 1,
ticks: 5,
ticks: 6.5,
nails: 2
},
{
Expand All @@ -33,7 +33,7 @@ const Constructables: Constructable[] = [
input: [Plank.Plank, 4],
xp: 115,
level: 4,
ticks: 5,
ticks: 6.5,
nails: 4
},
{
Expand All @@ -42,7 +42,7 @@ const Constructables: Constructable[] = [
input: [Plank.Plank, 3],
xp: 87,
level: 8,
ticks: 5,
ticks: 6.5,
nails: 3
},
{
Expand All @@ -51,7 +51,7 @@ const Constructables: Constructable[] = [
input: [Plank.Plank, 8],
xp: 228,
level: 9,
ticks: 5,
ticks: 6.5,
nails: 8
},
{
Expand All @@ -60,7 +60,7 @@ const Constructables: Constructable[] = [
input: [Plank.Plank, 4],
xp: 115,
level: 10,
ticks: 5,
ticks: 6.5,
nails: 4
},
{
Expand All @@ -69,7 +69,7 @@ const Constructables: Constructable[] = [
input: [Plank.Plank, 3],
xp: 87,
level: 14,
ticks: 5,
ticks: 6.5,
nails: 3
},
{
Expand All @@ -78,124 +78,120 @@ const Constructables: Constructable[] = [
input: [Plank.OakPlank, 2],
xp: 120,
level: 15,
ticks: 5
ticks: 6.5
},
{
id: itemID('Crafting table 1'),
name: 'Crafting table 1',
input: [Plank.OakPlank, 4],
xp: 240,
level: 16,
ticks: 5
ticks: 6.5
},
{
id: itemID('Oak chair'),
name: 'Oak chair',
input: [Plank.OakPlank, 2],
xp: 120,
level: 19,
ticks: 5
ticks: 6.5
},
{
id: itemID('Oak dining table'),
name: 'Oak dining table',
input: [Plank.OakPlank, 4],
xp: 240,
level: 22,
ticks: 5
ticks: 6.5
},
{
id: itemID('Oak armchair'),
name: 'Oak armchair',
input: [Plank.OakPlank, 3],
xp: 180,
level: 26,
ticks: 5
ticks: 6.5
},
{
id: itemID('Carved oak table'),
name: 'Carved oak table',
input: [Plank.OakPlank, 6],
xp: 360,
level: 31,
ticks: 5
ticks: 6.5
},
{
id: itemID('Oak larder'),
name: 'Oak larder',
input: [Plank.OakPlank, 8],
xp: 480,
level: 33,
ticks: 5
ticks: 6
},
{
id: itemID('Teak armchair'),
name: 'Teak armchair',
input: [Plank.TeakPlank, 2],
xp: 180,
level: 35,
ticks: 5
ticks: 6.5
},
{
id: itemID('Teak table'),
name: 'Teak table',
input: [Plank.TeakPlank, 4],
xp: 360,
level: 38,
ticks: 5
ticks: 5.6
},
{
id: 21_913,
name: 'Mythical cape (mounted)',
input: [Plank.TeakPlank, 3],
xp: 370,
level: 47,
ticks: 5
ticks: 5.2
},
{
id: itemID('Mahogany armchair'),
name: 'Mahogany armchair',
input: [Plank.MahoganyPlank, 2],
xp: 280,
level: 50,
ticks: 5
ticks: 6.5
},
{
id: itemID('Mahogany table'),
name: 'Mahogany table',
input: [Plank.MahoganyPlank, 6],
xp: 840,
level: 52,
ticks: 5
ticks: 5.6
},
{
id: itemID('Teak garden bench'),
name: 'Teak garden bench',
input: [Plank.TeakPlank, 6],
xp: 540,
level: 66,
ticks: 5
ticks: 4.6
},
{
id: itemID('Oak door'),
name: 'Oak door',
input: [Plank.OakPlank, 10],
xp: 600,
level: 74,
ticks: 5
ticks: 6.5
},
{
id: itemID('Gnome bench'),
name: 'Gnome bench',
input: [Plank.MahoganyPlank, 6],
xp: 840,
level: 77,
ticks: 5
ticks: 4.6
}
];

for (const obj of Constructables) {
obj.ticks *= 2.6;
}

export default Constructables;
2 changes: 1 addition & 1 deletion src/mahoji/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const buildCommand: OSBMahojiCommand = {
}
}

const timeToBuildSingleObject = object.ticks * 300;
const timeToBuildSingleObject = object.ticks * Time.Second * 0.6;

const [plank, planksQtyCost] = object.input;

Expand Down

0 comments on commit 300f046

Please sign in to comment.