Files
ArachnaeSwarm/Source/ArachnaeSwarm/Hediffs/HediffComp_TerrainBasedSeverity/HediffCompProperties_TerrainBasedSeverity.cs
2025-09-17 12:54:07 +08:00

25 lines
756 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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);
}
}
}