25 lines
756 B
C#
25 lines
756 B
C#
using System.Collections.Generic;
|
||
using Verse;
|
||
|
||
namespace ArachnaeSwarm
|
||
{
|
||
public class HediffCompProperties_TerrainBasedSeverity : HediffCompProperties
|
||
{
|
||
// 检查效果的时间间隔(以ticks为单位)
|
||
public int interval = 60;
|
||
|
||
// 当角色站在此列表中的任何地形上时,严重性的变化值
|
||
public float severityOnTerrain = 0f;
|
||
|
||
// 当角色不在任何目标地形上时,严重性的变化值
|
||
public float severityOffTerrain = 0f;
|
||
|
||
// 目标地形的defName列表
|
||
public List<TerrainDef> terrainDefs;
|
||
|
||
public HediffCompProperties_TerrainBasedSeverity()
|
||
{
|
||
compClass = typeof(HediffComp_TerrainBasedSeverity);
|
||
}
|
||
}
|
||
} |