Kenshi
Customized fcs def (This is not a mod)
 This topic has been pinned, so it's probably important
Lucius  [developer] 7 Oct, 2023 @ 1:13am
Modification of Referenced Object Types
Some properties may be able to work with an object type whose referent is different from the original.
It is possible to have FCS reference a different object type by changing the definition of fcs.def.

一部のプロパティは、参照先が本来と異なるオブジェクト型でも動作可能な場合があります。
fcs.defの定義を変更するとFCSで別のオブジェクト型を参照させることが可能です。
Last edited by Lucius; 7 Oct, 2023 @ 1:28am
< >
Showing 1-2 of 2 comments
Lucius  [developer] 7 Oct, 2023 @ 1:15am 
WORLD_EVENT_STATE
  • NPC is, NPC is NOT
    ANIMAL_CHARACTERにするとユニーク動物で判定できます。

ITEMS_CULTURE
  • trade prices
    WEAPON, ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, NEST_ITEMにするとITEM以外の価格補正を設定できます。

  • illegal goods
    WEAPON, ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, NEST_ITEMにするとITEM以外を禁制品に設定できます。
    ただし、ゲームの仕様でインベントリ以外にある禁制品はDC_HAS_ILLEGAL_ITEMで検出できません。

DIALOGUE_LINE
  • is character
    ANIMAL_CHARACTERにすると指定の動物で判定できます。

  • give item
    ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, NEST_ITEM, RESEARCH, WEAPON_MANUFACTURERにするとITEM以外を受け取れます。
    クロスボウと義肢は、level 0になり、表示が試作品等級になります。
    防具もlevel 0ですが、level 100として扱われるため、傑作のlevel 95を超える性能になります。(等級は表示されず、価格と重量がinventoryの設定値に従います)
    設計図は、メッセージにblueprint itemの名前が表示されますが、指定した設計図を受け取れます。
    WEAPONだとクラッシュしますが、WEAPON_MANUFACTURERならweapon modelsとweapon typeの設定に応じて抽選された武器を受け取ることが可能です。(抽選は1回のみでval1を2以上にしても同一武器が渡されます)
    特定の武器を受け取るには、専用の製造元を用意する必要があります。

  • target has item
    WEAPON, ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, NEST_ITEMにするとITEM以外で判定できます。
    ただし、装備すると条件が不成立となります。
Lucius  [developer] 7 Oct, 2023 @ 1:26am 
WORLD_EVENT_STATE
  • NPC is, NPC is NOT
    Replace with ANIMAL_CHARACTER to determine unique animal status.

ITEMS_CULTURE
  • trade prices
    You can set price compensation for equipment, etc. by replacing WEAPON, ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, and NEST_ITEM.

  • illegal goods
    Equipment and other items can be designated as contraband by replacing them with WEAPON, ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, and NEST_ITEM.
    However, contraband located outside of inventory cannot be detected by DC_HAS_ILLEGAL_ITEM.

DIALOGUE_LINE
  • is character
    Replace with ANIMAL_CHARACTER to judge by the specified animal.

  • give item
    If you replace it with ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, NEST_ITEM, RESEARCH, WEAPON_MANUFACTURER, you will receive equipment and other items.
    Crossbows and prosthetic limbs are level 0 and are displayed as prototype grade.
    Armor is also level 0, but is treated as level 100, so it will have a performance level higher than the masterwork level 95. (The grade is not displayed, but the price and weight follow the inventory settings.)
    Blueprints will show the name of the blueprint item in the message, but you will receive the blueprint you specify.
    WEAPON will crash, but WEAPON_MANUFACTURER can receive weapons chosen from the weapon models and weapon type settings.
    To receive a specific weapon, you must have a specific manufacturer.

  • target has item
    If you replace it with WEAPON, ARMOUR, CONTAINER, CROSSBOW, LIMB_REPLACEMENT, MAP_ITEM, or NEST_ITEM, you can judge with the item in question.
    However, if the item is equipped, the condition will not be satisfied.
< >
Showing 1-2 of 2 comments
Per page: 1530 50