Coded by Comrade
[email protected]
[FUNCTION f_coord_find]
if (rand(2) = 1)
morex <eval {4446 4553}>
morey <eval {3454 3485}>
src.tag.coords <morex> <morey>
elseif (rand(3) = 1)
morex <eval {4384 4491}>
morey <eval {3133 3148}>
src.tag.coords <morex> <morey>
elseif (rand(4) = 2)
morex <eval {2023 2202}>
morey <eval {3319 3360}>
src.tag.coords <morex> <morey>
else
morex <eval {2410 2530}>
morey <eval {3893 3975}>
src.tag.coords <morex> <morey>
endif
[ITEMDEF i_treasure_map_2]
id i_map
type t_map
name level 2 treasure map
on=@click
if (<tag.okunmus> == 01)
message @55 [Okunmus]
message @1156 level 2 treasure map
return 1
else
message @33 [Okunmamis]
message @1156 level 2 treasure map
return 1
endif
On=@DClick
if (<src.cartography> >= 70.0)
if (<tag.acilmis>==0)
f_coord_find
MORE1=((<MOREX> -200)*010000)+(<MOREY> -200)
MORE2=((<MOREX> +200)*010000)+(<MOREY> +200)
serv.newitem t_tc_2
src.targ.tag.okunmus 01
new.p <src.tag.coords>
new.z -10
new.timer 6*60*60
link <new.uid>
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
src.sysmessage @69,1,1 Hazineyi acabilmek icin 6 saatiniz var. 6 saat sonunda hazine kaybolucak.
tag.acilmis 1
src.arrowquest <src.tag.coords>
else
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
if (<tag.questoku>==1)
src.arrowquest
tag.questoku
elseif (<tag.questoku>==0)
src.arrowquest <src.tag.coords>
tag.questoku 1
endif
endif
else
src.sysmessage @38,1,1 Haritada yazilanlari anlayacak harita bilgisine sahip degilsiniz. (70.0)
return 1
endif
[ITEMDEF i_treasure_map_3]
id i_map
type t_map
name level 3 treasure map
on=@click
if (<tag.okunmus> == 01)
message @55 [Okunmus]
message @1156 level 3 treasure map
return 1
else
message @33 [Okunmamis]
message @1156 level 3 treasure map
return 1
endif
On=@DClick
if (<src.cartography> >= 80.0)
if (<tag.acilmis>==0)
f_coord_find
MORE1=((<MOREX> -200)*010000)+(<MOREY> -200)
MORE2=((<MOREX> +200)*010000)+(<MOREY> +200)
serv.newitem t_tc_3
src.targ.tag.okunmus 01
new.p <src.tag.coords>
new.z -10
new.timer 6*60*60
link <new.uid>
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
src.sysmessage @69,1,1 Hazineyi acabilmek icin 6 saatiniz var. 6 saat sonunda hazine kaybolucak.
tag.acilmis 1
src.arrowquest <src.tag.coords>
else
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
if (<tag.questoku>==1)
src.arrowquest
tag.questoku
elseif (<tag.questoku>==0)
src.arrowquest <src.tag.coords>
tag.questoku 1
endif
endif
else
src.sysmessage @38,1,1 Haritada yazilanlari anlayacak harita bilgisine sahip degilsiniz. (80.0)
return 1
endif
[ITEMDEF i_treasure_map_4]
id i_map
type t_map
name level 4 treasure map
on=@click
if (<tag.okunmus> == 01)
message @55 [Okunmus]
message @1156 level 4 treasure map
return 1
else
message @33 [Okunmamis]
message @1156 level 4 treasure map
return 1
endif
On=@DClick
if (<src.cartography> >= 85.0)
if (<tag.acilmis>==0)
f_coord_find
MORE1=((<MOREX> -200)*010000)+(<MOREY> -200)
MORE2=((<MOREX> +200)*010000)+(<MOREY> +200)
serv.newitem t_tc_4
src.targ.tag.okunmus 01
new.p <src.tag.coords>
new.z -10
new.timer 6*60*60
link <new.uid>
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
src.sysmessage @69,1,1 Hazineyi acabilmek icin 6 saatiniz var. 6 saat sonunda hazine kaybolucak.
tag.acilmis 1
src.arrowquest <src.tag.coords>
else
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
if (<tag.questoku>==1)
src.arrowquest
tag.questoku
elseif (<tag.questoku>==0)
src.arrowquest <src.tag.coords>
tag.questoku 1
endif
endif
else
src.sysmessage @38,1,1 Haritada yazilanlari anlayacak harita bilgisine sahip degilsiniz. (85.0)
return 1
endif
[ITEMDEF i_treasure_map_5]
id i_map
type t_map
name level 5 treasure map
on=@click
if (<tag.okunmus> == 01)
message @55 [Okunmus]
message @1156 level 5 treasure map
return 1
else
message @33 [Okunmamis]
message @1156 level 5 treasure map
return 1
endif
On=@DClick
if (<src.cartography> >= 90.0)
if (<tag.acilmis>==0)
f_coord_find
MORE1=((<MOREX> -200)*010000)+(<MOREY> -200)
MORE2=((<MOREX> +200)*010000)+(<MOREY> +200)
serv.newitem t_tc_5
src.targ.tag.okunmus 01
new.p <src.tag.coords>
new.z -10
new.timer 6*60*60
link <new.uid>
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
src.sysmessage @69,1,1 Hazineyi acabilmek icin 6 saatiniz var. 6 saat sonunda hazine kaybolucak.
tag.acilmis 1
src.arrowquest <src.tag.coords>
else
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
if (<tag.questoku>==1)
src.arrowquest
tag.questoku
elseif (<tag.questoku>==0)
src.arrowquest <src.tag.coords>
tag.questoku 1
endif
endif
else
src.sysmessage @38,1,1 Haritada yazilanlari anlayacak harita bilgisine sahip degilsiniz. (90.0)
return 1
endif
[ITEMDEF i_treasure_map_6]
id i_map
type t_map
name level 6 treasure map
on=@click
if (<tag.okunmus> == 01)
message @55 [Okunmus]
message @1156 level 6 treasure map
return 1
else
message @33 [Okunmamis]
message @1156 level 6 treasure map
return 1
endif
On=@DClick
if (<src.cartography> >= 98.0)
if (<tag.acilmis>==0)
f_coord_find
MORE1=((<MOREX> -200)*010000)+(<MOREY> -200)
MORE2=((<MOREX> +200)*010000)+(<MOREY> +200)
serv.newitem t_tc_6
src.targ.tag.okunmus 01
new.p <src.tag.coords>
new.z -10
new.timer 6*60*60
link <new.uid>
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
src.sysmessage @69,1,1 Hazineyi acabilmek icin 6 saatiniz var. 6 saat sonunda hazine kaybolucak.
tag.acilmis 1
src.arrowquest <src.tag.coords>
else
src.sysmessage @69,1,1 Hazinenin koordinati <src.tag.coords>.
if (<tag.questoku>==1)
src.arrowquest
tag.questoku
elseif (<tag.questoku>==0)
src.arrowquest <src.tag.coords>
tag.questoku 1
endif
endif
else
src.sysmessage @38,1,1 Haritada yazilanlari anlayacak harita bilgisine sahip degilsiniz. (98.0)
return 1
endif
[ITEMDEF i_tc_1]
NAME=treasure chest
ID=i_chest_metal
TYPE=t_container_locked
FLIP=1
WEIGHT=1
ON=@Create
MORE=0515
MOREY=985
MOREX=1
COLOR=0455
ATTR=0012
ON=@DClick
IF ( <TYPE> == t_container )
TIMER=240
RETURN 0
ENDIF
ON=@Timer
REMOVE
RETURN 1
ON=@Click
message @0455,,1 a Treasure Chest (LvL 1)
RETURN 1
CATEGORY=Treasure Chest
SUBSECTION=Treasure Chest
DESCRIPTION=Treasure Chest (lvl 1)
[ITEMDEF i_tc_2]
NAME=treasure chest
ID=i_chest_metal
TYPE=t_container_locked
FLIP=1
WEIGHT=1
ON=@Create
MOREY=985
MORE=0515
MOREX=2
COLOR=0455
ATTR=0012
ON=@DClick
IF ( <TYPE> == t_container )
TIMER=240
RETURN 0
ENDIF
ON=@Timer
REMOVE
RETURN 1
ON=@Click
message @0455,,1 a Treasure Chest (LvL 2)
RETURN 1
CATEGORY=Treasure Chest
SUBSECTION=Treasure Chest
DESCRIPTION=Treasure Chest (lvl 2)
[ITEMDEF i_tc_3]
NAME=treasure chest
ID=i_chest_metal
TYPE=t_container_locked
FLIP=1
WEIGHT=1
ON=@Create
MOREY=985
MORE=0515
MOREX=3
COLOR=0455
ATTR=0012
ON=@DClick
IF ( <TYPE> == t_container )
TIMER=240
RETURN 0
ENDIF
ON=@Timer
REMOVE
RETURN 1
ON=@Click
message @0455,,1 a Treasure Chest (LvL 3)
RETURN 1
CATEGORY=Treasure Chest
SUBSECTION=Treasure Chest
DESCRIPTION=Treasure Chest (lvl 3)
[ITEMDEF i_tc_4]
NAME=treasure chest
ID=i_chest_metal
TYPE=t_container_locked
FLIP=1
WEIGHT=1
ON=@Create
MOREY=985
MORE=0515
MOREX=4
COLOR=0455
ATTR=0012
ON=@DClick
IF ( <TYPE> == t_container )
TIMER=240
RETURN 0
ENDIF
ON=@Timer
REMOVE
RETURN 1
ON=@Click
message @0455,,1 a Treasure Chest (LvL 4)
RETURN 1
CATEGORY=Treasure Chest
SUBSECTION=Treasure Chest
DESCRIPTION=Treasure Chest (lvl 4)
[ITEMDEF i_tc_5]
NAME=treasure chest
ID=i_chest_metal
TYPE=t_container_locked
FLIP=1
WEIGHT=1
ON=@Create
MOREY=985
MORE=0515
MOREX=5
COLOR=0455
ATTR=0012
ON=@DClick
IF ( <TYPE> == t_container )
TIMER=240
RETURN 0
ENDIF
ON=@Timer
REMOVE
RETURN 1
ON=@Click
message @0455,,1 a Treasure Chest (LvL 5)
RETURN 1
CATEGORY=Treasure Chest
SUBSECTION=Treasure Chest
DESCRIPTION=Treasure Chest (lvl 5)
[ITEMDEF i_tc_6]
NAME=treasure chest
ID=i_chest_metal
TYPE=t_container_locked
FLIP=1
WEIGHT=1
ON=@Create
MOREY=985
MORE=0515
MOREX=6
COLOR=0455
ATTR=0012
ON=@DClick
IF ( <TYPE> == t_container )
TIMER=240
RETURN 0
ENDIF
ON=@Timer
REMOVE
RETURN 1
ON=@Click
message @0455,,1 a Treasure Chest (LvL 6)
RETURN 1
CATEGORY=Treasure Chest
SUBSECTION=Treasure Chest
DESCRIPTION=Treasure Chest (lvl 6)
// Level 1 Chest Kaldirildi.
[TEMPLATE T_TC_1]
NAME=treasure chest
CATEGORY=treasure chest
SUBSECTION=Warrior
DESCRIPTION=Level 1
CONTAINER=i_tc_1
TYPE=t_container_locked
ITEM=i_gold,{7000 20000}
ITEM=RANDOM_PlateMAIL_defense
ITEM={ i_SCIMITAR_ruin 1 i_HALBERD_ruin 1 i_BARDICHE_ruin 1 i_CUTLASS_ruin 1 i_sword_viking_ruin 1 i_KATANA_ruin 1 i_BROADSWORD_ruin 1 i_sword_long_ruin 1 i_PITCHFORK_ruin 1 i_KRYSS_ruin 1 i_SPEAR_ruin 1 i_SPEAR_SHORT_ruin 1 i_WAR_FORK_ruin 1 i_CLUB_ruin 1 i_MACE_ruin 1 i_MAUL_ruin 1 i_mace_war_ruin 1 i_HAMMER_PICK_ruin 1 i_hammer_war_ruin 1 },R3
[TEMPLATE T_TC_2]
NAME=treasure chest
CATEGORY=treasure chest
SUBSECTION=Warrior
DESCRIPTION=Level 2
CONTAINER=i_tc_2
TYPE=t_container_locked
ITEM=i_gold,{30000 35000}
ITEM=RANDOM_PLATEMAIL_guarding,R2
ITEM={ i_SCIMITAR_ruin 1 i_HALBERD_ruin 1 i_BARDICHE_ruin 1 i_CUTLASS_ruin 1 i_sword_viking_ruin 1 i_KATANA_ruin 1 i_BROADSWORD_ruin 1 i_sword_long_ruin 1 i_PITCHFORK_ruin 1 i_KRYSS_ruin 1 i_SPEAR_ruin 1 i_SPEAR_SHORT_ruin 1 i_WAR_FORK_ruin 1 i_CLUB_ruin 1 i_MACE_ruin 1 i_MAUL_ruin 1 i_mace_war_ruin 1 i_HAMMER_PICK_ruin 1 i_hammer_war_ruin 1 },R5
[TEMPLATE T_TC_3]
NAME=treasure chest
CATEGORY=treasure chest
SUBSECTION=Warrior
DESCRIPTION=Level 3
CONTAINER=i_tc_3
TYPE=t_container_locked
ITEM=i_gold,{35000 40000}
ITEM=RANDOM_PlatemaiL_guarding,R4
ITEM={ i_SCIMITAR_ruin 1 i_HALBERD_ruin 1 i_BARDICHE_ruin 1 i_CUTLASS_ruin 1 i_sword_viking_ruin 1 i_KATANA_ruin 1 i_BROADSWORD_ruin 1 i_sword_long_ruin 1 i_PITCHFORK_ruin 1 i_KRYSS_ruin 1 i_SPEAR_ruin 1 i_SPEAR_SHORT_ruin 1 i_WAR_FORK_ruin 1 i_CLUB_ruin 1 i_MACE_ruin 1 i_MAUL_ruin 1 i_mace_war_ruin 1 i_HAMMER_PICK_ruin 1 i_hammer_war_ruin 1 },R3
ITEM={ i_SCIMITAR_might 1 i_HALBERD_might 1 i_BARDICHE_might 1 i_CUTLASS_might 1 i_sword_viking_might 1 i_KATANA_might 1 i_BROADSWORD_might 1 i_sword_long_might 1 i_PITCHFORK_might 1 i_KRYSS_might 1 i_SPEAR_might 1 i_SPEAR_SHORT_might 1 i_WAR_FORK_might 1 i_CLUB_might 1 i_MACE_might 1 i_MAUL_might 1 i_mace_war_might 1 i_HAMMER_PICK_might 1 i_hammer_war_might 1 },R5
[TEMPLATE T_TC_4]
NAME=treasure chest
CATEGORY=treasure chest
SUBSECTION=Warrior
DESCRIPTION=Level 4
CONTAINER=i_tc_4
TYPE=t_container_locked
ITEM=i_gold,{40000 45000}
ITEM=RANDOM_Platemail_Hardening,R2
ITEM={ i_SCIMITAR_might 1 i_HALBERD_might 1 i_BARDICHE_might 1 i_CUTLASS_might 1 i_sword_viking_might 1 i_KATANA_might 1 i_BROADSWORD_might 1 i_sword_long_might 1 i_PITCHFORK_might 1 i_KRYSS_might 1 i_SPEAR_might 1 i_SPEAR_SHORT_might 1 i_WAR_FORK_might 1 i_CLUB_might 1 i_MACE_might 1 i_MAUL_might 1 i_mace_war_might 1 i_HAMMER_PICK_might 1 i_hammer_war_might 1 },R3
ITEM={ i_SCIMITAR_force 1 i_HALBERD_force 1 i_BARDICHE_force 1 i_CUTLASS_force 1 i_sword_viking_force 1 i_KATANA_force 1 i_BROADSWORD_force 1 i_sword_long_force 1 i_PITCHFORK_force 1 i_KRYSS_force 1 i_SPEAR_force 1 i_SPEAR_SHORT_force 1 i_WAR_FORK_force 1 i_CLUB_force 1 i_MACE_force 1 i_MAUL_force 1 i_mace_war_force 1 i_HAMMER_PICK_force 1 i_hammer_war_force 1 },R5
ITEM=i_spawn_yumurta,R3
[TEMPLATE T_TC_5]
NAME=treasure chest
CATEGORY=treasure chest
SUBSECTION=Warrior
DESCRIPTION=Level 5
CONTAINER=i_tc_5
TYPE=t_container_locked
ITEM=i_gold,{45000 55000}
ITEM=RANDOM_platemail_fortification,R2
ITEM={ i_SCIMITAR_force 1 i_HALBERD_force 1 i_BARDICHE_force 1 i_CUTLASS_force 1 i_sword_viking_force 1 i_KATANA_force 1 i_BROADSWORD_force 1 i_sword_long_force 1 i_PITCHFORK_force 1 i_KRYSS_force 1 i_SPEAR_force 1 i_SPEAR_SHORT_force 1 i_WAR_FORK_force 1 i_CLUB_force 1 i_MACE_force 1 i_MAUL_force 1 i_mace_war_force 1 i_HAMMER_PICK_force 1 i_hammer_war_force 1 },R3
ITEM={ i_SCIMITAR_power 1 i_HALBERD_power 1 i_BARDICHE_power 1 i_CUTLASS_power 1 i_sword_viking_power 1 i_KATANA_power 1 i_BROADSWORD_power 1 i_sword_long_power 1 i_PITCHFORK_power 1 i_KRYSS_power 1 i_SPEAR_power 1 i_SPEAR_SHORT_power 1 i_WAR_FORK_power 1 i_CLUB_power 1 i_MACE_power 1 i_MAUL_power 1 i_mace_war_power 1 i_HAMMER_PICK_power 1 i_hammer_war_power 1 },R3
ITEM=i_spawn_yumurta,R3
[TEMPLATE T_TC_6]
NAME=treasure chest
CATEGORY=treasure chest
SUBSECTION=Warrior
DESCRIPTION=Level 6
CONTAINER=i_tc_6
TYPE=t_container_locked
morey=985
ITEM=i_gold,{55000 60000}
ITEM=RANDOM_PLATEMAIL_invulnerability,R2
ITEM={ i_SCIMITAR_power 1 i_HALBERD_power 1 i_BARDICHE_power 1 i_CUTLASS_power 1 i_sword_viking_power 1 i_KATANA_power 1 i_BROADSWORD_power 1 i_sword_long_power 1 i_PITCHFORK_power 1 i_KRYSS_power 1 i_SPEAR_power 1 i_SPEAR_SHORT_power 1 i_WAR_FORK_power 1 i_CLUB_power 1 i_MACE_power 1 i_MAUL_power 1 i_mace_war_power 1 i_HAMMER_PICK_power 1 i_hammer_war_power 1 },R3
ITEM={ i_SCIMITAR_vanq 1 i_HALBERD_vanq 1 i_BARDICHE_vanq 1 i_CUTLASS_vanq 1 i_sword_viking_vanq 1 i_KATANA_vanq 1 i_BROADSWORD_vanq 1 i_sword_long_vanq 1 i_PITCHFORK_vanq 1 i_KRYSS_vanq 1 i_SPEAR_vanq 1 i_SPEAR_SHORT_vanq 1 i_WAR_FORK_vanq 1 i_CLUB_vanq 1 i_MACE_vanq 1 i_MAUL_vanq 1 i_mace_war_vanq 1 i_HAMMER_PICK_vanq 1 i_hammer_war_vanq 1 },R5
ITEM=i_spawn_yumurta,R3
[EOF]
Total votes: 0
Ultima Online 2 hafta önce
Sphere Scripting 2 hafta önce
Sunucular 3 hafta önce
Sunucular 2 ay önce
Sphere Scripting 2 ay önce
CS 1.6 3 ay önce
Sunucular 4 ay önce
Sunucular 4 ay önce
Sunucular 4 ay önce
Sunucular 4 ay önce
Sunucular 4 ay önce
Ultima Online 4 ay önce
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
2024-04-09 16:53
2024-04-06 18:20
2024-04-06 17:43
Yorumlar (0)