Item scripts?

Discussion in 'Fallout General Modding' started by Skynet, Aug 15, 2004.

  1. Skynet

    Skynet Mildly Dipped

    Jun 5, 2003
    How can I edit item scripts? For example, how can I modify booze so that you get the alcohol addiction, if you drink it much?

    And please, don't tell me that it is hard-coded :x
  2. PsychoSniper

    PsychoSniper So Old I'm Losing Radiation Signs

    Jun 27, 2003
    It's hardcoded......

    I have no clue, but the addictive booze sounds cool.
  3. Ashmo

    Ashmo Half-way Through My Half-life

    Jul 2, 2004
    I don't know how to add addictions (hard-coded I guess), but you can edit the item stats (*.PRO files) with any item editor you find in the downloads section.
    I suppose the item scripts are somewhere in the scripts folder -- but then again, that's only what logic dictates.
  4. Berth

    Berth First time out of the vault

    May 21, 2004
    you can modify addiction type if your item is identified as drug item...
    you can modifying easily with fic...

    but i alcohol isn't in the list so as the others said it may be hardcoded...

    you can edit item script with fse (if the mapper is on your hd)
  5. ColJack

    ColJack Where'd That 6th Toe Come From?

    May 7, 2003
    i think i figured out the drugs..

    there are 3 possible effects the can have ( chosen from a list.. )
    followed by 3 ammounts for each effect..
    ammount 0 is the immediate effect quantity..
    ammount 2 is the effect quantity after duration 1 has passed ( ie after it wears off.. )
    ammount 3 is the effect quantity after duration 2 has passed ( ie after the side effects wear off .. )
    duration 1 is the time ammount 1 lasts ( in game ticks probably )
    duration 2 is the time ammount 2 lasts ( again in game ticks but i'm not sure if it's timed after duration 1 ends, or at ingestion of the drug )
    addiction is the chance of addiction ( don't know whether this is in percent, or total use )
    w.effect is the withdrawl affect ( for the addiction.. )
    w.onset is the time for the addiction to expire

    so to answer your question, you can just add an addiction chance, and a withdrawl effect to each alcohol type you want to be addictive in their proto files...