Skip to content

EA 23.227 Nightly Patch 1

October 29, 2025

3 files modified. 1 new file created.

Important Changes

None.

ActEffect

public static bool Wish(string s, string name, int power, BlessedState state)

cs
		Msg.Say("wishFail");
		return false;
	}
	list.Sort((WishItem a, WishItem b) => b.score - a.score); 
	list.Sort((WishItem a, WishItem b) => (a.score != b.score) ? (b.score - a.score) : (EClass.rnd(10) - EClass.rnd(10))); 
	foreach (WishItem item2 in list)
	{
		Debug.Log(item2.score + "/" + s + "/" + item2.n);

Chara

public void ModCorruption(int a)

cs
{
	if (a > 0)
	{
		if (ResistLv(962) > 0 && EClass.rnd(ResistLv(962) + 1) != 0) 
		if (Evalue(962) >= 25 || (ResistLv(962) > 0 && EClass.rnd(ResistLv(962) + 1) != 0)) 
		{
			return;
		}

ThingContainer

public void AddCurrency(Card owner, string id, int a, SourceMaterial.Row mat = n

cs
	ListCurrency(id);
	foreach (Thing temp in tempList)
	{
		if (!(temp.id != id) && (mat == null || temp.material == mat) && temp.Num + num > 0) 
		if (!(temp.id != id) && (mat == null || temp.material == mat) && (num <= 0 || temp.Num + num > 0)) 
		{
			if (num > 0)
			{

+TraitLumiestCrimAle

File Created
cs
public class TraitLumiestCrimAle : TraitFoodMeal
{
	public override bool CanDrink(Chara c)
	{
		return true;
	}

	public override void OnDrink(Chara c)
	{
		ActEffect.Proc(EffectId.Booze, 500, owner.blessedState, c);
		FoodEffect.ProcTrait(c, owner);
	}
}