// 05.05.2001, MoNK: wall sconces

[ITEMDEF i_candle2_craft]
NAME=candle
ID=i_candle2
WEIGHT=5

RESOURCES=2 i_ingot_newgold, 1 i_candle
SKILLMAKE=TINKERING 70.0, t_tinker_tools

On=@Create
	morey = -1
	morez = 1

On=@Dclick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	id = i_candle2_lit_craft
	sfx 0226
	timer = 1800
	update
	return 1

[ITEMDEF i_candle2_lit_craft]
NAME=candle
ID=i_candle2_lit
WEIGHT=5

RESOURCES=2 i_ingot_newgold, i_candle

On=@Timer
	sfx 0226
	remove
	return 1

On=@DClick
	timer = -1
	id = i_candle2_craft
	sfx 0226
	update
	return 1

On=@Pickup_ground
	return 1

[ITEMDEF i_candelabra_craft]
NAME=candelabra
ID=i_candleabra
WEIGHT=10

RESOURCES=3 i_ingot_newgold, 3 i_candle
SKILLMAKE=TINKERING 80.0, t_tinker_tools

On=@Create
	morey = -1
	morez = 1

On=@Dclick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	id = i_candelabra_lit_craft
	sfx 0226
	timer = 1800
	update
	return 1

[ITEMDEF i_candelabra_lit_craft]
NAME=candelabra
ID=i_candleabra_lit
WEIGHT=10

RESOURCES=3 i_ingot_newgold, 3 i_candle

On=@Timer
	sfx 0226
	remove
	return 1

On=@DClick
	timer = -1
	id = i_candelabra_craft
	sfx 0226
	update
	return 1

On=@Pickup_ground
	return 1

[ITEMDEF i_candelabra2_craft]
NAME=candelabra
ID=i_candleabra2
WEIGHT=16

RESOURCES=5 i_ingot_newgold, 3 i_candle
SKILLMAKE=TINKERING 90.0, t_tinker_tools

On=@Create
	morey = -1
	morez = 1

On=@Dclick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	id = i_candelabra2_lit_craft
	sfx 0226
	timer = 1800
	update
	return 1

[ITEMDEF i_candelabra2_lit_craft]
NAME=candelabra2
ID=i_candleabra2_lit
WEIGHT=15

RESOURCES=5 i_ingot_newgold, 3 i_candle

On=@Timer
	sfx 0226
	remove
	return 1

On=@DClick
	timer = -1
	id = i_candelabra2_craft
	sfx 0226
	update
	return 1

On=@Pickup_ground
	return 1

[ITEMDEF i_wallring_left]
NAME=torch ring
ID=0a06
WEIGHT=3

RESOURCES=3 i_ingot_iron
SKILLMAKE=TINKERING 60.0, t_tinker_tools

CATEGORY=Furniture & Outfits
SUBSECTION=Wall Sconces
DESCRIPTION=Torch ring (left)

On=@Dropon_ground
	morep = <p>
	morez = <morez> + 10
	p = <morep>
	morep = 0

On=@DClick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	target Which torch do you want to install?
	return 1

On=@Targon_item
	if <src.targ.baseid>==i_torch
		if <src.targ.attr> & 08010
			src.sysmessage You can't use this <src.targ.name>
		else
			id = i_wall_torch_left
			morez = -1
			update
			if <src.targ.amount>==1
				src.targ.remove
			else
				src.targ.amount = (<src.targ.amount> - 1)
				src.targ.update
			endif
		endif
	else
		src.sysmessage You can't think of a way to use this item
	endif
	return 1

[ITEMDEF i_wall_torch_left]
NAME=wall torch
ID=0a05
WEIGHT=4

RESOURCES=3 i_ingot_iron, 1 i_torch

CATEGORY=Furniture & Outfits
SUBSECTION=Wall Sconces
DESCRIPTION=Wall torch (left)

On=@DClick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	id = i_wall_torch_lit_left
	morez = 8
	sfx 0225
	timer = 3600
	update
	return 1

On=@Dropon_ground
	morep = <p>
	morez = <morez> + 10
	p = <morep>
	morep = 0

[ITEMDEF i_wall_torch_lit_left]
NAME=sconce
ID=0a07
WEIGHT=4

RESOURCES=3 i_ingot_iron, 1 i_torch

CATEGORY=Furniture & Outfits
SUBSECTION=Wall Sconces
DESCRIPTION=Wall torch lit (left)

On=@DClick
	id = i_wall_torch_left
	morez = -1
	sfx 0226
	update
	return 1

On=@Pickup_ground
	return 1

On=@Timer
	id = i_wallring_left
	sfx 0226
	update
	return 1

[ITEMDEF i_wallring_right]
NAME=torch ring
ID=0a0b
WEIGHT=3

RESOURCES=3 i_ingot_iron
SKILLMAKE=TINKERING 60.0, t_tinker_tools

CATEGORY=Furniture & Outfits
SUBSECTION=Wall Sconces
DESCRIPTION=Torch ring (right)

On=@Dropon_ground
	morep = <p>
	morez = <morez> + 10
	p = <morep>
	morep = 0

On=@DClick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	target Which torch do you want to install?
	return 1

On=@Targon_item
	if <src.targ.baseid>==i_torch
		if <src.targ.attr> & 08010
			src.sysmessage You can't use this <src.targ.name>
		else
			id = i_wall_torch_right
			morez = -1
			update
			if <src.targ.amount>==1
				src.targ.remove
			else
				src.targ.amount = (<src.targ.amount> - 1)
				src.targ.update
			endif
		endif
	else
		src.sysmessage You can't think of a way to use this item
	endif
	return 1

[ITEMDEF i_wall_torch_right]
NAME=wall torch
ID=0a0a
WEIGHT=4

RESOURCES=3 i_ingot_iron, 1 i_torch

CATEGORY=Furniture & Outfits
SUBSECTION=Wall Sconces
DESCRIPTION=Wall torch (right)

On=@DClick
	if <cont>
		src.sysmessage You can't use it where it is.
		return 1
	endif
	id = i_wall_torch_lit_right
	morez = 11
	sfx 0225
	timer = 3600
	update
	return 1

On=@Dropon_ground
	morep = <p>
	morez = <morez> + 10
	p = <morep>
	morep = 0

[ITEMDEF i_wall_torch_lit_right]
NAME=wall torch
ID=0a0c
WEIGHT=4

RESOURCES=3 i_ingot_iron, 1 i_torch

CATEGORY=Furniture & Outfits
SUBSECTION=Wall Sconces
DESCRIPTION=Wall torch lit (right)

On=@DClick
	id = i_wall_torch_right
	morez = -1
	sfx 0226
	update
	return 1

On=@Pickup_ground
	return 1

On=@Timer
	id = i_wallring_right
	sfx 0226
	update
	return 1

[ITEMDEF 06606]
DEFNAME=SQUARE_LAMP_POST_DEED
NAME=Square Lamp post deed
ID=i_deed
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 70 i_ingot_iron, 10 i_log, 30 i_reag_sulfur_ash
SKILLMAKE=TINKERING 80.0, CARPENTRY 50.0, ALCHEMY 25.0, t_tinker_tools

On=@Create
	MORE=0b20

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Square Lamp post deed

[ITEMDEF 06607]
DEFNAME=ROUND_LAMP_POST_DEED
NAME=Round Lamp post deed
ID=i_deed
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 70 i_ingot_iron, 10 i_log, 30 i_reag_sulfur_ash
SKILLMAKE=TINKERING 80.0, CARPENTRY 50.0, ALCHEMY 25.0, t_tinker_tools

On=@Create
	MORE=0b22

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Round Lamp post deed

[ITEMDEF 06608]
DEFNAME=FANCY_LAMP_POST_DEED
NAME=Fancy Lamp post deed
ID=i_deed
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 80 i_ingot_iron, 20 i_log, 30 i_reag_sulfur_ash
SKILLMAKE=TINKERING 85.0, CARPENTRY 55.0, ALCHEMY 25.0, t_tinker_tools

On=@Create
	MORE=0b24

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Fancy Lamp post deed

[ITEMDEF 06900]
DEFNAME=TRASH_CAN_DEED
NAME=Trash can deed
ID=i_deed
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 20 i_log, 10 i_ingot_iron
SKILLMAKE=TINKERING 55.0, t_tinker_tools

On=@Create
	MORE=i_trash_barrel

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Trash can deed

[ITEMDEF 06901]
DEFNAME=SMALL_TRASH_CAN_DEED
NAME=Small trash can deed
ID=i_deed
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 16 i_log, 8 i_ingot_iron
SKILLMAKE=TINKERING 55.0, t_tinker_tools

On=@Create
	MORE=i_trash_keg

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Small trash can deed

[ITEMDEF 06902]
DEFNAME=FORGE_DEED
NAME=Forge deed
ID=i_deed
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 50 i_ingot_iron, 20 i_log, 50 i_reag_sulfur_ash
SKILLMAKE=BLACKSMITHING 60.0, CARPENTRY 50.0, ALCHEMY 30.0

On=@Create
	MORE=i_forge

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Forge deed

[ITEMDEF large_forge_deed_n]
NAME=Large Forge Deed[North]
ID=i_deed
//TYPE=0115
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 150 i_ingot_iron, 40 i_log, 50 i_reag_sulfur_ash
SKILLMAKE=BLACKSMITHING 80.0, CARPENTRY 70.0, ALCHEMY 60.0

On=@Create
	MORE=i_multi_large_forge_n

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Forge deed

[ITEMDEF large_forge_deed_e]
NAME=Large Forge Deed[East]
ID=i_deed
//TYPE=0115
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 150 i_ingot_iron, 40 i_log, 50 i_reag_sulfur_ash
SKILLMAKE=BLACKSMITHING 80.0, CARPENTRY 70.0, ALCHEMY 60.0

On=@Create
	MORE=i_multi_large_forge_e

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Forge deed

[ITEMDEF 06903]
DEFNAME=ANVIL_DEED
NAME=Anvil deed
ID=i_deed
//TYPE=0115
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 50 i_ingot_iron, 20 i_log
SKILLMAKE=BLACKSMITHING 60.0, CARPENTRY 50.0

On=@Create
	MORE=i_anvil

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Anvil deed

[ITEMDEF i_trash_barrel]
NAME=Trash can
ID=i_barrel_open
TYPE=t_trash_can
WEIGHT=20.0
VALUE=5000
DYE=1

RESOURCES=1 i_deed, 20 i_log, 10 i_ingot_iron
SKILLMAKE=TINKERING 55.0, t_tinker_tools

[ITEMDEF i_trash_keg]
NAME=Trash can
ID=i_keg_small
WEIGHT=10.0
TYPE=t_trash_can
VALUE=5000
DYE=1

RESOURCES=1 i_deed, 20 i_log, 10 i_ingot_iron
SKILLMAKE=TINKERING 55.0, t_tinker_tools

[ITEMDEF woodworker_bench_deed_n]
NAME=Woodworker's Bench Deed[North]
ID=i_deed
//TYPE=0115
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 10 i_nails, 150 i_log, 5 i_thread
SKILLMAKE=BLACKSMITHING 50.0, CARPENTRY 90.0, TINKERING 60.0

On=@Create
	MORE=i_multi_woodworker_bench_n

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Woodworker deed

[ITEMDEF woodworker_bench_deed_e]
NAME=Woodworker's Bench Deed[East]
ID=i_deed
//TYPE=0115
WEIGHT=1
VALUE=5000

RESOURCES=1 i_deed, 10 i_nails, 150 i_log, 5 i_thread
SKILLMAKE=BLACKSMITHING 50.0, CARPENTRY 90.0, TINKERING 60.0

On=@Create
	MORE=i_multi_woodworker_bench_e

CATEGORY=Furniture & Outfits
SUBSECTION=Item Deeds
DESCRIPTION=Woodworker deed




[EOF]