Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
More newbie gumper problems :P
|
Author |
Message |
Coruja 
Sphere Developer
    
Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7
Dimension Shard
![]()
|
RE: More newbie gumper problems :P
try using
Code:
IF (<SRC.CANMAKE i_potion_weak_poison>) && ((<SRC.near_alchemy_scroll i_alchemy_recipe_weak_poison>) || (<SRC.RESTEST i_alchemy_recipe_weak_poison>))
instead
Code:
IF (<SRC.RESTEST i_mortar_pestle>) && (<SRC.RESTEST 3 i_reag_nightshade>) && (<SRC.RESTEST i_bottle_small_water>) && ((<SRC.near_alchemy_scroll i_alchemy_recipe_weak_poison>) || (<SRC.RESTEST i_alchemy_recipe_weak_poison>))
and to close dialogs when move the item you must use
Code:
ON=@DClick
SDIALOG d_alchemy_recipe_weak_poison
return 1
ON=@PickUp_Pack
SRC.DIALOGCLOSE d_alchemy_recipe_weak_poison
ON=@PickUp_Ground
SRC.DIALOGCLOSE d_alchemy_recipe_weak_poison
btw you can optimize the code a bit
Code:
[ITEMDEF i_alchemy_recipe_weak_poison]
ID=i_map_rolled
VALUE=50
NAME=Weak Poison Recipe
WEIGHT=1
CATEGORY=Infinity Items
SUBSECTION=Alchemy Recipes
DESCRIPTION=Weak Poison
ON=@DClick
SDIALOG d_alchemy_recipe_weak_poison
return 1
ON=@PickUp_Pack
SRC.DIALOGCLOSE d_alchemy_recipe_weak_poison
ON=@PickUp_Ground
SRC.DIALOGCLOSE d_alchemy_recipe_weak_poison
[DIALOG d_alchemy_recipe_weak_poison]
0,0
resizepic 34 59 9380 259 281
gumppic 250 95 1227
gumppic 58 125 2091
gumppic 58 273 2091
gumppic 60 145 2087
gumppic 60 165 2087
gumppic 60 185 2087
dtext 69 100 984 Weak Poison
dtext 77 143 984 Mortar and Pestle
dtext 77 163 100 Small Bottle of Water
dtext 69 288 984 Skill Required: 15
dtext 77 183 58 3 Nightshade
button 251 291 30009 30008 1 0 1
dtext 224 288 58 Mix
[DIALOG d_alchemy_recipe_weak_poison BUTTON]
ON=1
IF !(<SRC.CANMAKESKILL i_potion_weak_poison>)
SRC.SYSMESSAGENEG You lack the skill to make this poison.
ELIF (<SRC.CANMAKE i_potion_weak_poison>) && ((<SRC.near_alchemy_scroll i_alchemy_recipe_weak_poison>) || (<SRC.RESTEST i_alchemy_recipe_weak_poison>))
SRC.EMOTE starts making a Weak Poison
SRC.SOUND 578
MAKEITEM i_potion_weak_poison
ELSE
SRC.SYSMESSAGENEG you don't have all the required materials!
ENDIF
SDIALOG d_alchemy_recipe_weak_poison
return 1
(This post was last modified: 07-30-2012 01:55 PM by Coruja.)
|
|
07-30-2012 01:30 PM |
|
|
Messages In This Thread |
RE: More newbie gumper problems :P - Coruja - 07-30-2012 01:30 PM
|
User(s) browsing this thread: 1 Guest(s)