Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 108 additions & 12 deletions data/dfndata/create/glassblowing.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
NAME=Empty Bottle
ID=0x0f0e
RESOURCE=SAND 1
RESOURCE=SAND 1 0x96d
SKILL=0 1000 1150
ADDITEM=emptybottle
MINRANK=1
Expand All @@ -14,7 +14,7 @@ SOUND=0x0242
{
NAME=flask (small)
ID=0x182e
RESOURCE=SAND 2
RESOURCE=SAND 2 0x96d
SKILL=0 1000 1150
ADDITEM=0x182e
MINRANK=1
Expand All @@ -26,7 +26,7 @@ SOUND=0x0242
{
NAME=flask (medium)
ID=0x182a
RESOURCE=SAND 3
RESOURCE=SAND 3 0x96d
SKILL=0 1000 1150
ADDITEM=0x182a
MINRANK=1
Expand All @@ -38,7 +38,7 @@ SOUND=0x0242
{
NAME=flask (curved)
ID=0x1832
RESOURCE=SAND 3
RESOURCE=SAND 3 0x96d
SKILL=0 1000 1150
ADDITEM=0x1832
MINRANK=1
Expand All @@ -50,7 +50,7 @@ SOUND=0x0242
{
NAME=flask (large #1)
ID=0x1838
RESOURCE=SAND 4
RESOURCE=SAND 4 0x96d
SKILL=0 1000 1150
ADDITEM=0x1838
MINRANK=1
Expand All @@ -62,7 +62,7 @@ SOUND=0x0242
{
NAME=flask (large #2)
ID=0x183b
RESOURCE=SAND 5
RESOURCE=SAND 5 0x96d
SKILL=0 1000 1150
ADDITEM=0x183b
MINRANK=1
Expand All @@ -74,7 +74,7 @@ SOUND=0x0242
{
NAME=flask (bubbling blue)
ID=0x1844
RESOURCE=SAND 5
RESOURCE=SAND 5 0x96d
SKILL=0 1000 1150
ADDITEM=bubblingblueflask
MINRANK=1
Expand All @@ -86,7 +86,7 @@ SOUND=0x0242
{
NAME=flask (bubbling purple)
ID=0x1841
RESOURCE=SAND 5
RESOURCE=SAND 5 0x96d
SKILL=0 1000 1150
ADDITEM=bubblingpurpleflask
MINRANK=1
Expand All @@ -98,7 +98,7 @@ SOUND=0x0242
{
NAME=flask (bubbling red)
ID=0x183e
RESOURCE=SAND 7
RESOURCE=SAND 7 0x96d
SKILL=0 1000 1150
ADDITEM=bubblingredflask
MINRANK=1
Expand All @@ -110,7 +110,7 @@ SOUND=0x0242
{
NAME=empty vials
ID=0x185b
RESOURCE=SAND 8
RESOURCE=SAND 8 0x96d
SKILL=0 1000 1150
ADDITEM=emptyvials
MINRANK=1
Expand All @@ -122,7 +122,7 @@ SOUND=0x0242
{
NAME=full vials
ID=0x185d
RESOURCE=SAND 8
RESOURCE=SAND 8 0x96d
SKILL=0 1000 1150
ADDITEM=fullvials
MINRANK=1
Expand All @@ -134,10 +134,106 @@ SOUND=0x0242
{
NAME=spinning hourglass
ID=0x1810
RESOURCE=SAND 10
RESOURCE=SAND 10 0x96d
SKILL=0 1000 1150
ADDITEM=0x1810
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3012]
{
NAME=hollow prism
ID=0x2f5d
RESOURCE=SAND 8 0x96d
SKILL=0 1000 1500
ADDITEM=hollowprism
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3013]
{
NAME=gargoyle floor mirror
ID=0x403A
RESOURCE=SAND 20 0x96d
SKILL=0 750 1250
ADDITEM=gargoylefloormirror
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3014]
{
NAME=gargoyle wall mirror
ID=0x4044
RESOURCE=SAND 10 0x96d
SKILL=0 700 1200
ADDITEM=gargoylewallmirror
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3015]
{
NAME=empty venom vial
ID=0x0E24
RESOURCE=SAND 1 0x96d
SKILL=0 520 1000
ADDITEM=emptyvenomvial
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3016]
{
NAME=empty oil flask
ID=0x1C18
RESOURCE=SAND 5 0x96d
SKILL=0 600 1100
ADDITEM=emptyoilflask
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3017]
{
NAME=workable glass
ID=0x4B80
RESOURCE=SAND 10 0x96d
SKILL=0 550 1050
ADDITEM=workableglass
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3018]
{
NAME=glass sword
ID=0x090c
RESOURCE=SAND 14 0x96d
SKILL=0 550 1050
ADDITEM=glasssword
MINRANK=1
MAXRANK=10
SOUND=0x0242
}

[ITEM 3019]
{
NAME=glass staff
ID=0x0905
RESOURCE=SAND 10 0x96d
SKILL=0 530 1030
ADDITEM=glassstaff
MINRANK=1
MAXRANK=10
SOUND=0x0242
}
101 changes: 101 additions & 0 deletions data/dfndata/items/skills/tools/alchemy.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -789,4 +789,105 @@ decay=1
value=10637 5318
origin=lbr
script=5054
}

[0x2f5d]
{
get=base_item
name=hollow prism
id=0x2f5d
weight=100
restock=20
movable=1
decay=1
good=51
}

[hollowprism]
{
get=0x2f5d
}

[0x403a]
{
get=base_item
name=Gargoyle Floor Mirror
id=0x403a
weight=1000
restock=20
movable=1
decay=1
good=51
}

[0x4046]
{
get=0x403a
id=0x4046
}

[gargoylefloormirror]
{
get=0x403a 0x4046
}

[0x4044]
{
get=base_item
name=Gargoyle Wall Mirror
id=0x4044
weight=1000
restock=20
movable=1
decay=1
good=51
}

[0x4045]
{
get=0x4044
id=0x4045
}

[gargoylewallmirror]
{
get=0x4044 0x4045
}

[emptyvenomvial]
{
get=base_item
name=Empty Venom Vial
id=0x0E24
weight=100
restock=20
movable=1
decay=1
good=51
}

[emptyoilflask]
{
get=base_item
name=empty oil flask
id=0x1C18
weight=100
restock=20
pilable=1
movable=1
decay=1
good=51
}

[workableglass]
{
get=base_item
name=workable glass
id=0x4B80
weight=100
restock=20
pilable=1
movable=1
decay=1
good=51
}
8 changes: 4 additions & 4 deletions data/js/item/glassblowingbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ function onUseChecked( pUser, iUsed )
}
else if( pUser.skills[0] < 1000 )
{
socket.SysMessage( GetDictionaryEntry( 6301, socket.Language ) ); // Only a Grandmaster Alchemist can learn from this book.
socket.SysMessage( GetDictionaryEntry( 6301, socket.language )); // Only a Grandmaster Alchemist can learn from this book.
}
else if( pUser.GetTag( "GlassBlowing" ) == 1 )
{
socket.SysMessage( GetDictionaryEntry( 6302, socket.Language ) ); // You have already learned this information.
socket.SysMessage( GetDictionaryEntry( 6302, socket.language )); // You have already learned this information.
}
else if( iUsed.movable == 2 || iUsed.movable == 3 )
{
socket.SysMessage( GetDictionaryEntry( 774, socket.Language )); //That is locked down and you cannot use it
socket.SysMessage( GetDictionaryEntry( 774, socket.language )); //That is locked down and you cannot use it
}
else
{
pUser.SetTag( "GlassBlowing", 1 );
socket.SysMessage( GetDictionaryEntry( 6303, socket.Language )); // You have learned to mine for stones. Target mountains when mining to find stones.
socket.SysMessage( GetDictionaryEntry( 6303, socket.language )); // You have learned to make items from glass. You will need to find miners to mine fine
iUsed.Delete();
}
}
Expand Down
2 changes: 1 addition & 1 deletion data/js/item/sandminingbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function onUseChecked( pUser, iUsed )
}
else if( iUsed.movable == 2 || iUsed.movable == 3 )
{
pSocket.SysMessage( GetDictionaryEntry( 774, pSocket.Language )); //That is locked down and you cannot use it
pSocket.SysMessage( GetDictionaryEntry( 774, pSocket.language )); //That is locked down and you cannot use it
}
else
{
Expand Down
Loading