Skip to content

Commit

Permalink
Cartography Skill
Browse files Browse the repository at this point in the history
Added Cartography Skill
This will require the treasure hunting system for the maps to work.
  • Loading branch information
DragonSlayer62 committed Nov 14, 2023
1 parent 2cff133 commit b978e7c
Show file tree
Hide file tree
Showing 19 changed files with 368 additions and 28 deletions.
24 changes: 12 additions & 12 deletions data/dfndata/create/cartography.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -37,44 +37,44 @@ ITEM=2003

[ITEM 2000]
{
NAME=local map n/a
NAME=local map
ID=0x14eb
RESOURCE=0x14eb 1
RESOURCE=MAPS 1
SKILL=12 0 50
ADDITEM=0x14ec
ADDITEM=craftedlocalmap
MINRANK=1
MAXRANK=10
SOUND=0x0249
}
[ITEM 2001]
{
NAME=city map n/a
NAME=city map
ID=0x14eb
RESOURCE=0x14eb 1
RESOURCE=MAPS 1
SKILL=12 40 90
ADDITEM=0x14ec
ADDITEM=craftedcitymap
MINRANK=1
MAXRANK=10
SOUND=0x0249
}
[ITEM 2002]
{
NAME=sea chart n/a
NAME=sea chart
ID=0x14eb
RESOURCE=0x14eb 1
RESOURCE=MAPS 1
SKILL=12 700 1200
ADDITEM=0x14ec
ADDITEM=craftedseachart
MINRANK=1
MAXRANK=10
SOUND=0x0249
}
[ITEM 2003]
{
NAME=world map n/a
NAME=world map
ID=0x14eb
RESOURCE=0x14eb 1
RESOURCE=MAPS 1
SKILL=12 980 1500
ADDITEM=0x14ec
ADDITEM=largeworldmap
MINRANK=1
MAXRANK=10
SOUND=0x0249
Expand Down
7 changes: 7 additions & 0 deletions data/dfndata/create/resources.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,11 @@ ID=0x0c6c
{
ID=0x09b9
ID=0x09ba
}

[RESOURCE MAPS]
{
ID=0x14ec
ID=0x14eb
ID=0x0E34
}
15 changes: 15 additions & 0 deletions data/dfndata/items/skills/tools/cartography.dfn
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[mapmakerspen]
{
Get=base_item
name=Mapmakers Pen
id=0x0fc0
weight=100
value=6 3
restock=20
decay=1
good=56
maxuses=75
usesleft=25
script=4031
script=2200// uses left tooltip
}
18 changes: 7 additions & 11 deletions data/dfndata/items/skills/tools/inscription.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,18 @@ decay=1
good=56
maxuses=75
usesleft=25
script=815
script=2200// uses left tooltip
}

[0x0fbf]
{
Get=base_item
name=pen and ink
id=0x0fbf
weight=100
value=6 3
restock=20
decay=1
good=56
maxuses=75
usesleft=25
script=2200// uses left tooltip
Get=0x0fc0
}

[penandink]
{
Get=0x0fc0 0x0fc0
}

[0x14F0]
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.CSY
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=To není zdroj drahokamů!
12008=Vyberte materiál, který chcete použít:
12009=Přidal jsi do nádoby zámek a klíč!
// 13000 - 13500 Dovednost Kartografie
13000=Nabídka kartografie
13001=Mapy
13002=PRÁZDNÝ SVITEK
13003=MAPA
13004=Prázdné svitky nebo mapy
13100=Lokßlnφ mapa
13101=Mapa města
13102=Mořská mapa
13103=Mapa světa
// 15000 Dovednosti
15000=Alchymie
15001=Anatomie
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.ENG
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=That's not a gem resource!
12008=Select material to use:
12009=You added a lock and key to the container!
// 13000 - 13500 Cartography Crafting Skill
13000=Cartography Menu
13001=Maps
13002=BLANK SCROLL
13003=MAP
13004=Blank Scrolls or Maps
13100=Local Map
13101=City Map
13102=Sea Chart
13103=World Map
// 15000 Skills
15000=Alchemy
15001=Anatomy
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.FRE
Original file line number Diff line number Diff line change
Expand Up @@ -4926,6 +4926,16 @@
12007=Ce n'est pas une ressource en gemmes !
12008=Sélectionnez le matériau à utiliser :
12009=Tu as ajouté une serrure et une clé au conteneur !
// 13000 - 13500 Compétence d'artisanat en cartographie
13000=Menu Cartographie
13001=Cartes
13002=DÉFILEMENT VIERGE
13003=MAP
13004=Parchemins ou cartes vierges
13100=Carte locale
13101=Plan de la ville
13102=Carte maritime
13103=Carte du monde
// 15000 compétences
15000=Alchimie
15001=Anatomie
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.GER
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=Das ist keine Edelstein-Ressource!
12008=Wählen Sie das zu verwendende Material:
12009=Du hast ein Schloss und einen Schlüssel in den Container gelegt!
// 13000 - 13500 Kartografie-Handwerksfertigkeit
13000=Kartografie-Menü
13001=Karten
13002=LEERER SCROLL
13003=KARTE
13004=Leere Schriftrollen oder Karten
13100=Lokale Karte
13101=Stadtplan
13102=Seekarte
13103=Weltkarte
// 15000 Fertigkeiten
15000=Alchemie
15001=Anatomie
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.ITA
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=Questa non è una risorsa di gemme!
12008=Seleziona il materiale da usare:
12009=Hai aggiunto un lucchetto e una chiave al contenitore!
// 13000 - 13500 Abilità di creazione di cartografia
13000=Menu Cartografia
13001=Mappe
13002=SCORRIMENTO VUOTO
13003=MAPPA
13004=Pergamene o mappe vuote
13100=Mappa locale
13101=Mappa della città
13102=Carta del mare
13103=Mappa del mondo
// 15000 Abilità
15000=Alchimia
15001=Anatomia
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.POL
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=To nie jest zasób klejnotów!
12008=Wybierz materiał do użycia:
12009=Dodałeś zamek i klucz do pojemnika!
// 13000 - 13500 Umiejętność tworzenia kartografii
13000=Menu kartografii
13001=Mapy
13002=PUSTE PRZEWIJANIE
13003=MAPA
13004=Puste zwoje lub mapy
13100=Mapa lokalna
13101=Mapa miasta
13102=Mapa morza
13103=Mapa świata
// 15000 Umiejętności
15000=Alchemia
15001=Anatomia
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.PTG
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=Isso não é um recurso precioso!
12008=Selecionar material a utilizar:
12009=Adicionou uma fechadura e uma chave ao recipiente!
// 13000 - 13500 Habilidade de elaboração de cartografia
13000=Menu Cartografia
13001=Mapas
13002=ROLO EM BRANCO
13003=MAPA
13004=Pergaminhos ou Mapas em Branco
13100=Mapa Local
13101=Mapa da Cidade
13102=Carta Marítima
13103=Mapa Mundial
// 15000 Competências
15000=Alchemia
15001=Anatomia
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.SPA
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,16 @@
12007=¡Eso no es un recurso de gemas!
12008=Seleccione el material a utilizar:
12009=¡Ha añadido una cerradura y una llave al contenedor!
// 13000 - 13500 Habilidad de elaboración de cartografía
13000=Menú Cartografía
13001=Mapas
13002=DESPLAZAMIENTO EN BLANCO
13003=MAPA
13004=Pergaminos o mapas en blanco
13100=Mapa local
13101=Mapa de la ciudad
13102=Carta marítima
13103=Mapa mundial
// 15000 Habilidades
15000=Alquimia
15001=Anatomía
Expand Down
10 changes: 10 additions & 0 deletions data/dictionaries/dictionary.ZRO
Original file line number Diff line number Diff line change
Expand Up @@ -4764,6 +4764,16 @@
12007=That's not a gem resource!
12008=Select material to use:
12009=You added a lock and key to the container!
// 13000 - 13500 Cartography Crafting Skill
13000=Cartography Menu
13001=Maps
13002=BLANK SCROLL
13003=MAP
13004=Blank Scrolls or Maps
13100=Local Map
13101=City Map
13102=Sea Chart
13103=World Map
// 15000 Skills
15000=Alchemy
15001=Anatomy
Expand Down
1 change: 1 addition & 0 deletions data/js/jse_fileassociations.scp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
4032=skill/craft/tinkering.js
4033=skill/craft/crafting_complete.js
4034=skill/craft/cooking.js
4035=skill/craft/cartography.js
4050=skill/mining.js
4055=skill/snooping.js

Expand Down
4 changes: 0 additions & 4 deletions data/js/jse_objectassociations.scp
Original file line number Diff line number Diff line change
Expand Up @@ -762,10 +762,6 @@
// Bow Repair Tool
0x10E7=4001

// Inscription Tool
0x0fbf=815
0x0fc0=815

// Cooking Tool
0x1043=4031
0x097f=4031
Expand Down
Loading

0 comments on commit b978e7c

Please sign in to comment.