//#########################################
// CSD UO Magic weapons
// Accurate, Surprassingly, Eminently, Exceedingly, Supremely
//#########################################

// 28.10.2001, MoNK: syntax errors
// 20.10.2001, MoNK: syntax errors
// 28.08.2001, MoNK: f_damage_spear
// 16.05.2001, MoNK: fixes for self hiting, f_damage_waraxe, f_damage_xbow
// 25.04.2001, MoNK: file created

VERSION=0.54

[FUNCTION f_click_Accurate]
	if <morey>==0
		message Accurate <name>
	elseif <morey>==7.0
		message Accurate <name> of Ruin
	elseif <morey>==21.0
		message Accurate <name> of Might
	elseif <morey>==35.0
		message Accurate <name> of Force
	elseif <morey>==49.0
		message Accurate <name> of Power
	elseif <morey>==63.0
		message Accurate <name> of Vanquishing
	elseif <morey>==77.0
		message Accurate <name> of Order
	elseif <morey>==91.0
		message Accurate <name> of Chaos
	else
		attr = <attr> & ~attr_magic
		morey = 0
		message Accurate <name>
	endif
	return 1

[FUNCTION f_click_surprassingly]
	if <morey>==0
		message Surprassingly Accurate <name>
	elseif <morey>==7.0
		message Surprassingly Accurate <name> of Ruin
	elseif <morey>==21.0
		message Surprassingly Accurate <name> of Might
	elseif <morey>==35.0
		message Surprassingly Accurate <name> of Force
	elseif <morey>==49.0
		message Surprassingly Accurate <name> of Power
	elseif <morey>==63.0
		message Surprassingly Accurate <name> of Vanquishing
	elseif <morey>==77.0
		message Surprassingly Accurate <name> of Order
	elseif <morey>==91.0
		message Surprassingly Accurate <name> of Chaos
	else
		attr = <attr> & ~attr_magic
		morey = 0
		message Surprassingly Accurate <name>
	endif
	return 1

[FUNCTION f_click_eminently]
	if <morey>==0
		message Eminently Accurate <name>
	elseif <morey>==7.0
		message Eminently Accurate <name> of Ruin
	elseif <morey>==21.0
		message Eminently Accurate <name> of Might
	elseif <morey>==35.0
		message Eminently Accurate <name> of Force
	elseif <morey>==49.0
		message Eminently Accurate <name> of Power
	elseif <morey>==63.0
		message Eminently Accurate <name> of Vanquishing
	elseif <morey>==77.0
		message Eminently Accurate <name> of Order
	elseif <morey>==91.0
		message Eminently Accurate <name> of Chaos
	else
		attr = <attr> & ~attr_magic
		morey = 0
		message Eminently Accurate <name>
	endif
	return 1

[FUNCTION f_click_exceedingly]
	if <morey>==0
		message Exceedingly Accurate <name>
	elseif <morey>==7.0
		message Exceedingly Accurate <name> of Ruin
	elseif <morey>==21.0
		message Exceedingly Accurate <name> of Might
	elseif <morey>==35.0
		message Exceedingly Accurate <name> of Force
	elseif <morey>==49.0
		message Exceedingly Accurate <name> of Power
	elseif <morey>==63.0
		message Exceedingly Accurate <name> of Vanquishing
	elseif <morey>==77.0
		message Exceedingly Accurate <name> of Order
	elseif <morey>==91.0
		message Exceedingly Accurate <name> of Chaos
	else
		attr = <attr> & ~attr_magic
		morey = 0
		message Exceedingly Accurate <name>
	endif
	return 1

[FUNCTION f_click_supremely]
	if <morey>==0
		message Supremely Accurate <name>
	elseif <morey>==7.0
		message Supremely Accurate <name> of Ruin
	elseif <morey>==21.0
		message Supremely Accurate <name> of Might
	elseif <morey>==35.0
		message Supremely Accurate <name> of Force
	elseif <morey>==49.0
		message Supremely Accurate <name> of Power
	elseif <morey>==63.0
		message Supremely Accurate <name> of Vanquishing
	elseif <morey>==77.0
		message Supremely Accurate <name> of Order
	elseif <morey>==91.0
		message Supremely Accurate <name> of Chaos
	else
		attr = <attr> & ~attr_magic
		morey = 0
		message Supremely Accurate <name>
	endif
	return 1

[FUNCTION f_eq_sword]
	src.swordsmanship = (<src.swordsmanship> + <argn>)
	return 1

[FUNCTION f_eq_sword_5]
	src.swordsmanship = (<src.swordsmanship> + <argn>)
	src.tactics = (<src.tactics> + 5.0)
	return 1

[FUNCTION f_eq_sword_10]
	src.swordsmanship = (<src.swordsmanship> + <argn>)
	src.tactics = (<src.tactics> + 10.0)
	return 1

[FUNCTION f_uneq_sword]
	src.swordsmanship = (<src.swordsmanship> - <argn>)
	return 1

[FUNCTION f_uneq_sword_5]
	src.swordsmanship = (<src.swordsmanship> - <argn>)
	src.tactics = (<src.tactics> - 5.0)
	return 1

[FUNCTION f_uneq_sword_10]
	src.swordsmanship = (<src.swordsmanship> - <argn>)
	src.tactics = (<src.tactics> - 10.0)
	return 1

[FUNCTION f_eq_mace]
	src.macefighting = (<src.macefighting> + <argn>)
	return 1

[FUNCTION f_eq_mace_5]
	src.macefighting = (<src.macefighting> + <argn>)
	src.tactics = (<src.tactics> + 5.0)
	return 1

[FUNCTION f_eq_mace_10]
	src.macefighting = (<src.macefighting> + <argn>)
	src.tactics = (<src.tactics> + 10.0)
	return 1

[FUNCTION f_uneq_mace]
	src.macefighting = (<src.macefighting> - <argn>)
	return 1

[FUNCTION f_uneq_mace_5]
	src.macefighting = (<src.macefighting> - <argn>)
	src.tactics = (<src.tactics> - 5.0)
	return 1

[FUNCTION f_uneq_mace_10]
	src.macefighting = (<src.macefighting> - <argn>)
	src.tactics = (<src.tactics> - 10.0)
	return 1

[FUNCTION f_eq_fencing]
	src.fencing = (<src.fencing> + <argn>)
	return 1

[FUNCTION f_eq_fencing_5]
	src.fencing = (<src.fencing> + <argn>)
	src.tactics = (<src.tactics> + 5.0)
	return 1

[FUNCTION f_eq_fencing_10]
	src.fencing = (<src.fencing> + <argn>)
	src.tactics = (<src.tactics> + 10.0)
	return 1

[FUNCTION f_uneq_fencing]
	src.fencing = (<src.fencing> - <argn>)
	return 1

[FUNCTION f_uneq_fencing_5]
	src.fencing = (<src.fencing> - <argn>)
	src.tactics = (<src.tactics> - 5.0)
	return 1

[FUNCTION f_uneq_fencing_10]
	src.fencing = (<src.fencing> - <argn>)
	src.tactics = (<src.tactics> - 10.0)
	return 1

[FUNCTION f_eq_archery]
	src.archery = (<src.archery> + <argn>)
	return 1

[FUNCTION f_eq_archery_5]
	src.archery = (<src.archery> + <argn>)
	src.tactics = (<src.tactics> + 5.0)
	return 1

[FUNCTION f_eq_archery_10]
	src.archery = (<src.archery> + <argn>)
	src.tactics = (<src.tactics> + 10.0)
	return 1

[FUNCTION f_uneq_archery]
	src.archery = (<src.archery> - <argn>)
	return 1

[FUNCTION f_uneq_archery_5]
	src.archery = (<src.archery> - <argn>)
	src.tactics = (<src.tactics> - 5.0)
	return 1

[FUNCTION f_uneq_archery_10]
	src.archery = (<src.archery> - <argn>)
	src.tactics = (<src.tactics> - 10.0)
	return 1

//==========================================
// Accurate weapons
//==========================================

[ITEMDEF i_katana_acc]
NAME=Katana
ID=i_katana

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Katana

On=@Create
	hitpoints = { 10 20 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 3d8+2
	more2 = 5 + (3 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_cutlass_acc]
NAME=Cutlass
ID=i_cutlass

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Cutlass

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d12+4
	more2 = 6 + (2 * rand(12))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_scimitar_acc]
NAME=Scimitar
ID=i_scimitar

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Scimitar

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d14+2
	more2 = 4 + (2 * rand(14))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_broad_acc]
NAME=Broad sword
ID=i_sword_broad

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Broad sword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d13+3
	more2 = 5 + (2 * rand(13))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_long_acc]
NAME=Longsword
ID=i_sword_long

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Longsword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d15+3
	more2 = 5 + (2 * rand(15))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_viking_acc]
NAME=Viking sword
ID=i_sword_viking

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Viking sword

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 4d8+2
	more2 = 6 + (4 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_halberd_acc]
NAME=Halberd
ID=i_halberd

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Halberd

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d23+3
	more2 = 5 + (2 * rand(23))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_bardiche_acc]
NAME=Bardiche
ID=i_bardiche

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Bardiche

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d20+3
	more2 = 5 + (2 * rand(20))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_axe_acc]
NAME=Axe
ID=i_axe

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_double_acc]
NAME=Double Axe
ID=i_axe_double

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Double Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 1d31+4
	more2 = 5 + (1 * rand(31))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_exec_acc]
NAME=Executioner's Axe
ID=i_axe_exec

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Executioner's Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_two_hand_acc]
NAME=Two-handed Axe
ID=i_axe_two_hand

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Two-handed Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d18+3
	more2 = 5 + (2 * rand(18))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_acc]
NAME=Battle Axe
ID=i_axe_battle

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_large_acc]
NAME=Large Battle Axe
ID=i_axe_battle_large

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Large Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_sword 5.0

On=@Unequip
	f_uneq_sword 5.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_war_acc]
NAME=War Axe
ID=i_axe_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate War Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_mace 5.0

On=@Unequip
	f_uneq_mace 5.0

On=@Damage	// 6d4+3
	more2 = 9 + (6 * rand(4))
	f_damage_waraxe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_mace_acc]
NAME=Mace
ID=i_mace

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 5.0

On=@Unequip
	f_uneq_mace 5.0

On=@Damage	// 6d5+2
	more2 = 8 + (6 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_mace_war_acc]
NAME=War Mace
ID=i_mace_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate War Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 5.0

On=@Unequip
	f_uneq_mace 5.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammerpick_acc]
NAME=Hammerpick
ID=i_hammer_pick

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Hammerpick

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 5.0

On=@Unequip
	f_uneq_mace 5.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammer_war_acc]
NAME=War Hammer
ID=i_hammer_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate War Hammer

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 5.0

On=@Unequip
	f_uneq_mace 5.0

On=@Damage	// 7d5+1
	more2 = 8 + (7 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_maul_acc]
NAME=Maul
ID=i_maul

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Maul

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 5.0

On=@Unequip
	f_uneq_mace 5.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_spear_acc]
NAME=Spear
ID=i_spear

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_fencing 5.0

On=@Unequip
	f_uneq_fencing 5.0

On=@Damage	// 2d18+0
	more2 = 2 + (2 * rand(18))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_spear_short_acc]
NAME=Short Spear
ID=i_spear_short

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Short Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_fencing 5.0

On=@Unequip
	f_uneq_fencing 5.0

On=@Damage	// 2d15+2
	more2 = 4 + (2 * rand(15))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_war_fork_acc]
NAME=War Fork
ID=i_war_fork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate War Fork

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_fencing 5.0

On=@Unequip
	f_uneq_fencing 5.0

On=@Damage	// 1d29+3
	more2 = 4 + (1 * rand(29))
	f_damage_fencing
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_pitchfork_acc]
NAME=Pitchfork
ID=i_pitchfork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Pitchfork

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_fencing 5.0

On=@Unequip
	f_uneq_fencing 5.0

On=@Damage	// 4d4+0
	more2 = 4 + (4 * rand(4))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_kryss_acc]
NAME=Kryss
ID=i_kryss

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Kryss

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_fencing 5.0

On=@Unequip
	f_uneq_fencing 5.0

On=@Damage	// 1d26+2
	more2 = 3 + (1 * rand(26))
	f_damage_fencing
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_bow_acc]
NAME=Bow
ID=i_bow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Bow

On=@Create
	hitpoints = { 31 60 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_archery 5.0

On=@Unequip
	f_uneq_archery 5.0

On=@Damage	// 4d9+5
	more2 = 9 + (4 * rand(9))
	f_damage_bow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_acc]
NAME=Crossbow
ID=i_crossbow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Crossbow

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_archery 5.0

On=@Unequip
	f_uneq_archery 5.0

On=@Damage	// 5d8+3
	more2 = 8 + (5 * rand(8))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_heavy_acc]
NAME=Heavy Crossbow
ID=i_crossbow_heavy

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Accurate Weapons
DESCRIPTION=Accurate Heavy Crossbow

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_accurate
		return 1
	endif

On=@Equip
	f_eq_archery 5.0

On=@Unequip
	f_uneq_archery 5.0

On=@Damage	// 5d10+6
	more2 = 11 + (5 * rand(10))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

//==========================================
// Surprassingly weapons
//==========================================

[ITEMDEF i_katana_sur]
NAME=Katana
ID=i_katana

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Katana

On=@Create
	hitpoints = { 10 20 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 3d8+2
	more2 = 5 + (3 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_cutlass_sur]
NAME=Cutlass
ID=i_cutlass

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Cutlass

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d12+4
	more2 = 6 + (2 * rand(12))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_scimitar_sur]
NAME=Scimitar
ID=i_scimitar

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Scimitar

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d14+2
	more2 = 4 + (2 * rand(14))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_broad_sur]
NAME=Broad sword
ID=i_sword_broad

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Broad sword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d13+3
	more2 = 5 + (2 * rand(13))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_long_sur]
NAME=Longsword
ID=i_sword_long

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Longsword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d15+3
	more2 = 5 + (2 * rand(15))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_viking_sur]
NAME=Viking sword
ID=i_sword_viking

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Viking sword

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 4d8+2
	more2 = 6 + (4 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_halberd_sur]
NAME=Halberd
ID=i_halberd

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Halberd

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d23+3
	more2 = 5 + (2 * rand(23))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_bardiche_sur]
NAME=Bardiche
ID=i_bardiche

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Bardiche

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d20+3
	more2 = 5 + (2 * rand(20))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_axe_sur]
NAME=Axe
ID=i_axe

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_double_sur]
NAME=Double Axe
ID=i_axe_double

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Double Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 1d31+4
	more2 = 5 + (1 * rand(31))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_exec_sur]
NAME=Executioner's Axe
ID=i_axe_exec

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Executioner's Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_two_hand_sur]
NAME=Two-handed Axe
ID=i_axe_two_hand

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Two-handed Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d18+3
	more2 = 5 + (2 * rand(18))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_sur]
NAME=Battle Axe
ID=i_axe_battle

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_large_sur]
NAME=Large Battle Axe
ID=i_axe_battle_large

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Large Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_sword 10.0

On=@Unequip
	f_uneq_sword 10.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_war_sur]
NAME=War Axe
ID=i_axe_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly War Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_mace 10.0

On=@Unequip
	f_uneq_mace 10.0

On=@Damage	// 6d4+3
	more2 = 9 + (6 * rand(4))
	f_damage_waraxe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_mace_sur]
NAME=Mace
ID=i_mace

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 10.0

On=@Unequip
	f_uneq_mace 10.0

On=@Damage	// 6d5+2
	more2 = 8 + (6 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_mace_war_sur]
NAME=War Mace
ID=i_mace_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly War Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 10.0

On=@Unequip
	f_uneq_mace 10.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammerpick_sur]
NAME=Hammerpick
ID=i_hammer_pick

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Hammerpick

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 10.0

On=@Unequip
	f_uneq_mace 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammer_war_sur]
NAME=War Hammer
ID=i_hammer_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly War Hammer

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 10.0

On=@Unequip
	f_uneq_mace 10.0

On=@Damage	// 7d5+1
	more2 = 8 + (7 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_maul_sur]
NAME=Maul
ID=i_maul

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Maul

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace 10.0

On=@Unequip
	f_uneq_mace 10.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_spear_sur]
NAME=Spear
ID=i_spear

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_fencing 10.0

On=@Unequip
	f_uneq_fencing 10.0

On=@Damage	// 2d18+0
	more2 = 2 + (2 * rand(18))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_spear_short_sur]
NAME=Short Spear
ID=i_spear_short

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Short Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_fencing 10.0

On=@Unequip
	f_uneq_fencing 10.0

On=@Damage	// 2d15+2
	more2 = 4 + (2 * rand(15))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_war_fork_sur]
NAME=War Fork
ID=i_war_fork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly War Fork

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_fencing 10.0

On=@Unequip
	f_uneq_fencing 10.0

On=@Damage	// 1d29+3
	more2 = 4 + (1 * rand(29))
	f_damage_fencing
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_pitchfork_sur]
NAME=Pitchfork
ID=i_pitchfork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Pitchfork

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_fencing 10.0

On=@Unequip
	f_uneq_fencing 10.0

On=@Damage	// 4d4+0
	more2 = 4 + (4 * rand(4))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_kryss_sur]
NAME=Kryss
ID=i_kryss

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Kryss

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_fencing 10.0

On=@Unequip
	f_uneq_fencing 10.0

On=@Damage	// 1d26+2
	more2 = 3 + (1 * rand(26))
	f_damage_fencing
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_bow_sur]
NAME=Bow
ID=i_bow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Bow

On=@Create
	hitpoints = { 31 60 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_archery 10.0

On=@Unequip
	f_uneq_archery 10.0

On=@Damage	// 4d9+5
	more2 = 9 + (4 * rand(9))
	f_damage_bow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_sur]
NAME=Crossbow
ID=i_crossbow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Crossbow

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_archery 10.0

On=@Unequip
	f_uneq_archery 10.0

On=@Damage	// 5d8+3
	more2 = 8 + (5 * rand(8))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_heavy_sur]
NAME=Heavy Crossbow
ID=i_crossbow_heavy

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Surprassingly Weapons
DESCRIPTION=Surprassingly Heavy Crossbow

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_surprassingly
		return 1
	endif

On=@Equip
	f_eq_archery 10.0

On=@Unequip
	f_uneq_archery 10.0

On=@Damage	// 5d10+6
	more2 = 11 + (5 * rand(10))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

//==========================================
// Eminently weapons
//==========================================

[ITEMDEF i_katana_emi]
NAME=Katana
ID=i_katana

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Katana

On=@Create
	hitpoints = { 10 20 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 3d8+2
	more2 = 5 + (3 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_cutlass_emi]
NAME=Cutlass
ID=i_cutlass

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Cutlass

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d12+4
	more2 = 6 + (2 * rand(12))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_scimitar_emi]
NAME=Scimitar
ID=i_scimitar

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Scimitar

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d14+2
	more2 = 4 + (2 * rand(14))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_broad_emi]
NAME=Broad sword
ID=i_sword_broad

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Broad sword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d13+3
	more2 = 5 + (2 * rand(13))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_long_emi]
NAME=Longsword
ID=i_sword_long

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Longsword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d15+3
	more2 = 5 + (2 * rand(15))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_viking_emi]
NAME=Viking sword
ID=i_sword_viking

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Viking sword

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 4d8+2
	more2 = 6 + (4 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_halberd_emi]
NAME=Halberd
ID=i_halberd

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Halberd

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d23+3
	more2 = 5 + (2 * rand(23))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_bardiche_emi]
NAME=Bardiche
ID=i_bardiche

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Bardiche

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d20+3
	more2 = 5 + (2 * rand(20))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_axe_emi]
NAME=Axe
ID=i_axe

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_double_emi]
NAME=Double Axe
ID=i_axe_double

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Double Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 1d31+4
	more2 = 5 + (1 * rand(31))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_exec_emi]
NAME=Executioner's Axe
ID=i_axe_exec

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Executioner's Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_two_hand_emi]
NAME=Two-handed Axe
ID=i_axe_two_hand

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Two-handed Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d18+3
	more2 = 5 + (2 * rand(18))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_emi]
NAME=Battle Axe
ID=i_axe_battle

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_large_emi]
NAME=Large Battle Axe
ID=i_axe_battle_large

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Large Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_sword_5 5.0

On=@Unequip
	f_uneq_sword_5 5.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_war_emi]
NAME=War Axe
ID=i_axe_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently War Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_mace_5 5.0

On=@Unequip
	f_uneq_mace_5 5.0

On=@Damage	// 6d4+3
	more2 = 9 + (6 * rand(4))
	f_damage_waraxe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_mace_emi]
NAME=Mace
ID=i_mace

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 5.0

On=@Unequip
	f_uneq_mace_5 5.0

On=@Damage	// 6d5+2
	more2 = 8 + (6 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_mace_war_emi]
NAME=War Mace
ID=i_mace_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently War Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 5.0

On=@Unequip
	f_uneq_mace_5 5.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammerpick_emi]
NAME=Hammerpick
ID=i_hammer_pick

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Hammerpick

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 5.0

On=@Unequip
	f_uneq_mace_5 5.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammer_war_emi]
NAME=War Hammer
ID=i_hammer_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently War Hammer

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 5.0

On=@Unequip
	f_uneq_mace_5 5.0

On=@Damage	// 7d5+1
	more2 = 8 + (7 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_maul_emi]
NAME=Maul
ID=i_maul

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Maul

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 5.0

On=@Unequip
	f_uneq_mace_5 5.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_spear_emi]
NAME=Spear
ID=i_spear

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_fencing_5 5.0

On=@Unequip
	f_uneq_fencing_5 5.0

On=@Damage	// 2d18+0
	more2 = 2 + (2 * rand(18))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_spear_short_emi]
NAME=Short Spear
ID=i_spear_short

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Short Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_fencing_5 5.0

On=@Unequip
	f_uneq_fencing_5 5.0

On=@Damage	// 2d15+2
	more2 = 4 + (2 * rand(15))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_war_fork_emi]
NAME=War Fork
ID=i_war_fork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently War Fork

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_fencing_5 5.0

On=@Unequip
	f_uneq_fencing_5 5.0

On=@Damage	// 1d29+3
	more2 = 4 + (1 * rand(29))
	f_damage_fencing
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_pitchfork_emi]
NAME=Pitchfork
ID=i_pitchfork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Pitchfork

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_fencing_5 5.0

On=@Unequip
	f_uneq_fencing_5 5.0

On=@Damage	// 4d4+0
	more2 = 4 + (4 * rand(4))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_kryss_emi]
NAME=Kryss
ID=i_kryss

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Kryss

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_fencing_5 5.0

On=@Unequip
	f_uneq_fencing_5 5.0

On=@Damage	// 1d26+2
	more2 = 3 + (1 * rand(26))
	f_damage_fencing
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_bow_emi]
NAME=Bow
ID=i_bow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Bow

On=@Create
	hitpoints = { 31 60 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_archery_5 5.0

On=@Unequip
	f_uneq_archery_5 5.0

On=@Damage	// 4d9+5
	more2 = 9 + (4 * rand(9))
	f_damage_bow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_emi]
NAME=Crossbow
ID=i_crossbow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Crossbow

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_archery_5 5.0

On=@Unequip
	f_uneq_archery_5 5.0

On=@Damage	// 5d8+3
	more2 = 8 + (5 * rand(8))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_heavy_emi]
NAME=Heavy Crossbow
ID=i_crossbow_heavy

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Eminently Weapons
DESCRIPTION=Eminently Heavy Crossbow

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_eminently
		return 1
	endif

On=@Equip
	f_eq_archery_5 5.0

On=@Unequip
	f_uneq_archery_5 5.0

On=@Damage	// 5d10+6
	more2 = 11 + (5 * rand(10))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

//==========================================
// Exceedingly weapons
//==========================================

[ITEMDEF i_katana_exc]
NAME=Katana
ID=i_katana

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Katana

On=@Create
	hitpoints = { 10 20 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 3d8+2
	more2 = 5 + (3 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_cutlass_exc]
NAME=Cutlass
ID=i_cutlass

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Cutlass

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d12+4
	more2 = 6 + (2 * rand(12))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_scimitar_exc]
NAME=Scimitar
ID=i_scimitar

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Scimitar

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d14+2
	more2 = 4 + (2 * rand(14))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_broad_exc]
NAME=Broad sword
ID=i_sword_broad

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Broad sword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d13+3
	more2 = 5 + (2 * rand(13))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_long_exc]
NAME=Longsword
ID=i_sword_long

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Longsword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d15+3
	more2 = 5 + (2 * rand(15))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_viking_exc]
NAME=Viking sword
ID=i_sword_viking

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Viking sword

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 4d8+2
	more2 = 6 + (4 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_halberd_exc]
NAME=Halberd
ID=i_halberd

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Halberd

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d23+3
	more2 = 5 + (2 * rand(23))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_bardiche_exc]
NAME=Bardiche
ID=i_bardiche

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Bardiche

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d20+3
	more2 = 5 + (2 * rand(20))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_axe_exc]
NAME=Axe
ID=i_axe

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_double_exc]
NAME=Double Axe
ID=i_axe_double

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Double Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 1d31+4
	more2 = 5 + (1 * rand(31))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_exec_exc]
NAME=Executioner's Axe
ID=i_axe_exec

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Executioner's Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_two_hand_exc]
NAME=Two-handed Axe
ID=i_axe_two_hand

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Two-handed Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d18+3
	more2 = 5 + (2 * rand(18))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_exc]
NAME=Battle Axe
ID=i_axe_battle

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_large_exc]
NAME=Large Battle Axe
ID=i_axe_battle_large

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Large Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_sword_5 10.0

On=@Unequip
	f_uneq_sword_5 10.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_war_exc]
NAME=War Axe
ID=i_axe_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly War Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_mace_5 10.0

On=@Unequip
	f_uneq_mace_5 10.0

On=@Damage	// 6d4+3
	more2 = 9 + (6 * rand(4))
	f_damage_waraxe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_mace_exc]
NAME=Mace
ID=i_mace

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 10.0

On=@Unequip
	f_uneq_mace_5 10.0

On=@Damage	// 6d5+2
	more2 = 8 + (6 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_mace_war_exc]
NAME=War Mace
ID=i_mace_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly War Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 10.0

On=@Unequip
	f_uneq_mace_5 10.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammerpick_exc]
NAME=Hammer_pick
ID=i_hammerpick

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Hammerpick

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 10.0

On=@Unequip
	f_uneq_mace_5 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammer_war_exc]
NAME=War Hammer
ID=i_hammer_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly War Hammer

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 10.0

On=@Unequip
	f_uneq_mace_5 10.0

On=@Damage	// 7d5+1
	more2 = 8 + (7 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_maul_exc]
NAME=Maul
ID=i_maul

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Maul

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_5 10.0

On=@Unequip
	f_uneq_mace_5 10.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_spear_exc]
NAME=Spear
ID=i_spear

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_fencing_5 10.0

On=@Unequip
	f_uneq_fencing_5 10.0

On=@Damage	// 2d18+0
	more2 = 2 + (2 * rand(18))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_spear_short_exc]
NAME=Short Spear
ID=i_spear_short

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Short Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_fencing_5 10.0

On=@Unequip
	f_uneq_fencing_5 10.0

On=@Damage	// 2d15+2
	more2 = 4 + (2 * rand(15))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_war_fork_exc]
NAME=War Fork
ID=i_war_fork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly War Fork

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_fencing_5 10.0

On=@Unequip
	f_uneq_fencing_5 10.0

On=@Damage	// 1d29+3
	more2 = 4 + (1 * rand(29))
	f_damage_fencing
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_pitchfork_exc]
NAME=Pitchfork
ID=i_pitchfork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Pitchfork

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_fencing_5 10.0

On=@Unequip
	f_uneq_fencing_5 10.0

On=@Damage	// 4d4+0
	more2 = 4 + (4 * rand(4))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_kryss_exc]
NAME=Kryss
ID=i_kryss

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Kryss

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_fencing_5 10.0

On=@Unequip
	f_uneq_fencing_5 10.0

On=@Damage	// 1d26+2
	more2 = 3 + (1 * rand(26))
	f_damage_fencing
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_bow_exc]
NAME=Bow
ID=i_bow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Bow

On=@Create
	hitpoints = { 31 60 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_archery_5 10.0

On=@Unequip
	f_uneq_archery_5 10.0

On=@Damage	// 4d9+5
	more2 = 9 + (4 * rand(9))
	f_damage_bow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_exc]
NAME=Crossbow
ID=i_crossbow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Crossbow

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_archery_5 10.0

On=@Unequip
	f_uneq_archery_5 10.0

On=@Damage	// 5d8+3
	more2 = 8 + (5 * rand(8))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_heavy_exc]
NAME=Heavy Crossbow
ID=i_crossbow_heavy

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Exceedingly Weapons
DESCRIPTION=Exceedingly Heavy Crossbow

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_exceedingly
		return 1
	endif

On=@Equip
	f_eq_archery_5 10.0

On=@Unequip
	f_uneq_archery_5 10.0

On=@Damage	// 5d10+6
	more2 = 11 + (5 * rand(10))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

//==========================================
// Supremely weapons
//==========================================

[ITEMDEF i_katana_sup]
NAME=Katana
ID=i_katana

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Katana

On=@Create
	hitpoints = { 10 20 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 3d8+2
	more2 = 5 + (3 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_cutlass_sup]
NAME=Cutlass
ID=i_cutlass

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Cutlass

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d12+4
	more2 = 6 + (2 * rand(12))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_scimitar_sup]
NAME=Scimitar
ID=i_scimitar

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Scimitar

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d14+2
	more2 = 4 + (2 * rand(14))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_broad_sup]
NAME=Broad sword
ID=i_sword_broad

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Broad sword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d13+3
	more2 = 5 + (2 * rand(13))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_long_sup]
NAME=Longsword
ID=i_sword_long

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Longsword

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d15+3
	more2 = 5 + (2 * rand(15))
	f_damage_sword
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_sword_viking_sup]
NAME=Viking sword
ID=i_sword_viking

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Viking sword

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 4d8+2
	more2 = 6 + (4 * rand(8))
	f_damage_sword
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_halberd_sup]
NAME=Halberd
ID=i_halberd

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Halberd

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d23+3
	more2 = 5 + (2 * rand(23))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_bardiche_sup]
NAME=Bardiche
ID=i_bardiche

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Bardiche

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d20+3
	more2 = 5 + (2 * rand(20))
	f_damage_sword
	src.damage <more2>
	f_crash_halberd
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_axe_sup]
NAME=Axe
ID=i_axe

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_double_sup]
NAME=Double Axe
ID=i_axe_double

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Double Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 1d31+4
	more2 = 5 + (1 * rand(31))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_exec_sup]
NAME=Executioner's Axe
ID=i_axe_exec

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Executioner's Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_two_hand_sup]
NAME=Two-handed Axe
ID=i_axe_two_hand

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Two-handed Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d18+3
	more2 = 5 + (2 * rand(18))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_sup]
NAME=Battle Axe
ID=i_axe_battle

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_battle_large_sup]
NAME=Large Battle Axe
ID=i_axe_battle_large

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Large Battle Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_sword_10 10.0

On=@Unequip
	f_uneq_sword_10 10.0

On=@Damage	// 2d17+4
	more2 = 6 + (2 * rand(17))
	f_damage_axe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_axe_war_sup]
NAME=War Axe
ID=i_axe_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely War Axe

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_mace_10 10.0

On=@Unequip
	f_uneq_mace_10 10.0

On=@Damage	// 6d4+3
	more2 = 9 + (6 * rand(4))
	f_damage_waraxe
	src.damage <more2>
	f_crash_axe
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_mace_sup]
NAME=Mace
ID=i_mace

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_10 10.0

On=@Unequip
	f_uneq_mace_10 10.0

On=@Damage	// 6d5+2
	more2 = 8 + (6 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_mace_war_sup]
NAME=War Mace
ID=i_mace_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely War Mace

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_10 10.0

On=@Unequip
	f_uneq_mace_10 10.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammerpick_sup]
NAME=Hammerpick
ID=i_hammer_pick

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Hammerpick

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_10 10.0

On=@Unequip
	f_uneq_mace_10 10.0

On=@Damage	// 3d10+3
	more2 = 6 + (3 * rand(10))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_hammer_war_sup]
NAME=War Hammer
ID=i_hammer_war

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely War Hammer

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_10 10.0

On=@Unequip
	f_uneq_mace_10 10.0

On=@Damage	// 7d5+1
	more2 = 8 + (7 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_maul_sup]
NAME=Maul
ID=i_maul

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Maul

On=@Create
	hitpoints = { 31 90 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@DClick
	equip
	return 1
On=@Equip
	f_eq_mace_10 10.0

On=@Unequip
	f_uneq_mace_10 10.0

On=@Damage	// 5d5+5
	more2 = 10 + (5 * rand(5))
	f_damage_mace
	src.damage <more2>
	f_crash_mace
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_spear_sup]
NAME=Spear
ID=i_spear

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_fencing_10 10.0

On=@Unequip
	f_uneq_fencing_10 10.0

On=@Damage	// 2d18+0
	more2 = 2 + (2 * rand(18))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_spear_short_sup]
NAME=Short Spear
ID=i_spear_short

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Short Spear

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_fencing_10 10.0

On=@Unequip
	f_uneq_fencing_10 10.0

On=@Damage	// 2d15+2
	more2 = 4 + (2 * rand(15))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_war_fork_sup]
NAME=War Fork
ID=i_war_fork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely War Fork

On=@Create
	hitpoints = { 31 110 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_fencing_10 10.0

On=@Unequip
	f_uneq_fencing_10 10.0

On=@Damage	// 1d29+3
	more2 = 4 + (1 * rand(29))
	f_damage_fencing
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_pitchfork_sup]
NAME=Pitchfork
ID=i_pitchfork

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Pitchfork

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_fencing_10 10.0

On=@Unequip
	f_uneq_fencing_10 10.0

On=@Damage	// 4d4+0
	more2 = 4 + (4 * rand(4))
	f_damage_spear
	src.damage <more2>
	f_crash_spear
	more2 = 0
	return 1

On=@Targon_ground
	return 1

On=@Targon_item
	if <src.targ.type>==t_corpse
		if !((<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff))
			return 0
		end if
		src.sysmessage You can't carve <src.targ.name>
	end if
	return 1

[ITEMDEF i_kryss_sup]
NAME=Kryss
ID=i_kryss

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Kryss

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_fencing_10 10.0

On=@Unequip
	f_uneq_fencing_10 10.0

On=@Damage	// 1d26+2
	more2 = 3 + (1 * rand(26))
	f_damage_fencing
	src.damage <more2>
	f_crash_sword
	more2 = 0
	return 1

On=@Targon_ground
	if <src.account.plevel> > 1
		src.message Turn off GM mode first!
		return 1
	endif

On=@Targon_item
	if <src.targ.type>==t_corpse
		if (<src.targ.region.flags> & 04000) && (<src.targ.link>!=04fffffff)
			src.sysmessage You can't carve <src.targ.name>
			return 1
		end if
		return 0
	elseif <src.targ.type> == t_tree
		return 0
	end if
	return 1

[ITEMDEF i_bow_sup]
NAME=Bow
ID=i_bow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Bow

On=@Create
	hitpoints = { 31 60 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_archery_10 10.0

On=@Unequip
	f_uneq_archery_10 10.0

On=@Damage	// 4d9+5
	more2 = 9 + (4 * rand(9))
	f_damage_bow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_sup]
NAME=Crossbow
ID=i_crossbow

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Crossbow

On=@Create
	hitpoints = { 31 80 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_archery_10 10.0

On=@Unequip
	f_uneq_archery_10 10.0

On=@Damage	// 5d8+3
	more2 = 8 + (5 * rand(8))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

[ITEMDEF i_crossbow_heavy_sup]
NAME=Heavy Crossbow
ID=i_crossbow_heavy

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Supremely Weapons
DESCRIPTION=Supremely Heavy Crossbow

On=@Create
	hitpoints = { 31 100 }
	color = color_magic_weap

On=@Click
	if (<attr> & attr_identified) || (<src.isgm>)
		f_click_supremely
		return 1
	endif

On=@Equip
	f_eq_archery_10 10.0

On=@Unequip
	f_uneq_archery_10 10.0

On=@Damage	// 5d10+6
	more2 = 11 + (5 * rand(10))
	f_damage_xbow
	src.damage <more2>
	more2 = 0
	return 1

On=@Targon_ground
	return 1

