EnsureComp<IgnitionSourceComponent>(uid);
_ignitionSourceSystem.SetIgnited(uid);
- // TODO FLAMMABLE: further balancing
- var damageScale = Math.Min((int)flammable.FireStacks, 5);
+ var damageScale = MathF.Min(flammable.FireStacks, 5);
- if(TryComp(uid, out TemperatureComponent? temp))
+ if (TryComp(uid, out TemperatureComponent? temp))
_temperatureSystem.ChangeHeat(uid, 12500 * damageScale, false, temp);
_damageableSystem.TryChangeDamage(uid, flammable.Damage * damageScale);
/// The amount of energy produced each second when producing an item.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
- public float EnergyPerSecond = 40000;
+ public float EnergyPerSecond = 30000;
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextSecond;
types:
Piercing: 9
- type: Temperature
- heatDamageThreshold: 400
+ heatDamageThreshold: 360
coldDamageThreshold: 285
currentTemperature: 310.15
specificHeat: 42
- coldDamage:
- types:
- Cold : 0.1 #per second, scales with temperature & other constants
- heatDamage:
- types:
- Heat : 0.1 #per second, scales with temperature & other constants
- type: Sprite
drawdepth: Mobs
layers:
canResistFire: true
damage:
types:
- Heat: 3
+ Heat: 9
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Generic_mob_burning
- type: Flammable
damage:
types:
- Heat: 2.0
+ Heat: 6.0
# slightly wider thresholds
- type: Temperature
heatDamageThreshold: 390
- type: Blindable
# Other
- type: Temperature
- heatDamageThreshold: 360
+ heatDamageThreshold: 325
coldDamageThreshold: 260
currentTemperature: 310.15
specificHeat: 42
Cold: 0.1 #per second, scales with temperature & other constants
heatDamage:
types:
- Heat: 0.1 #per second, scales with temperature & other constants
+ Heat: 1.5 #per second, scales with temperature & other constants
- type: ThermalRegulator
metabolismHeat: 800
radiatedHeat: 100
- type: Flammable
damage:
types:
- Heat: 1.5 # moths burn more easily
+ Heat: 4.5 # moths burn more easily
- type: Temperature # Moths hate the heat and thrive in the cold.
- heatDamageThreshold: 335
+ heatDamageThreshold: 320
coldDamageThreshold: 230
currentTemperature: 310.15
specificHeat: 46
Cold : 0.05 #per second, scales with temperature & other constants
heatDamage:
types:
- Heat : 0.2 #per second, scales with temperature & other constants
+ Heat : 3 #per second, scales with temperature & other constants
- type: Sprite # sprite again because we want different layer ordering
noRot: true
drawdepth: Mobs
Cold : 0.1 #per second, scales with temperature & other constants
heatDamage:
types:
- Heat : 0.1 #per second, scales with temperature & other constants
+ Heat : 1.5 #per second, scales with temperature & other constants
- type: entity
parent: BaseSpeciesDummy
components:
- type: AtmosExposed
- type: Temperature
- heatDamageThreshold: 360
+ heatDamageThreshold: 325
coldDamageThreshold: 0
currentTemperature: 310.15
coldDamage: #per second, scales with temperature & other constants
specificHeat: 42
heatDamage: #per second, scales with temperature & other constants
types:
- Heat : 0.1
+ Heat : 1.5
- type: ThermalRegulator
metabolismHeat: 800
radiatedHeat: 100
normalBodyTemperature: 310.15
thermalRegulationTemperatureThreshold: 25
- type: Temperature
- heatDamageThreshold: 360
+ heatDamageThreshold: 325
coldDamageThreshold: 260
currentTemperature: 310.15
specificHeat: 42
Cold: 1 #per second, scales with temperature & other constants
heatDamage:
types:
- Heat: 1 #per second, scales with temperature & other constants
+ Heat: 1.5 #per second, scales with temperature & other constants
- type: Barotrauma
damage:
types:
canResistFire: true
damage: #per second, scales with number of fire 'stacks'
types:
- Heat: 1
+ Heat: 3
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Generic_mob_burning
types: {}
damage:
types:
- Heat: 1
+ Heat: 3
- type: Reactive
groups:
Flammable: [Touch]
fireSpread: true
damage:
types:
- Heat: 1
+ Heat: 3
- type: GrowingKudzu
growthTickChance: 0.3
- type: AtmosExposed
types: {}
damage:
types:
- Heat: 1
+ Heat: 5
- type: Reactive
groups:
Flammable: [Touch]
types: {}
damage:
types:
- Heat: 1
+ Heat: 5
- type: Reactive
groups:
Flammable: [Touch]
fireSpread: true
damage:
types:
- Heat: 1 #per second, scales with number of fire 'stacks'
+ Heat: 3 #per second, scales with number of fire 'stacks'
- type: Appearance
- type: FireVisuals
sprite: Effects/fire.rsi
fireSpread: true
damage:
types:
- Heat: 1 #per second, scales with number of fire 'stacks'
+ Heat: 3 #per second, scales with number of fire 'stacks'
- type: Appearance
- type: FireVisuals
sprite: Effects/fire.rsi