* Add random products datafield to the reaciton prototype. One of the items in the list will be used as additional products as a result of the reaction and will be persistent per round. Resolves #245 * Another try Add getter and setter for the reaction products field and add random products there. * There is no such product as CP14BasicEffectHealHeat * Try to visualize random products in the guidebook * experimental recipes * fix * file restructurization * Guidebook alchemy update * Update Alchemy.xml * fix * Update mixing_simple.yml --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
14 lines
390 B
C#
14 lines
390 B
C#
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Server._CP14.Alchemy;
|
|
|
|
[RegisterComponent, Access(typeof(CP14AlchemyExtractionSystem))]
|
|
public sealed partial class CP14PestleComponent : Component
|
|
{
|
|
[DataField]
|
|
public float Probability = 0.1f;
|
|
|
|
[DataField]
|
|
public SoundSpecifier HitSound = new SoundCollectionSpecifier("CP14Pestle", AudioParams.Default.WithVariation(0.2f));
|
|
}
|