313{
315 {
317
319 {
321
324 {
327
329
331 {
335 }
336
340 {
343 {
346 {
350 }
351 }
352 }
353 }
354 }
355 }
356
358 {
363
365 {
367 {
369
372
373 float time = m_ExecuteInterval;
374 if (m_ExecuteInterval == -1)
376
379 {
382 }
383
385
387 {
389 }
391 {
393
396 else
398 }
399 }
400 }
401 }
402
404 {
408
409
410 if (
ent.CanHaveTemperature() && !
ent.IsSelfAdjustingTemperature())
411 {
414 ent.RefreshTemperatureAccess(
dta);
415 else
416 ent.SetTemperatureEx(
dta);
417 }
418
419
422 {
425 {
427 {
429 }
430 }
431 }
432
433 if (
ent.GetInventory().GetCargo())
434 {
437 {
440 {
442 {
444 }
445 }
446 }
447 }
448 }
449
451 {
453
455
459
462 {
465 }
466 }
467
470 {
472
476
478
480 }
481}
482
485{
487 {
488 m_AffectsPlayer = false;
489 }
490}
491
ETemperatureAccessTypes
Definition TemperatureAccessConstants.c:2
override void WarmAndCoolItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array< Object > nearestObjects)
Definition UniversalTemperatureSourceLambdaBaseImpl.c:219
override void DryItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array< Object > nearestObjects)
Definition UniversalTemperatureSourceLambdaBaseImpl.c:176
void UpdateVicinityTemperatureRecursive(EntityAI ent, TemperatureData dta, float heatPermeabilityCoef=1.0)
Definition UniversalTemperatureSourceLambdaBaseImpl.c:265
UniversalTemperatureSourceLambdaBaseImpl UniversalTemperatureSourceLambdaBase UniversalTemperatureSourceLambdaEngine()
Definition UniversalTemperatureSourceLambdaBaseImpl.c:175
override void Execute(UniversalTemperatureSourceSettings pSettings, UniversalTemperatureSourceResult resultValues)
Definition UniversalTemperatureSourceLambdaBaseImpl.c:312
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition constants.c:638
Definition InventoryItem.c:731
Definition ObjectTyped.c:2
Definition TemperatureData.c:2
Definition UniversalTemperatureSourceLambdaBase.c:2
Definition UniversalTemperatureSourceLambdaBaseImpl.c:2
Definition UniversalTemperatureSource.c:2
Definition EnConvert.c:106
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
InventoryTraversalType
tree traversal type, for more see http://en.wikipedia.org/wiki/Tree_traversal
Definition gameplay.c:6
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static const float TEMPERATURE_SENSITIVITY_THRESHOLD
Definition constants.c:898
const float STATE_DAMP
Definition constants.c:834
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static proto float AbsFloat(float f)
Returns absolute value.