123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- # drugs
- !! How to use:
- !! Smoking: gs 'drugs', 'smoke' (if it isn''t svetas cigarette, you have to add siga += 1)
- !! Joint/Weed: gs 'drugs', 'joint' (if it isn''t svetas joint, you have to add joint += 1)
- !! Heroin: gs 'drugs', 'heroin'
- !! Cocaine: gs 'drugs', 'cocaine' (if it isn''t svetas cocaine, you have to add dur += 1)
- !! Amphetamine: gs 'drugs', 'amphetamine' (if it isn''t svetas amphetamine, you have to add amphetamine += 1)
- !! Alcohol: gs 'drugs', 'alcohol', 'type', count
- !! Types: beer, champagne, moonshine, rum, scotch, vodka, wine, whiskey
- !! Count: Number of drinks of the chosen type sveta drinks (if the number is 1, you don''t have add the count, but it isn''t a problem if you do)
- !! Example 1: sveta drinks vodka gs 'drugs', 'alcohol', 'vodka' (or gs 'drugs', 'alcohol', 'vodka', 1)
- !! Example 2: sveta drinks 2 beer gs 'drugs', 'alcohol', 'beer', 2
- if $ARGS[0] = 'smoke':
- if NarkImmune = 0:
- smoker += 1
- if smoker > 20 and smoke_exp = 0: smoke_exp = 1
- end
- siga -= 1
- smokeDay = daystart
- smokeHour = hour
- smokeminut = minut + 5
- smokerNeed = 0
- cumspclnt = 2
- gs 'cum_cleanup'
- pcs_breath = 0
- pcs_mood += 100
- wipo += 100
- if pcs_hydra >= 100:
- pcs_hydra -= 5
- else
- pcs_hydra -= 10
- end
- if pcs_energy < 80: pcs_energy += 4
- gs 'stat'
- elseif $ARGS[0] = 'joint':
- if NarkImmune = 0:
- joint_smoked += 1
- if joint_smoked > 5 and joint_exp = 0: joint_exp = 1
- end
- joint -= 1
- jointday = daystart
- jointhour = hour
- jointminut = minut + 5
- if minut > 30:
- jointhigh = 2
- else
- jointhigh = 1
- end
- cumspclnt = 2
- gs 'cum_cleanup'
- pcs_breath = 0
- pcs_mood += 100
- if pcs_hydra >= 100:
- pcs_hydra -= 5
- else
- pcs_hydra -= 10
- end
- if pcs_energy > 20:
- pcs_energy -= 20
- else
- pcs_energy = 0
- end
- gs 'stat'
- elseif $ARGS[0] = 'heroin':
- if NarkImmune = 0:
- SNarkTimes += 1
- if SNarkTimes > 1 and heroin_exp = 0: heroin_exp = 1
- end
- StrongNarkota += 25
- pcs_mood = 100
- pcs_health -= 10
- gs 'stat'
- elseif $ARGS[0] = 'cocaine':
- if NarkImmune = 0:
- cocaine_count += 1
- if cocaine_count > 3 and cocaine_exp = 0: cocaine_exp = 1
- end
- dur -= 1
- pcs_health = pcs_vital * 10 + pcs_stren * 5
- pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
- pcs_mood = 100
- pcs_horny = 100
- nark += 10
- gs 'stat'
- elseif $ARGS[0] = 'amphetamine':
- if NarkImmune = 0:
- amphetamine_count += 1
- if amphetamine_count > 5 and amphetamine_exp = 0: amphetamine_exp = 1
- end
- if amphIntake < 2:
- '<font color= blue>You swallow the white pill.</font>'
- amphIntake += 1
- amphetamine -=1
- amphHigh = 12
- else
- 'Your heart is already beating uncontrollably in your chest, you should avoid taking anymore pills.'
- end
- gs 'stat'
- elseif $ARGS[0] = 'alcohol':
- if NarkImmune = 0:
- alcohol_count += 1
- if alcohol_count > 15 and alcohol_exp = 0: alcohol_exp = 1
- end
- if ARGS[2] <= 1:
- alc_count = 1
- else
- alc_count = ARGS[2]
- end
- :alcohol_jump
- alc_count -= 1
- frost = 0
- pcs_health -= 5
- pcs_energy -= 5
- cumspclnt = 2
- gs 'cum_cleanup'
- pcs_breath = 0
- if $ARGS[1] = 'beer':
- alko += 1
- fat += 3
- pcs_mood += 10
- if pcs_hydra >= 100:
- pcs_hydra += 5
- else
- pcs_hydra += 10
- end
- elseif $ARGS[1] = 'wine' or $ARGS[1] = 'champagne':
- alko += 2
- fat += 4
- pcs_mood += 20
- if pcs_hydra >= 100:
- pcs_hydra += 5
- else
- pcs_hydra += 10
- end
- elseif $ARGS[1] = 'vodka' or $ARGS[1] = 'whiskey' or $ARGS[1] = 'scotch' or $ARGS[1] = 'rum':
- alko += 3
- fat += 6
- if pcs_hydra >= 100:
- pcs_hydra -= 5
- else
- pcs_hydra -= 10
- end
- elseif $ARGS[1] = 'moonshine':
- alko += 5
- fat += 6
- if pcs_hydra >= 100:
- pcs_hydra -= 5
- else
- pcs_hydra -= 10
- end
- else
- '<br><font color = red>Developer note: The type of alcohol is missing in this scene. Please report this and a small part of the text of the current scene as a bug.</font>'
- end
- if alc_count > 0: jump 'alcohol_jump'
- killvar 'alc_count'
- gs 'stat'
- else
- '<br><font color = red>Developer note: The type of drug is wrong or missing in this scene. Please report this and a small part of the text of the current scene as a bug.</font>'
- end
- !!Addictive Personality Trait
- if addictive_cheat = 0:
- addictive_exp = smoke_exp + joint_exp + heroin_exp + cocaine_exp + alcohol_exp + amphetamine_exp
- if addictive_exp = 2 and addictive_trait_lvl < 1:
- addictive_trait_lvl = 1
- elseif addictive_exp = 3 and addictive_trait_lvl < 2:
- addictive_trait_lvl = 2
- elseif addictive_exp >= 4 or (heroin_exp = 1 and cocaine_exp = 1) and addictive_trait_lvl < 3:
- addictive_trait_lvl = 3
- end
- end
- --- drugs ---------------------------------
|