Item Recipe

  • Thread starter Thread starter poop121212
  • Start date Start date
P

poop121212

Guest
How do you do item recipes? Like u buy a axe then u buy a sword then u buy the script and it creates some item!
thx cya
 
conditions conditions conditions

ie...

Item Compariso... item 1 = true , item 2 = true, item 3 = true

action
Create item X
remove old items.....
Smartest thing you can do is to create "Variable's" on the items... makes for easier trigger writing.
 
Here's the beginning script of my old recipe trigger:

Code:
Recipies
    Events
        Unit - A unit Acquires an item
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Hero manipulating item) has an item of type Blade Dagger) Equal to True
                ((Hero manipulating item) has an item of type Crown of the Mistress) Equal to True
                ((Hero manipulating item) has an item of type Dahaka Dagger Recipe (550)) Equal to True
            Then - Actions
                Item - Remove (Item carried by (Hero manipulating item) of type Blade Dagger)
                Item - Remove (Item carried by (Hero manipulating item) of type Crown of the Mistress)
                Item - Remove (Item carried by (Hero manipulating item) of type Dahaka Dagger Recipe (550))
                Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
                Hero - Create Dahaka Dagger and give it to (Hero manipulating item)
            Else - Actions

You can use an if/then/else for each item recipe, and create all of them in one trigger.

I, of course now, use a drag and drop combination system. It creates a new item when you drag and drop the item on top of the other item in your inventory.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top