Explorar el Código

chore[#1722]: Fixed the necro rune shop code to point to fjolgard and removed unused chats, dialogues and zone entries from fjolarok

tags/v0.9.0^2
Shaun hace 3 años
padre
commit
ce171c1384
Se han modificado 3 ficheros con 0 adiciones y 890 borrados
  1. +0
    -23
      src/server/config/maps/fjolarok/chats.js
  2. +0
    -163
      src/server/config/maps/fjolarok/dialogues.js
  3. +0
    -704
      src/server/config/maps/fjolarok/zone.js

+ 0
- 23
src/server/config/maps/fjolarok/chats.js Ver fichero

@@ -1,27 +1,4 @@
module.exports = {
estrid: [{
msg: '*polishes some vials*'
}, {
msg: 'Where did I put that flask?'
}, {
msg: '*coughs*'
}, {
msg: 'Hm...'
}],
priest: [{
msg: 'peace be with you'
}, {
msg: 'walk in the light'
}],
cow: [{
msg: '*moos*'
}],
goat: [{
msg: '*bleats*'
}],
pig: [{
msg: '*oinks*'
}],
hermit: [{
msg: '*strokes his beard*'
}, {


+ 0
- 163
src/server/config/maps/fjolarok/dialogues.js Ver fichero

@@ -106,168 +106,5 @@ module.exports = {
targetName: 'hermit'
}]
}
},
estrid: {
1: {
msg: [{
msg: 'Is there anything I can help you with today?',
options: [1.1, 1.3, 1.4, 1.5]
}],
options: {
1.1: {
msg: 'How long have you been working here?',
goto: 2
},
1.3: {
msg: 'I\'d like to browse your wares.',
goto: 'tradeBuy'
},
1.4: {
msg: 'I have some items to sell',
goto: 'tradeSell'
},
1.5: {
msg: 'I want to buy something back',
goto: 'tradeBuyback'
}
}
},
2: {
msg: 'I haven\'t been working here long, but I was born and raised here by my mother. She ran the shop before me.',
options: {
2.1: {
msg: 'Where is your mother now?',
goto: '2-1'
},
2.2: {
msg: 'I\'d like to ask something else.',
goto: 1
}
}
},
'2-1': {
msg: 'A few months ago, she...took ill. She\'s been bedridden upstairs ever since.',
options: {
'2-1.1': {
msg: 'I\'d like to ask something else.',
goto: 1
}
}
},
tradeBuy: {
cpn: 'trade',
method: 'startBuy',
args: [{
targetName: 'estrid'
}]
},
tradeSell: {
cpn: 'trade',
method: 'startSell',
args: [{
targetName: 'estrid'
}]
},
tradeBuyback: {
cpn: 'trade',
method: 'startBuyback',
args: [{
targetName: 'estrid'
}]
}
},
vikar: {
1: {
msg: [{
msg: 'How may I help you today?',
options: []
}]
}
},
asvald: {
1: {
msg: [{
msg: 'Is there anything I can help you with today?',
options: [1.1, 1.2, 1.3]
}],
options: {
1.1: {
msg: 'I would like to buy some runes',
goto: 'tradeBuy'
},
1.2: {
msg: 'I have some items I would like to sell',
goto: 'tradeSell'
},
1.3: {
msg: 'Could I see the items I sold to you?',
goto: 'tradeBuyback'
}
}
},
tradeBuy: {
cpn: 'trade',
method: 'startBuy',
args: [{
targetName: 'asvald'
}]
},
tradeSell: {
cpn: 'trade',
method: 'startSell',
args: [{
targetName: 'asvald'
}]
},
tradeBuyback: {
cpn: 'trade',
method: 'startBuyback',
args: [{
targetName: 'asvald'
}]
}
},
priest: {
1: {
msg: [{
msg: 'Is there anything I can help you with today?',
options: [1.1, 1.2, 1.3]
}],
options: {
1.1: {
msg: 'I\'d like to browse your wares.',
goto: 'tradeBuy'
},
1.2: {
msg: 'I have some items to sell',
goto: 'tradeSell'
},
1.3: {
msg: 'I want to buy something back',
goto: 'tradeBuyback'
}
}
},
tradeBuy: {
cpn: 'trade',
method: 'startBuy',
args: [{
targetName: 'priest'
}]
},
tradeSell: {
cpn: 'trade',
method: 'startSell',
args: [{
targetName: 'priest'
}]
},
tradeBuyback: {
cpn: 'trade',
method: 'startBuyback',
args: [{
targetName: 'priest'
}]
}
}
};

+ 0
- 704
src/server/config/maps/fjolarok/zone.js Ver fichero

@@ -18,506 +18,12 @@ module.exports = {
type: 'fish',
quantity: [6, 12]
},
shopestrid: {
properties: {
cpnNotice: {
actions: {
enter: {
cpn: 'dialogue',
method: 'talk',
args: [{
targetName: 'estrid'
}]
},
exit: {
cpn: 'dialogue',
method: 'stopTalk'
}
}
}
}
},
shophermit: {
properties: {
cpnNotice: {
actions: {
enter: {
cpn: 'dialogue',
method: 'talk',
args: [{
targetName: 'hermit'
}]
},
exit: {
cpn: 'dialogue',
method: 'stopTalk'
}
}
}
}
},
shopvikar: {
properties: {
cpnNotice: {
actions: {
enter: {
cpn: 'dialogue',
method: 'talk',
args: [{
targetName: 'vikar'
}]
},
exit: {
cpn: 'dialogue',
method: 'stopTalk'
}
}
}
}
},
shopasvald: {
properties: {
cpnNotice: {
actions: {
enter: {
cpn: 'dialogue',
method: 'talk',
args: [{
targetName: 'asvald'
}]
},
exit: {
cpn: 'dialogue',
method: 'stopTalk'
}
}
}
}
},
shoppriest: {
properties: {
cpnNotice: {
actions: {
enter: {
cpn: 'dialogue',
method: 'talk',
args: [{
targetName: 'priest'
}]
},
exit: {
cpn: 'dialogue',
method: 'stopTalk'
}
}
}
}
},
gas: {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['c0c3cf', '80f643'],
end: ['386646', '69696e']
},
scale: {
start: {
min: 18,
max: 64
},
end: {
min: 8,
max: 24
}
},
speed: {
start: {
min: 2,
max: 6
},
end: {
min: 0,
max: 4
}
},
lifetime: {
min: 4,
max: 24
},
alpha: {
start: 0.05,
end: 0
},
randomScale: true,
randomSpeed: true,
chance: 0.02,
randomColor: true,
spawnType: 'rect',
blendMode: 'screen',
spawnRect: {
x: -80,
y: -80,
w: 160,
h: 160
}
}
};
}
}
}
},
greencandle: {
components: {
cpnLight: {
simplify: function () {
return {
type: 'light',
blueprint: {
color: {
start: ['80f643'],
end: ['4ac441', '51fc9a', 'd07840']
},
lifetime: {
min: 2,
max: 6
}
}
};
}
}
}
},
fountain: {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['48edff', '3fa7dd'],
end: ['3a71ba', '42548d']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 2,
max: 5
},
randomScale: true,
randomSpeed: true,
chance: 0.8,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -10,
y: -21,
w: 20,
h: 8
}
}
};
}
}
}
},
alchgreenpot: {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['80f643', '80f643'],
end: ['4ac441', '4ac441']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 1,
max: 4
},
randomScale: true,
randomSpeed: true,
chance: 0.1,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -15,
y: -20,
w: 30,
h: 8
}
}
};
}
}
}
},
alchredpot: {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['ff4252', 'ff4252'],
end: ['a82841', 'a82841']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 1,
max: 4
},
randomScale: true,
randomSpeed: true,
chance: 0.2,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -15,
y: -28,
w: 30,
h: 8
}
}
};
}
}
}
},
'alchemy workbench': {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['ff4252', 'ff4252'],
end: ['a82841', 'a82841']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 1,
max: 4
},
randomScale: true,
randomSpeed: true,
chance: 0.2,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -15,
y: -28,
w: 30,
h: 8
}
}
};
}
},
cpnWorkbench: {
type: 'alchemy'
}
}
},
etchbench: {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['ff4252', 'ff4252'],
end: ['a82841', 'a82841']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 1,
max: 4
},
randomScale: true,
randomSpeed: true,
chance: 0.2,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -15,
y: -28,
w: 30,
h: 8
}
}
};
}
},
cpnWorkbench: {
type: 'etching'
}
}
},
fireplace: {
components: {
cpnWorkbench: {
type: 'cooking'
}
}
},
'enchanting shrine': {
components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['48edff', 'fc66f7'],
end: ['393268', '42548d']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 1,
max: 4
},
randomScale: true,
randomSpeed: true,
chance: 0.2,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -15,
y: -28,
w: 30,
h: 8
}
}
};
}
},
cpnWorkbench: {
type: 'enchanting'
}
}
}
},
mobs: {
@@ -645,15 +151,6 @@ module.exports = {
name: 'The Pincer King'
}
},
'mud crab': {
level: 9
},
frog: {
level: 8,
rare: {
name: 'The Muck Prince'
}
},
eagle: {
level: 10,
regular: {
@@ -727,147 +224,6 @@ module.exports = {
}
}
},
guard: {
level: 20,
attackable: false,

walkDistance: 0,

rare: {
count: 0
}
},
estrid: {
level: 15,
attackable: false,
walkDistance: 5,

rare: {
count: 0
},

properties: {
cpnTrade: {
items: {
min: 0,
max: 0,
extra: [{
name: 'Empty Vial',
material: true,
sprite: [0, 9],
worth: 10,
infinite: true
}]
},
faction: {
id: 'fjolgard',
tier: 5
},
markup: {
buy: 0.25,
sell: 2.5
}
}
}
},
vikar: {
level: 15,
walkDistance: 0,
attackable: false,
rare: {
count: 0
}
},
luta: {
level: 15,
walkDistance: 0,
attackable: false,
rare: {
count: 0
}
},
asvald: {
level: 15,
walkDistance: 0,
attackable: false,
rare: {
count: 0
},

properties: {
cpnTrade: {
items: {
min: 0,
max: 0,
extra: [{
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'magic missile',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'ice spear',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'smite',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'consecrate',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'slash',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'charge',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'flurry',
worth: 3
}, {
generate: true,
spell: true,
quality: 0,
infinite: true,
spellName: 'smokebomb',
worth: 3
}]
},
faction: {
id: 'fjolgard',
tier: 5
},
markup: {
buy: 0.25,
sell: 10
}
}
}
},
rodriguez: {
attackable: false,
level: 10,
@@ -896,66 +252,6 @@ module.exports = {
count: 0
}
},
priest: {
level: 20,
attackable: false,
walkDistance: 0,
rare: {
count: 0
},

properties: {
cpnTrade: {
items: {
min: 5,
max: 10,
extra: [{
type: 'skin',
skinId: 'gaekatlan-druid',
worth: 100,
factions: [{
id: 'gaekatla',
tier: 7
}]
}, {
worth: 100,
infinite: true,
generate: true,
name: 'Cowl of Obscurity',
level: [4, 13],
quality: 4,
noSpell: true,
slot: 'head',
sprite: [2, 0],
spritesheet: '../../../images/legendaryItems.png',
type: 'Silk Cowl',
description: 'Imbued with the powers of Gaekatla herself.',
stats: ['hpMax', 'hpMax', 'int', 'int'],
effects: [{
type: 'healOnCrit',
rolls: {
i_chance: [20, 60],
i_percentage: [3, 7]
}
}],
factions: [{
id: 'gaekatla',
tier: 7
}]
}]
},
faction: {
id: 'gaekatla',
tier: 5
},
markup: {
buy: 0.25,
sell: 10
}
}
}
},

sundfehr: {
level: 9,
walkDistance: 0,


Cargando…
Cancelar
Guardar