Files
BarotraumaModServer/LocalMods/Barotraumatic/Items/Creatureegg/Embyro.xml

277 lines
21 KiBLFS
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="Fertile Crawler Egg" identifier="fertilemediumcrawleregg" nameidentifier="crawleregg" hideinmenus="true" tags="crawleregg,smallitem,egg,smallegg" health="40" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="200,205,152,255" scale="0.3" impactsoundtag="impact_soft">
<Upgrade gameversion="0.10.0.0" scale="0.5" />
<Price baseprice="1500" soldeverywhere="false">
<Price storeidentifier="outpost" multiplier="0.85" sold="false" />
<Price storeidentifier="city" multiplier="0.9" sold="false" minavailable="1" />
<Price storeidentifier="research" multiplier="1.2" sold="false" minavailable="1" />
<Price storeidentifier="military" multiplier="1.1" sold="false" />
<Price storeidentifier="mine" multiplier="0.85" sold="false" />
</Price>
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="8,280,118,145" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="alienblood" />
<Item identifier="adrenalinegland" />
</Deconstruct>
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<Holdable slots="RightHand,LeftHand,Any" holdpos="0,-70" handle1="0,10" handle2="0,-10">
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<!-- increase scale -->
<StatusEffect type="Always" target="This" Scale="0.006" />
<StatusEffect type="Always" target="Contained" Condition="-1" />
<!-- remove and spawn a large egg when scale is greater than or equal to 0.5 -->
<StatusEffect type="Always" target="This">
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="500" />
<particleemitter particle="brownchunks" particleamount="10" emitinterval="1000" velocitymin="0" velocitymax="100" anglemin="0" anglemax="360" scalemin="0.1" scalemax="0.3" />
<Conditional Scale="gte 0.5" />
<SpawnItem identifier="fertilecrawleregg" spawnposition="This" />
<Remove />
</StatusEffect>
</Holdable>
</Item>
<Item name="Fertile Crawler Egg" identifier="fertilecrawleregg" hideinmenus="true" health="50" tags="crawleregg,egg,largeegg" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="199,253,172,255" scale="0.5" impactsoundtag="impact_soft">
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="8,280,118,145" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="adrenalinegland" />
</Deconstruct>
<!-- rectangular body to prevent the egg from rolling -->
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<ItemContainer capacity="1" maxstacksize="1" hideitems="true" showcontainedstateindicator="false" canbeselected="true">
<GuiFrame relativesize="0.15,0.2" anchor="Center" style="ItemUI" />
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.4" scalemax="0.6" />
<Sound file="Content/Sounds/Damage/Gore5.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<!-- spawn a crawler and remove the item if scale is above 0.75 -->
<StatusEffect type="Always" target="This" Condition="0" setvalue="true">
<Conditional Scale="gte 0.75" />
<SpawnCharacter speciesname="Crawler_hatchling" />
<Remove />
</StatusEffect>
<!-- increase scale -->
<StatusEffect type="Always" target="This" Scale="0.005" />
<StatusEffect type="Always" target="Contained" Condition="-1" />
</ItemContainer>
<LightComponent range="5" lightcolor="255,0,0,61" powerconsumption="0" IsOn="true" castshadows="false" allowingameediting="false" pulsefrequency="1" pulseamount="0.30">
<sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.025" sourcerect="300,291,98,113" origin="0.5,0.6" alpha="1.0" />
</LightComponent>
<LightComponent range="40" lightcolor="255,199,0,58" powerconsumption="0" IsOn="true" castshadows="false" allowingameediting="false">
<sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.025" sourcerect="410,301,88,95" origin="0.5,0.6" alpha="1.0" />
</LightComponent>
</Item>
<Item name="Fertile Thresher Egg" identifier="fertiletigerthresheregg" nameidentifier="tigerthresheregg" hideinmenus="true" tags="tigerthresheregg,smallitem,egg,smallegg" health="60" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="200,205,152,255" scale="0.3" impactsoundtag="impact_soft">
<Upgrade gameversion="0.10.0.0" scale="0.5" />
<Price baseprice="1500" soldeverywhere="false">
<Price storeidentifier="outpost" multiplier="0.85" sold="false" />
<Price storeidentifier="city" multiplier="0.9" sold="false" minavailable="1" />
<Price storeidentifier="research" multiplier="1.2" sold="false" minavailable="1" />
<Price storeidentifier="military" multiplier="1.1" sold="false" />
<Price storeidentifier="mine" multiplier="0.85" sold="false" />
</Price>
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="165,280,114,145" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="alienblood" />
<Item identifier="adrenalinegland" />
</Deconstruct>
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<Holdable slots="RightHand,LeftHand,Any" holdpos="0,-70" handle1="0,10" handle2="0,-10">
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<!-- increase scale -->
<StatusEffect type="Always" target="This" Scale="0.006" />
<StatusEffect type="Always" target="Contained" Condition="-1" />
<!-- remove and spawn a large egg when scale is greater than or equal to 0.5 -->
<StatusEffect type="Always" target="This">
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="500" />
<particleemitter particle="brownchunks" particleamount="10" emitinterval="1000" velocitymin="0" velocitymax="100" anglemin="0" anglemax="360" scalemin="0.1" scalemax="0.3" />
<Conditional Scale="gte 0.5" />
<SpawnItem identifier="fertilethresheregg" spawnposition="This" />
<Remove />
</StatusEffect>
</Holdable>
</Item>
<Item name="Fertile Thresher Egg" identifier="fertilethresheregg" hideinmenus="true" tags="tigerthresheregg,egg,largeegg" health="70" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="199,253,172,255" scale="0.5" impactsoundtag="impact_soft">
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="165,280,114,145" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="adrenalinegland" />
</Deconstruct>
<!-- rectangular body to prevent the egg from rolling -->
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<ItemContainer capacity="1" maxstacksize="1" hideitems="true" showcontainedstateindicator="false" canbeselected="true">
<GuiFrame relativesize="0.15,0.2" anchor="Center" style="ItemUI" />
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.4" scalemax="0.6" />
<Sound file="Content/Sounds/Damage/Gore5.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<StatusEffect type="Always" target="This" Condition="0" setvalue="true">
<Conditional Scale="gte 0.75" />
<SpawnCharacter speciesname="Tigerthresher_hatchling" />
<Remove />
</StatusEffect>
<!-- increase scale -->
<StatusEffect type="Always" target="This" Scale="0.005" />
<StatusEffect type="Always" target="Contained" Condition="-1" />
</ItemContainer>
<LightComponent range="5" lightcolor="255,0,0,61" powerconsumption="0" IsOn="true" castshadows="false" allowingameediting="false" pulsefrequency="1" pulseamount="0.30">
<sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.025" sourcerect="300,291,98,113" origin="0.5,0.6" alpha="1.0" />
</LightComponent>
<LightComponent range="40" lightcolor="255,199,0,58" powerconsumption="0" IsOn="true" castshadows="false" allowingameediting="false">
<sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.025" sourcerect="410,301,88,95" origin="0.5,0.6" alpha="1.0" />
</LightComponent>
</Item>
<Item name="Fertile Mudraptor Egg" identifier="fertilemediummudraptoregg" nameidentifier="mudraptoregg" hideinmenus="true" tags="mudraptoregg,smallitem,ignorebyai,egg,smallegg" health="40" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="200,205,152,255" scale="0.3" impactsoundtag="impact_soft">
<Upgrade gameversion="0.10.0.0" scale="0.5" />
<Price baseprice="1500" soldeverywhere="false">
<Price storeidentifier="outpost" multiplier="0.85" sold="false" />
<Price storeidentifier="city" multiplier="0.9" sold="false" minavailable="1" />
<Price storeidentifier="research" multiplier="1.2" sold="false" minavailable="1" />
<Price storeidentifier="military" multiplier="1.1" sold="false" />
<Price storeidentifier="mine" multiplier="0.85" sold="false" />
</Price>
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="235,156,67,82" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="alienblood" />
<Item identifier="adrenalinegland" />
</Deconstruct>
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<Holdable slots="RightHand,LeftHand,Any" holdpos="0,-70" handle1="0,10" handle2="0,-10">
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<!-- increase scale -->
<StatusEffect type="Always" target="This" Scale="0.006" />
<StatusEffect type="Always" target="Contained" Condition="-1" />
<!-- remove and spawn a large egg when scale is greater than or equal to 0.5 -->
<StatusEffect type="Always" target="This">
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="500" />
<particleemitter particle="brownchunks" particleamount="10" emitinterval="1000" velocitymin="0" velocitymax="100" anglemin="0" anglemax="360" scalemin="0.1" scalemax="0.3" />
<Conditional Scale="gte 0.5" />
<SpawnItem identifier="fertilemudraptoregg" spawnposition="This" />
<Remove />
</StatusEffect>
</Holdable>
</Item>
<Item name="Fertile Mudraptor Egg" identifier="fertilemudraptoregg" hideinmenus="true" tags="mudraptoregg,egg,largeegg" health="70" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="199,253,172,255" scale="0.5" impactsoundtag="impact_soft">
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="80,105,124,147" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="adrenalinegland" />
</Deconstruct>
<!-- rectangular body to prevent the egg from rolling -->
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<ItemContainer capacity="1" maxstacksize="1" hideitems="true" showcontainedstateindicator="false" canbeselected="true">
<GuiFrame relativesize="0.15,0.2" anchor="Center" style="ItemUI" />
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.4" scalemax="0.6" />
<Sound file="Content/Sounds/Damage/Gore5.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
<StatusEffect type="Always" target="This" Condition="0" setvalue="true">
<Conditional Scale="gte 0.75" />
<SpawnCharacter speciesname="Mudraptor_hatchling" />
<Remove />
</StatusEffect>
<!-- increase scale -->
<StatusEffect type="Always" target="This" Scale="0.005" />
<StatusEffect type="Always" target="Contained" Condition="-1" />
</ItemContainer>
<LightComponent range="5" lightcolor="255,0,0,61" powerconsumption="0" IsOn="true" castshadows="false" allowingameediting="false" pulsefrequency="1" pulseamount="0.30">
<sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.025" sourcerect="300,291,98,113" origin="0.5,0.6" alpha="1.0" />
</LightComponent>
<LightComponent range="40" lightcolor="255,199,0,58" powerconsumption="0" IsOn="true" castshadows="false" allowingameediting="false">
<sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.025" sourcerect="410,301,88,95" origin="0.5,0.6" alpha="1.0" />
</LightComponent>
</Item>
<Item name="" identifier="mediumcrawlereggbtc" nameidentifier="crawleregg" hideinmenus="true" tags="smallitem,ignorebyai,smallegg,egg" health="40" damagedbyexplosions="true" damagedbyprojectiles="true" damagedbymeleeweapons="true" damagedbyrepairtools="true" category="Misc" spritecolor="200,205,152,255" scale="0.3" impactsoundtag="impact_soft">
<Upgrade gameversion="0.10.0.0" scale="0.5" />
<Price baseprice="500" soldeverywhere="false">
<Price storeidentifier="merchantoutpost" multiplier="0.85" sold="false" />
<Price storeidentifier="merchantcity" multiplier="0.9" sold="true" minavailable="1" />
<Price storeidentifier="merchantresearch" multiplier="1.2" sold="true" minavailable="1" />
<Price storeidentifier="merchantmilitary" multiplier="1.1" sold="false" />
<Price storeidentifier="merchantmine" multiplier="0.85" sold="false" />
<Price storeidentifier="merchantmedical" multiplier="0.85" sold="false" />
</Price>
<PreferredContainer primary="locker,toxcontainer" spawnprobability="0.01" />
<Sprite texture="Content/Items/CreatureLoot/CreatureLoot.png" depth="0.18" sourcerect="8,280,118,145" origin="0.5,0.5" />
<Deconstruct time="10">
<Item identifier="alienblood" />
<Item identifier="antibloodloss1" />
</Deconstruct>
<Body width="110" height="120" friction="1.0" restitution="0.01" angulardamping="1.0" />
<Holdable slots="RightHand,LeftHand,Any" holdpos="0,-70" handle1="0,10" handle2="0,-10">
<StatusEffect type="OnBroken" target="This">
<particleemitter particle="whitegoosplash" particleamount="20" velocitymin="0" velocitymax="300" anglemin="0" anglemax="360" scalemin="0.5" scalemax="1.0" emitinterval="0" particlespersecond="0" highqualitycollisiondetection="False" copyentityangle="False" />
<particleemitter particle="mudrapeggbrownchunks" particleamount="100" velocitymin="100" velocitymax="2000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="800" />
<Remove />
</StatusEffect>
<StatusEffect type="OnDamaged" target="This">
<particleemitter particle="mudrapeggbrownchunks" particleamount="8" velocitymin="100" velocitymax="1000" anglemin="0" anglemax="360" scalemin="0.2" scalemax="0.5" />
</StatusEffect>
<StatusEffect type="OnFire" target="This" Condition="-5.0" />
</Holdable>
<ItemContainer capacity="1" maxstacksize="1" hideitems="true" showcontainedstateindicator="false">
<Containable items="antibloodloss1">
<!-- increase scale -->
<StatusEffect type="OnContaining" target="This" Scale="0.006" />
<StatusEffect type="OnContaining" target="Contained" Condition="-1" />
<!-- remove and spawn a large egg when scale is greater than or equal to 0.5 -->
<StatusEffect type="OnContaining" target="This">
<Sound file="Content/Sounds/Damage/Gore6.ogg" range="500" />
<particleemitter particle="brownchunks" particleamount="10" emitinterval="1000" velocitymin="0" velocitymax="100" anglemin="0" anglemax="360" scalemin="0.1" scalemax="0.3" />
<Conditional Scale="gte 0.5" />
<SpawnItem identifier="crawleregg" spawnposition="This" />
<Remove />
</StatusEffect>
</Containable>
</ItemContainer>
</Item>
</Items>