Kod:
[ITEMDEF i_a_bomb_box]
NAME=A-Bomb Box
ID=0E7E
TYPE=0
SKILLMAKE=CARPENTRY 100.0
RESOURCES=10 i_log
CATEGORY=GM Items
SUBSECTION=Stuff
DESCRIPTION=A-Bomb Box
ON=@Create
COLOR=0
ON=@DCLICK
IF (<TYPE>==t_potion)
RETURN 0
ELSE
SRC.SYSMESSAGE You can't use this A-Bomb yet! You still have to add things to it!
RETURN 1
ENDIF
ON=@DAMAGE
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 -3 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 3 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 3 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -3 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -2 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 2 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 2 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 -2 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 1 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -1 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 -1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 1 1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 1 -1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -1 -1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -1 1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
[itemdef i_potion_uranium_core]
ID=i_bottle_GREEN
NAME=Uranium Core Potion
RESOURCES=i_reag_batwing 2, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 100.0
TYPE=0
CATEGORY=Provisioners - Alchemy
SUBSECTION=Potions
DESCRIPTION=Uranium
ON=@DCLICK
TARGET Where do u want to place the Uranium Core potion?
RETURN 1
ON=@TARGON_ITEM
IF (<SRC.TARG.BASEID>==i_a_bomb_box)
IF (<SRC.TARG.COLOR>==color_o_uranium)
SRC.TARG.TYPE=T_POTION
SRC.TARG.MORE1=s_explosion
SRC.TARG.MORE2=999.0
SRC.TARG.NAME=A-Bomb!
SRC.SYSMESSAGE You finished an A-Bomb!
effect=3,i_fx_curse,6,15,1
sfx snd_SPELL_CURSE
REMOVE
RETURN 1
ELSE
SRC.SYSMESSAGE First place the uranium ingots in the A-Bomb Box!
RETURN 1
ENDIF
RETURN 1
ELSE
SRC.SYSMESSAGE You can't place it there!
RETURN 1
ENDIF
//******** Uranium Ore ***********
[ITEMDEF i_ore_uranium]
ID=i_ore_iron
NAME=Uranium Ore
SKILLMAKE=MINING 100.0
TDATA1=i_ingot_uranium
VALUE=15
WEIGHT=1
ON=@Create
COLOR=color_o_uranium
[ITEMDEF i_uranium_ingot]
DEFNAME=i_ingot_uranium
ID=i_ingot_iron
NAME=Uranium Ingot
RESOURCES=i_ore_uranium
SKILLMAKE=MINING 100.0
VALUE=30
WEIGHT=5
ON=@Create
COLOR=color_o_uranium
ON=@DCLICK
TARGET Where do u want to place the Uranium ingot?
RETURN 1
ON=@TARGON_ITEM
IF (<SRC.TARG.BASEID>==i_a_bomb_box)
IF (<SRC.TARG.MOREY>==0)
IF <SRC.RESTEST 8 i_ingot_uranium>
SRC.CONSUME=8 i_ingot_uranium
SRC.SYSMESSAGE You place 8 Uranium Ingots in the A-Bomb Box.
SRC.TARG.COLOR=color_o_uranium
effect=3,i_fx_curse,6,15,1
sfx snd_SPELL_CURSE
SRC.TARG.MOREY=1
SOUND 0F7
RETURN 1
ELSE
SRC.SYSMESSAGE You don't have 8 Uranium ingots to make an A-Bomb.
RETURN 1
ENDIF
RETURN 1
ELSE
SRC.SYSMESSAGE The Uranium is already in the bomb!
RETURN 1
ENDIF
RETURN 1
ELSE
SRC.SYSMESSAGE You can not place the ingot there!
RETURN 1
ENDIF
CATEGORY=ADDED
SUBSECTION=Blacksmiths
DESCRIPTION=Uranium Ingot
[REGIONRESOURCE mr_uranium]
// t_rock
SKILL_LO=90.0
SKILL_HI=100.0
AMOUNT_LO=1//least amount of ore mined
AMOUNT_HI=3//most mined in a vein
REAP=i_ore_uranium
REGEN=60*60*10//respawn speed
[EOF]
NAME=A-Bomb Box
ID=0E7E
TYPE=0
SKILLMAKE=CARPENTRY 100.0
RESOURCES=10 i_log
CATEGORY=GM Items
SUBSECTION=Stuff
DESCRIPTION=A-Bomb Box
ON=@Create
COLOR=0
ON=@DCLICK
IF (<TYPE>==t_potion)
RETURN 0
ELSE
SRC.SYSMESSAGE You can't use this A-Bomb yet! You still have to add things to it!
RETURN 1
ENDIF
ON=@DAMAGE
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 -3 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 3 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 3 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -3 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={3 3}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -2 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 2 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 2 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 -2 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 1 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -1 0 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 -1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 1 1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 0 1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={1 1}
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE 1 -1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -1 -1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
SRC.NEWITEM I_fx_explode
SRC.ACT.P=<SRC.TARGP>
SRC.ACT.MOVE -1 1 0
SRC.ACT.ATTR=attr_decay|attr_static
SRC.ACT.TIMER={2 2}
src.act.color=077a
[itemdef i_potion_uranium_core]
ID=i_bottle_GREEN
NAME=Uranium Core Potion
RESOURCES=i_reag_batwing 2, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 100.0
TYPE=0
CATEGORY=Provisioners - Alchemy
SUBSECTION=Potions
DESCRIPTION=Uranium
ON=@DCLICK
TARGET Where do u want to place the Uranium Core potion?
RETURN 1
ON=@TARGON_ITEM
IF (<SRC.TARG.BASEID>==i_a_bomb_box)
IF (<SRC.TARG.COLOR>==color_o_uranium)
SRC.TARG.TYPE=T_POTION
SRC.TARG.MORE1=s_explosion
SRC.TARG.MORE2=999.0
SRC.TARG.NAME=A-Bomb!
SRC.SYSMESSAGE You finished an A-Bomb!
effect=3,i_fx_curse,6,15,1
sfx snd_SPELL_CURSE
REMOVE
RETURN 1
ELSE
SRC.SYSMESSAGE First place the uranium ingots in the A-Bomb Box!
RETURN 1
ENDIF
RETURN 1
ELSE
SRC.SYSMESSAGE You can't place it there!
RETURN 1
ENDIF
//******** Uranium Ore ***********
[ITEMDEF i_ore_uranium]
ID=i_ore_iron
NAME=Uranium Ore
SKILLMAKE=MINING 100.0
TDATA1=i_ingot_uranium
VALUE=15
WEIGHT=1
ON=@Create
COLOR=color_o_uranium
[ITEMDEF i_uranium_ingot]
DEFNAME=i_ingot_uranium
ID=i_ingot_iron
NAME=Uranium Ingot
RESOURCES=i_ore_uranium
SKILLMAKE=MINING 100.0
VALUE=30
WEIGHT=5
ON=@Create
COLOR=color_o_uranium
ON=@DCLICK
TARGET Where do u want to place the Uranium ingot?
RETURN 1
ON=@TARGON_ITEM
IF (<SRC.TARG.BASEID>==i_a_bomb_box)
IF (<SRC.TARG.MOREY>==0)
IF <SRC.RESTEST 8 i_ingot_uranium>
SRC.CONSUME=8 i_ingot_uranium
SRC.SYSMESSAGE You place 8 Uranium Ingots in the A-Bomb Box.
SRC.TARG.COLOR=color_o_uranium
effect=3,i_fx_curse,6,15,1
sfx snd_SPELL_CURSE
SRC.TARG.MOREY=1
SOUND 0F7
RETURN 1
ELSE
SRC.SYSMESSAGE You don't have 8 Uranium ingots to make an A-Bomb.
RETURN 1
ENDIF
RETURN 1
ELSE
SRC.SYSMESSAGE The Uranium is already in the bomb!
RETURN 1
ENDIF
RETURN 1
ELSE
SRC.SYSMESSAGE You can not place the ingot there!
RETURN 1
ENDIF
CATEGORY=ADDED
SUBSECTION=Blacksmiths
DESCRIPTION=Uranium Ingot
[REGIONRESOURCE mr_uranium]
// t_rock
SKILL_LO=90.0
SKILL_HI=100.0
AMOUNT_LO=1//least amount of ore mined
AMOUNT_HI=3//most mined in a vein
REAP=i_ore_uranium
REGEN=60*60*10//respawn speed
[EOF]
Yorumlar
Henüz yorum yapılmamıştır.
|
OylamalarOylama :![]()
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış
Oylar: 0 |
Benzer Sayfalar
| Sayfalar | Yorumlar | Gönderen | Tarih |







