Pipebombs and IED rework (#25705)

* inital

* 2-9

* add crafting function, rename ied to fire bomb

* add firebomb ignition

* fikss

* change damage values

* add note

* fix tests i think

* ok

* good

* Review

* warning

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Mr. 27
2024-03-14 00:27:08 -04:00
committed by GitHub
parent 2f2cd4aab7
commit 3cb1c585c5
20 changed files with 291 additions and 44 deletions

View File

@@ -25,6 +25,12 @@ public sealed partial class ExplosionPrototype : IPrototype
[DataField("damagePerIntensity", required: true)]
public DamageSpecifier DamagePerIntensity = default!;
/// <summary>
/// Amount of firestacks to apply in addition to igniting.
/// </summary>
[DataField]
public float? FireStacks;
/// <summary>
/// This set of points, together with <see cref="_tileBreakIntensity"/> define a function that maps the
/// explosion intensity to a tile break chance via linear interpolation.