32 if (!EClass.pc.CanLift(tg))
34 EClass.pc.Say(
"tooHeavy", tg);
39 if (EClass.player.flags.pickedMelilithTreasure)
41 EClass.pc.PlaySound(
"curse3");
42 EClass.pc.PlayEffect(
"curse");
43 EClass.pc.SetFeat(1206, 1, msg: true);
44 EClass.player.flags.gotMelilithCurse = true;
48 Msg.Say(
"pickedMelilithTreasure");
49 EClass.player.flags.pickedMelilithTreasure = true;
50 EClass.game.quests.Get<QuestCursedManor>()?.NextPhase();
57 tg.PlaySoundHold(spatial: false);
58 EClass.player.RefreshCurrentHotItem();
59 ActionMode.Adv.planRight.Update(ActionMode.Adv.mouseTarget);
60 EClass.pc.renderer.Refresh();
64 }, tg,
null, 1, isHostileAct:
false, localAct:
false);
67 if (taskHarvest !=
null)
69 p.TrySetAct(taskHarvest);
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
bool HasEditorTag(EditorTag tag)
void HoldCard(Card t, int num=-1)
override bool TrySetAct(ActPlan p)
override Sprite GetSprite()
static bool _TrySetAct(ActPlan p)
List< Card > ListVisibleCards()
static TaskHarvest TryGetAct(Chara c, Point p)