added adtional repairable water source
This commit is contained in:
parent
4bd4a74152
commit
afc71bf73e
1 changed files with 3 additions and 0 deletions
|
|
@ -112,12 +112,15 @@ class YAInteractionConfigLoader
|
||||||
// a substring, so the base name is enough.
|
// a substring, so the base name is enough.
|
||||||
// (proxyName, actionType, lootTable, cooldownSec, searchChance%, searchMin, searchMax)
|
// (proxyName, actionType, lootTable, cooldownSec, searchChance%, searchMin, searchMax)
|
||||||
d.Interactables.Insert(MakeEntry("case_sink_a", YAInteractionConfig.ACTION_REPAIR_WATER, "", Settings.SinkPlayerCooldownSec));
|
d.Interactables.Insert(MakeEntry("case_sink_a", YAInteractionConfig.ACTION_REPAIR_WATER, "", Settings.SinkPlayerCooldownSec));
|
||||||
|
d.Interactables.Insert(MakeEntry("sink", YAInteractionConfig.ACTION_REPAIR_WATER, "", Settings.SinkPlayerCooldownSec));
|
||||||
d.Interactables.Insert(MakeEntry("lekarnicka", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_MED, Settings.ObjectCooldownSec, 60.0, 1, 2));
|
d.Interactables.Insert(MakeEntry("lekarnicka", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_MED, Settings.ObjectCooldownSec, 60.0, 1, 2));
|
||||||
d.Interactables.Insert(MakeEntry("fridge", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_FOOD, Settings.ObjectCooldownSec, 75.0, 1, 2));
|
d.Interactables.Insert(MakeEntry("fridge", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_FOOD, Settings.ObjectCooldownSec, 75.0, 1, 2));
|
||||||
// Works for vending machines SPAWNED STANDALONE (init.c / CE) - matched as
|
// Works for vending machines SPAWNED STANDALONE (init.c / CE) - matched as
|
||||||
// a real entity by classname (StaticObj_Furniture_vending_machine). House-
|
// a real entity by classname (StaticObj_Furniture_vending_machine). House-
|
||||||
// baked vending proxies still can't be detected (no targetable object).
|
// baked vending proxies still can't be detected (no targetable object).
|
||||||
d.Interactables.Insert(MakeEntry("vending_machine", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_VENDING, Settings.ObjectCooldownSec, 80.0, 1, 2));
|
d.Interactables.Insert(MakeEntry("vending_machine", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_VENDING, Settings.ObjectCooldownSec, 80.0, 1, 2));
|
||||||
|
//For future reference, static objects along patrhways (e.g. crates, barrels, boxes) with various random loot.
|
||||||
|
//d.Interactables.Insert(MakeEntry("Wooden_Crate", YAInteractionConfig.ACTION_SEARCH, YAInteractionConfig.TABLE_FOOD, Settings.ObjectCooldownSec, 90.0, 1, 3));
|
||||||
|
|
||||||
// --- Loot tables (classnames verified in P:\DZ) ---
|
// --- Loot tables (classnames verified in P:\DZ) ---
|
||||||
YALootTable med = MakeTable(YAInteractionConfig.TABLE_MED);
|
YALootTable med = MakeTable(YAInteractionConfig.TABLE_MED);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue