This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modded class VicinitySlotsContainer | |
{ | |
override void DoubleClick(Widget w, int x, int y, int button) | |
{ | |
if (button != MouseState.LEFT) { | |
return; | |
} | |
if (!w) { | |
return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modded class MissionGameplay | |
{ | |
override void OnUpdate(float timeslice) | |
{ | |
super.OnUpdate(timeslice); | |
PPERequester_TacticalGoggles req = PPERequester_TacticalGoggles.Cast(PPERequesterBank.GetRequester(PPERequester_TacticalGoggles)); | |
if (!req) { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Drop these files into 3_Game on your server mod | |
// Credit: @InclementDab | |
modded class ImpactMaterials | |
{ | |
static bool IsWearingArmor(EntityAI survivor, string dmg_zone) | |
{ | |
EntityAI check_item; | |
switch (dmg_zone) { |