Track LocalMods as part of monolith
This commit is contained in:
+68
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Override>
|
||||
<Afflictions>
|
||||
<!-- Tobacco Addiction Add-On compatibility | Invisible affliction that does nothing and only exists to have an affliction of type "tobaccocraving" exist when playing without the Tobacco Addiction Add-On to prevent errors -->
|
||||
<Affliction name="Craving a Smoke" identifier="he-tobaccowithdrawal" description="Your body is craving for another smoke." type="tobaccocraving" limbspecific="false" indicatorlimb="Head" maxstrength="100" affectmachines="true" showiconthreshold="1000" showicontoothersthreshold="1000" showinhealthscannerthreshold="1000" healableinmedicalclinic="false" iconcolors="0,100,0,255;100,0,0,255">
|
||||
<Effect minstrength="0" maxstrength="100" strengthchange="-100" />
|
||||
<icon texture="Content/UI/MainIconsAtlas.png" sourcerect="256,640,128,128" color="150,26,26,255" origin="0,0" />
|
||||
</Affliction>
|
||||
<!-- Tobacco Addiction Add-On compatibility | Invisible affliction that does nothing other than sit on the character after smoking tobacco to prevent gaining tobacco withdrawal symptoms for some time when playing with the Tobacco Addiction Add-On -->
|
||||
<!-- needs to be defined within the smokable item inside a StatusEffect that's applying the defined values per second with <Affliction identifier="ii_recenttobaccointake" amount="X" /> -->
|
||||
<!-- When applying values per second with default item health and condition drain: 50 = ~30min, 75 = ~45min, 100 = ~60min -->
|
||||
<Affliction name="" identifier="ii_recenttobaccointake" description="" type="recenttobaccointake" limbspecific="false" indicatorlimb="Head" maxstrength="3600" affectmachines="true" showiconthreshold="10000" showicontoothersthreshold="10000" showinhealthscannerthreshold="10000" healableinmedicalclinic="false" iconcolors="0,100,0,255;100,0,0,255">
|
||||
<!-- maximum amount of time to prevent tobacco withdrawal from increasing is 3600 seconds (60 minutes) | so player has to smoke a cigarette roughly every ~30 minutes, a cigar every ~60 minutes or a pipe every ~45 minutes to not suffer withdrawal -->
|
||||
<Effect minstrength="0" maxstrength="3600" strengthchange="-1" resistancefor="he-tobaccowithdrawal" minresistance="1" maxresistance="1">
|
||||
<!-- apply 0.006 tobacco addiction per second to the character if their tobacco addiction is at or below a value of 20 to prevent recovering from the addiction for the remaining duration of recent tobacco intake -->
|
||||
<StatusEffect type="OnActive" target="Character" comparison="And" interval="1" disabledeltatime="true" multiplyafflictionsbymaxvitality="true">
|
||||
<Conditional he-tobaccoaddiction="gt 0" />
|
||||
<Conditional he-tobaccoaddiction="lte 20" />
|
||||
<GiveAffliction identifier="he-tobaccoaddiction" amount="0.006" />
|
||||
</StatusEffect>
|
||||
</Effect>
|
||||
<icon texture="Content/UI/MainIconsAtlas.png" sourcerect="256,640,128,128" color="150,26,26,255" origin="0,0" />
|
||||
</Affliction>
|
||||
<!-- Hungry Europans compatibility | Invisible affliction that does nothing and only exists to have an affliction of type "mood" exist when playing without Hungry Europans to prevent errors -->
|
||||
<Affliction name="" identifier="ii_moodtype" description="" type="mood" limbspecific="false" indicatorlimb="Head" maxstrength="100" affectmachines="true" showiconthreshold="1000" showicontoothersthreshold="1000" showinhealthscannerthreshold="1000" healableinmedicalclinic="false" iconcolors="0,100,0,255;100,0,0,255">
|
||||
<Effect minstrength="0" maxstrength="100" strengthchange="-100" />
|
||||
<icon texture="Content/UI/MainIconsAtlas.png" sourcerect="256,640,128,128" color="150,26,26,255" origin="0,0" />
|
||||
</Affliction>
|
||||
<!-- Hungry Europans compatibility | Invisible affliction that does nothing and only exists to apply values of smoking addiction if the Tobacco Addiction Add-On is also installed -->
|
||||
<Affliction name="" identifier="he-tobaccoaddiction" description="" type="debuff" isbuff="false" limbspecific="false" maxstrength="100" indicatorlimb="Head" showiconthreshold="1000" showicontoothersthreshold="1000" showinhealthscannerthreshold="1000" iconcolors="100,120,100,255;90,130,90,255;80,140,80,255">
|
||||
<Effect minstrength="0" maxstrength="100" strengthchange="-100"></Effect>
|
||||
<icon texture="Content/UI/MainIconsAtlas.png" sourcerect="256,640,128,128" color="150,26,26,255" origin="0,0" />
|
||||
</Affliction>
|
||||
<!-- Lung Damage affliction for Neurotrauma compatibility -->
|
||||
<Affliction name="" identifier="lungdamage" description="" healableinmedicalclinic="false" type="gaze" isbuff="false" targets="human" causeofdeathdescription="" selfcauseofdeathdescription="" limbspecific="false" indicatorlimb="Torso" maxstrength="100" showiconthreshold="500" showinhealthscannerthreshold="20" damageoverlayalpha="0">
|
||||
<icon texture="Content/UI/MainIconsAtlas.png" sourcerect="128,384,128,128" color="195,136,60,255" origin="0,0" />
|
||||
</Affliction>
|
||||
<Affliction name="Smoking" identifier="smoking" description="Currently inhaling smoke." limbspecific="false" indicatorlimb="Head" activationthreshold="0" showiconthreshold="1000" showicontoothersthreshold="1000" showinhealthscannerthreshold="1000" karmachangeonapplied="0" maxstrength="5" affectmachines="false" healableinmedicalclinic="false">
|
||||
<Effect minstrength="0" maxstrength="5" strengthchange="0">
|
||||
<StatusEffect target="Character" targetlimb="Head">
|
||||
<Conditional HasStatusTag="neq inhaling" />
|
||||
<ReduceAffliction identifier="smoking" amount="3" />
|
||||
<ReduceAffliction type="mood" amount="3" />
|
||||
<Affliction identifier="he-tobaccoaddiction" amount="0.1" />
|
||||
<ParticleEmitter particle="ExhaleSmoke" colormultiplier="255,255,255,225" particlespersecond="5" anglemin="344" anglemax="344" distancemin="9" distancemax="10" velocitymin="30" velocitymax="50" scalemin="0.1" scalemax="0.1" copyentityangle="true" />
|
||||
</StatusEffect>
|
||||
<!-- NT compatibility | only applies lung damage if your character has one of the blood type afflictions from NT -->
|
||||
<StatusEffect target="Character" comparison="Or">
|
||||
<Conditional ominus="gt 0" />
|
||||
<Conditional aminus="gt 0" />
|
||||
<Conditional bminus="gt 0" />
|
||||
<Conditional abminus="gt 0" />
|
||||
<Conditional abplus="gt 0" />
|
||||
<Conditional aplus="gt 0" />
|
||||
<Conditional oplus="gt 0" />
|
||||
<Conditional bplus="gt 0" />
|
||||
<Affliction identifier="lungdamage" amount="0.1" />
|
||||
</StatusEffect>
|
||||
<StatusEffect target="Character" targetlimb="Head" availableoxygen="0" setvalue="true" duration="1.5" stackable="false" checkconditionalalways="true" comparison="And">
|
||||
<Conditional HasStatusTag="neq inhaling" />
|
||||
<Conditional smoking="gt 0" />
|
||||
<Sound file="%ModDir%/Content/Items/Misc/ExhaleSmoke.ogg" range="200" volume="1.0" loop="true" />
|
||||
</StatusEffect>
|
||||
</Effect>
|
||||
<icon texture="Content/UI/MainIconsAtlas.png" sourcerect="256,640,128,128" color="150,26,26,255" origin="0,0" />
|
||||
</Affliction>
|
||||
</Afflictions>
|
||||
</Override>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1677
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 142 KiB |
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<prefabs>
|
||||
<lighterflame lifetime="0.2" startdelaymin="0" startdelaymax="0" angularvelocitymin="0" angularvelocitymax="0" startrotationmin="-20" startrotationmax="20" rotatetodirection="False" drag="0" waterdrag="0" velocitychange="0,0.2" velocitychangewater="0,2.5" collisionradius="75" invariantcollisionsize="true" usecollision="True" deleteoncollision="False" friction="0" restitution="0.2" startsizemin="0.5,0.3" startsizemax="0.8,0.5" sizechangemin="0,0" sizechangemax="0,0" growtime="0.0" startcolor="255,255,255,255" endcolor="255,92,0,255" drawtarget="Air" blendstate="Additive" animduration="0.2" loopanim="True" drawontop="False" lifetimemin="0" middlecolor="255,255,255,255" usemiddlecolor="False" priority="1">
|
||||
<animatedsprite texture="Content/Particles/FlameRoundParticleSheet.png" sourcerect="0,0,2048,2048" columns="10" rows="5" origin="0.5,0.4" premultiplyalpha="false" />
|
||||
</lighterflame>
|
||||
<lighterspark lifetime="0.5" angularvelocitymin="0" angularvelocitymax="0" startrotationmin="0" startrotationmax="360" rotatetodirection="True" drag="0" waterdrag="0" velocitychange="0,-2.5" velocitychangewater="0,-0.5" collisionradius="1" usecollision="True" deleteoncollision="False" friction="0.5" restitution="0.25" startsizemin="0.2,0.1" startsizemax="0.3,0.2" sizechangemin="-0.25,-0.12" sizechangemax="-0.25,-0.12" growtime="0.25" startcolor="255,178,96,255" endcolor="255,178,96,255" drawtarget="Air" blendstate="Additive" startdelaymin="0" startdelaymax="0" animduration="0.5" loopanim="True" drawontop="False" lifetimemin="0" middlecolor="255,255,255,255" usemiddlecolor="False" priority="0">
|
||||
<sprite texture="Content/Particles/ParticleAtlas.png" sourcerect="392,83,106,16" />
|
||||
</lighterspark>
|
||||
<ExhaleSmoke lifetime="4" startdelaymin="0" startdelaymax="0" angularvelocitymin="0" angularvelocitymax="0" startrotationmin="0" startrotationmax="360" rotatetodirection="False" drag="0.6" waterdrag="0.6" velocitychange="0,0.5" velocitychangewater="0,0" collisionradius="40" usecollision="True" deleteoncollision="False" friction="0.01" restitution="0.1" startsizemin="0.3,0.3" startsizemax="0.5,0.5" sizechangemin="0.4,0.4" sizechangemax="0.4,0.4" growtime="0.1" startcolor="150,150,150,255" endcolor="150,150,150,0" drawtarget="Both" blendstate="AlphaBlend" animduration="1" loopanim="True" drawontop="False" lifetimemin="1" middlecolor="255,255,255,255" usemiddlecolor="True" priority="0">
|
||||
<sprite texture="Content/Particles/ParticleAtlas.png" sourcerect="384,254,128,128" />
|
||||
</ExhaleSmoke>
|
||||
</prefabs>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<infotexts language="English" nowhitespace="false" translatedname="English">
|
||||
<!-- Items -->
|
||||
<entityname.zippolighter>Lighter</entityname.zippolighter>
|
||||
<entitydescription.zippolighter>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighter>
|
||||
<entityname.packofcigarettes>Pack of Cigarettes</entityname.packofcigarettes>
|
||||
<entitydescription.packofcigarettes>Holds up to 20 cigarettes.</entitydescription.packofcigarettes>
|
||||
<entityname.cigarette>Cigarette</entityname.cigarette>
|
||||
<entitydescription.cigarette>A submariner's life is mentally taxing, but a good cigarette can help you soothe your nerves a bit. Ignite it with a lighter or an open fire.</entitydescription.cigarette>
|
||||
<entityname.crumpledpaper>Crumpled Paper</entityname.crumpledpaper>
|
||||
<entitydescription.crumpledpaper>A crumpled piece of paper. Flamable</entitydescription.crumpledpaper>
|
||||
<entityname.lighterfuel>Lighter Fuel</entityname.lighterfuel>
|
||||
<entitydescription.lighterfuel>Used to refill a lighter. Simply hold it onto the lighter.</entitydescription.lighterfuel>
|
||||
<entityname.zippolighterblue>Blue Lighter</entityname.zippolighterblue>
|
||||
<entitydescription.zippolighterblue>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighterblue>
|
||||
<entityname.zippolighterred>Red Lighter</entityname.zippolighterred>
|
||||
<entitydescription.zippolighterred>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighterred>
|
||||
<entityname.zippolightergreen>Green Lighter</entityname.zippolightergreen>
|
||||
<entitydescription.zippolightergreen>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolightergreen>
|
||||
<entityname.zippolighterpurple>Purple Lighter</entityname.zippolighterpurple>
|
||||
<entitydescription.zippolighterpurple>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighterpurple>
|
||||
<entityname.zippolighterpink>Pink Lighter</entityname.zippolighterpink>
|
||||
<entitydescription.zippolighterpink>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighterpink>
|
||||
<entityname.zippolighteryellow>Yellow Lighter</entityname.zippolighteryellow>
|
||||
<entitydescription.zippolighteryellow>Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighteryellow>
|
||||
<entityname.zippolighterblackengraved>Black Engraved Lighter</entityname.zippolighterblackengraved>
|
||||
<entitydescription.zippolighterblackengraved>A rare and more fuel efficient lighter with engraving. Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolighterblackengraved>
|
||||
<entityname.zippolightersilverengraved>Silver Engraved Lighter</entityname.zippolightersilverengraved>
|
||||
<entitydescription.zippolightersilverengraved>A rare and more fuel efficient lighter with engraving. Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolightersilverengraved>
|
||||
<entityname.zippolightergoldengraved>Gold Engraved Lighter</entityname.zippolightergoldengraved>
|
||||
<entitydescription.zippolightergoldengraved>A rare and more fuel efficient lighter with engraving. Used to light up nearby ignitable items like cigarettes or molotov cocktails. Simply hold it closely to the item.</entitydescription.zippolightergoldengraved>
|
||||
<!-- Afflictions -->
|
||||
<afflictionname.smoking>Smoking</afflictionname.smoking>
|
||||
<afflictiondescription.smoking>Currently inhaling smoke.</afflictiondescription.smoking>
|
||||
</infotexts>
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<infotexts language="German" nowhitespace="false" translatedname="Deutsch">
|
||||
<!-- Translated by profole & _]|M|[_ / Übersetzt von profole & _]|M|[_ -->
|
||||
<!-- Items -->
|
||||
<entityname.zippolighter>Feuerzeug</entityname.zippolighter>
|
||||
<entitydescription.zippolighter>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighter>
|
||||
<entityname.packofcigarettes>Zigarettenpackung</entityname.packofcigarettes>
|
||||
<entitydescription.packofcigarettes>Enthält bis zu 20 Zigaretten.</entitydescription.packofcigarettes>
|
||||
<entityname.cigarette>Zigarette</entityname.cigarette>
|
||||
<entitydescription.cigarette>Das Leben eines U-Boottauchers ist anstrengend, aber eine gute Zigarette kann die Nerven beruhigen. Zünde sie mit einem Feuerzeug oder offenem Feuer an (obwohl offenes Feuer in einem U-Boot gegen jegliche Brandschutzverordnungen verstoßen würde...).</entitydescription.cigarette>
|
||||
<entityname.crumpledpaper>Geknülltes Papier</entityname.crumpledpaper>
|
||||
<entitydescription.crumpledpaper>Ein geknülltes Blatt Papier. Brennbar.</entitydescription.crumpledpaper>
|
||||
<entityname.lighterfuel>Feuerzeugbenzin</entityname.lighterfuel>
|
||||
<entitydescription.lighterfuel>Wird benutzt um Feuerzeuge aufzufüllen. Halte es einfach an das Feuerzeug.</entitydescription.lighterfuel>
|
||||
<entityname.zippolighterblue>Blaues Feuerzeug</entityname.zippolighterblue>
|
||||
<entitydescription.zippolighterblue>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighterblue>
|
||||
<entityname.zippolighterred>Rotes Feuerzeug</entityname.zippolighterred>
|
||||
<entitydescription.zippolighterred>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighterred>
|
||||
<entityname.zippolightergreen>Grünes Feuerzeug</entityname.zippolightergreen>
|
||||
<entitydescription.zippolightergreen>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolightergreen>
|
||||
<entityname.zippolighterpurple>Lila Feuerzeug</entityname.zippolighterpurple>
|
||||
<entitydescription.zippolighterpurple>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighterpurple>
|
||||
<entityname.zippolighterpink>Pinkes Feuerzeug</entityname.zippolighterpink>
|
||||
<entitydescription.zippolighterpink>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighterpink>
|
||||
<entityname.zippolighteryellow>Gelbes Feuerzeug</entityname.zippolighteryellow>
|
||||
<entitydescription.zippolighteryellow>Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighteryellow>
|
||||
<entityname.zippolighterblackengraved>Schwarzes Graviertes Feuerzeug</entityname.zippolighterblackengraved>
|
||||
<entitydescription.zippolighterblackengraved>Ein seltenes, effizienteres Feuerzeug mit Gravur. Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolighterblackengraved>
|
||||
<entityname.zippolightersilverengraved>Silbernes Graviertes Feuerzeug</entityname.zippolightersilverengraved>
|
||||
<entitydescription.zippolightersilverengraved>Ein seltenes, effizienteres Feuerzeug mit Gravur. Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolightersilverengraved>
|
||||
<entityname.zippolightergoldengraved>Goldenes Graviertes Feuerzeug</entityname.zippolightergoldengraved>
|
||||
<entitydescription.zippolightergoldengraved>Ein seltenes, effizienteres Feuerzeug mit Gravur. Wird benutzt um anzündbare Gegenstände wie Zigaretten oder Molotov Cocktails anzuzünden. Halte es einfach in die Nähe solcher Items.</entitydescription.zippolightergoldengraved>
|
||||
<!-- Afflictions -->
|
||||
<afflictionname.smoking>Rauchen</afflictionname.smoking>
|
||||
<afflictiondescription.smoking>Atmet gerade Rauch ein.</afflictiondescription.smoking>
|
||||
</infotexts>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<style>
|
||||
<Papersheet color="255,255,255,242" textcolor="0,0,0,255">
|
||||
<Sprite name="Papersheet" texture="%ModDir:3217556378%/Content/Items/Papersheet.png" size="0.0, 0.0" sourcerect="0,0,512,512" slice="110,130,411,464" origin="0.5,0.5" compress="true" />
|
||||
</Papersheet>
|
||||
</style>
|
||||
Reference in New Issue
Block a user