new drug: M99 (#1634) uses the Etorphine drug effect (#22). Stuns a target, but can also kill it if overdosed.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1642 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2013-04-09 21:11:39 +00:00
parent 426ffe306b
commit ea7b233e9c
3 changed files with 36 additions and 0 deletions
+11
View File
@@ -47,6 +47,7 @@ How do you make a drug?
262144 DRUG_TUNNELVISION increases tunnelvison, side effect only
524288 DRUG_LIFEDAMAGE damages life, sideeffect only
1048576 DRUG_CUREPOISON cures poison
2097152 DRUG_STUNANDKILL stuns the target for its duration. Can be lethal if overdosed (depends on bodytype)
You can combine "mix" different drug effects.
For example, the new drug 'Occulin' has a <DrugType>425984</DrugType>. This gives it the effects of DRUG_BLIND, DRUG_VISION and DRUG_TUNNELVISION. I've set the effects so that
@@ -282,4 +283,14 @@ Note: The regeneration drug has no entries - that is intended, because this effe
<ubDrugSideEffectRate>0</ubDrugSideEffectRate>
<ubMoralBacklash>1</ubMoralBacklash>
</DRUG>
<DRUG>
<ubType>22</ubType>
<name>Etorphine</name>
<ubDrugTravelRate>10</ubDrugTravelRate>
<ubDrugWearoffRate>1</ubDrugWearoffRate>
<ubDrugEffect>10</ubDrugEffect>
<ubDrugSideEffect>0</ubDrugSideEffect>
<ubDrugSideEffectRate>0</ubDrugSideEffectRate>
<ubMoralBacklash>0</ubMoralBacklash>
</DRUG>
</DRUGSLIST>
+20
View File
@@ -48885,4 +48885,24 @@
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1634</uiIndex>
<szItemName>M99</szItemName>
<szLongItemName>M99</szLongItemName>
<szItemDesc>A very strong animal tranquilizer. Lethal if overdosed, and you are not an elephant.</szItemDesc>
<szBRName>M99</szBRName>
<szBRDesc>Not for sale through BR.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>70</ubGraphicNum>
<ubWeight>1</ubWeight>
<ubPerPocket>8</ubPerPocket>
<ItemSize>16</ItemSize>
<usPrice>200</usPrice>
<ubCoolness>5</ubCoolness>
<Damageable>1</Damageable>
<Medical>1</Medical>
<DrugType>2097152</DrugType>
</ITEM>
</ITEMLIST>
@@ -95,4 +95,9 @@
<sItemIndex>1548</sItemIndex>
<ubOptimalNumber>3</ubOptimalNumber>
</INVENTORY>
<INVENTORY>
<uiIndex>19</uiIndex>
<sItemIndex>1634</sItemIndex>
<ubOptimalNumber>5</ubOptimalNumber>
</INVENTORY>
</INVENTORYLIST>