A paramedic can use empty bloodbags (<emptybloodbag>-tag, item #1756) to create blood bags (<bloodbag>-tag, item #1757) from other mercs. These can then boost the health returned by surgery by ONTOP_PERCENT_SURGERY_HEAL_BLOODBAG percent.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2467 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2019-02-10 16:22:27 +00:00
parent 92804af62d
commit 553225197a
12 changed files with 90 additions and 2 deletions
+7 -1
View File
@@ -465,6 +465,11 @@ AP_SODAMACHINE = 30
;***********************************************************************
AP_CAMERA = 30
;***********************************************************************
;* The APs to take another merc's blood to fill a blood bag *
;***********************************************************************
AP_FILLBLOODBAG = 100
[BPConstants]
;***********************************************************************
;* Ratio of breath points to 1 energy (default = 100) *
@@ -543,4 +548,5 @@ BP_FORTIFICATION = 700
BP_REMOVE_FORTIFICATION = 400
BP_HANDCUFF = 100
BP_APPLYITEM = 5
BP_INVENTORY_ARM = 0
BP_INVENTORY_ARM = 0
BP_FILLBLOODBAG = 20
Binary file not shown.
Binary file not shown.
+3
View File
@@ -449,6 +449,9 @@ NUMBER_OF_TRAITS_NEEDED_FOR_SURGERY = 1
BASE_PERCENT_SURGERY_HEAL = 10
ONTOP_PERCENT_SURGERY_HEAL_PER_TRAIT = 20
; if a doctor has a blood bag and chooses to use it, this percentage is added to the health amount restored by surgery
ONTOP_PERCENT_SURGERY_HEAL_BLOODBAG = 15
; Determines the percentage of medical supplies are used for surgery
MEDICAL_BAG_CONSUMPTION_BY_SURGERY = 100
@@ -195,6 +195,8 @@
<diseaseprotectionhand>0</diseaseprotectionhand>
<usRiotShieldStrength>0</usRiotShieldStrength>
<usRiotShieldGraphic>0</usRiotShieldGraphic>
<bloodbag>0</bloodbag>
<emptybloodbag>0</emptybloodbag>
<STAND_MODIFIERS>
<FlatBase>0</FlatBase>
<PercentBase>0</PercentBase>
@@ -52146,4 +52148,51 @@
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1756</uiIndex>
<szItemName>E. Blood bag</szItemName>
<szLongItemName>Empty blood bag</szLongItemName>
<szItemDesc>This blood bag can be filled with the blood of a (hopefully willing) donor.</szItemDesc>
<szBRName>Blood bag</szBRName>
<szBRDesc>A simple blood bag, used to store blood for medical purposes.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>908</ubGraphicNum>
<ubWeight>1</ubWeight>
<ubPerPocket>4</ubPerPocket>
<ItemSize>16</ItemSize>
<usPrice>4</usPrice>
<ubCoolness>1</ubCoolness>
<BR_NewInventory>6</BR_NewInventory>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<emptybloodbag>1</emptybloodbag>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1757</uiIndex>
<szItemName>Blood bag</szItemName>
<szLongItemName>Blood bag</szLongItemName>
<szItemDesc>This package of fresh blood can be used up to boost a surgery.</szItemDesc>
<szBRName>Blood bag</szBRName>
<szBRDesc>Not for sale through BR.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubCursor>5</ubCursor>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>907</ubGraphicNum>
<ubWeight>6</ubWeight>
<ubPerPocket>2</ubPerPocket>
<ItemSize>18</ItemSize>
<usPrice>25</usPrice>
<ubCoolness>1</ubCoolness>
<Medical>1</Medical>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<bloodbag>1</bloodbag>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
</ITEMLIST>
@@ -85,4 +85,9 @@
<sItemIndex>1752</sItemIndex>
<ubOptimalNumber>2</ubOptimalNumber>
</INVENTORY>
<INVENTORY>
<uiIndex>17</uiIndex>
<sItemIndex>1756</sItemIndex>
<ubOptimalNumber>6</ubOptimalNumber>
</INVENTORY>
</INVENTORYLIST>
@@ -115,4 +115,9 @@
<sItemIndex>1752</sItemIndex>
<ubOptimalNumber>4</ubOptimalNumber>
</INVENTORY>
<INVENTORY>
<uiIndex>23</uiIndex>
<sItemIndex>1756</sItemIndex>
<ubOptimalNumber>6</ubOptimalNumber>
</INVENTORY>
</INVENTORYLIST>
+12 -1
View File
@@ -460,6 +460,16 @@ AP_WATERTAP = 5
;***********************************************************************
AP_SODAMACHINE = 7
;***********************************************************************
;* The APs to take a photo *
;***********************************************************************
AP_CAMERA = 7
;***********************************************************************
;* The APs to take another merc's blood to fill a blood bag *
;***********************************************************************
AP_FILLBLOODBAG = 25
[BPConstants]
;***********************************************************************
;* Ratio of breath points to 1 energy (default = 100) *
@@ -538,4 +548,5 @@ BP_FORTIFICATION = 700
BP_REMOVE_FORTIFICATION = 400
BP_HANDCUFF = 100
BP_APPLYITEM = 5
BP_INVENTORY_ARM = 0
BP_INVENTORY_ARM = 0
BP_FILLBLOODBAG = 20
Binary file not shown.
Binary file not shown.
+3
View File
@@ -449,6 +449,9 @@ NUMBER_OF_TRAITS_NEEDED_FOR_SURGERY = 1
BASE_PERCENT_SURGERY_HEAL = 10
ONTOP_PERCENT_SURGERY_HEAL_PER_TRAIT = 20
; if a doctor has a blood bag and chooses to use it, this percentage is added to the health amount restored by surgery
ONTOP_PERCENT_SURGERY_HEAL_BLOODBAG = 15
; Determines the percentage of medical supplies are used for surgery
MEDICAL_BAG_CONSUMPTION_BY_SURGERY = 100
+6
View File
@@ -175,6 +175,8 @@
<CrowbarModifier>0</CrowbarModifier>
<DisarmModifier>0</DisarmModifier>
<RepairModifier>0</RepairModifier>
<usHackingModifier>0</usHackingModifier>
<usBurialModifier>0</usBurialModifier>
<DamageChance>0</DamageChance>
<DirtIncreaseFactor>0.0</DirtIncreaseFactor>
<clothestype>0</clothestype>
@@ -191,6 +193,10 @@
<usPortionSize>0</usPortionSize>
<diseaseprotectionface>0</diseaseprotectionface>
<diseaseprotectionhand>0</diseaseprotectionhand>
<usRiotShieldStrength>0</usRiotShieldStrength>
<usRiotShieldGraphic>0</usRiotShieldGraphic>
<bloodbag>0</bloodbag>
<emptybloodbag>0</emptybloodbag>
<STAND_MODIFIERS>
<FlatBase>0</FlatBase>
<PercentBase>0</PercentBase>