1using System.Collections.Generic;
16 List<string> list =
new List<string> {
"hat_santa",
"musicbox_jure",
"1228",
"musicbox_cat",
"1229",
"holyFeather" };
18 foreach (
string item in new List<string> {
"xmas_wreath",
"xmas_garland",
"1232",
"xmas_socks",
"xmas_boot",
"xmas_cane" })
24 Add(
"xmas_pedestal", 1);
25 Add(
"cake_festival", 3);
35 static void Add(
string id,
int num)
38 if (
id ==
"snow_globe")
40 thing2.idSkin = EClass.player.giftJure % 3;
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Card ChangeMaterial(int idNew, bool ignoreFixedMaterial=false)
Effect PlayEffect(string id, bool useRenderPos=true, float range=0f, Vector3 fix=default(Vector3))
void ModNum(int a, bool notify=true)
void Say(string lang, string ref1=null, string ref2=null)
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
static string SayCannotUseHere()
static Thing CreateRecipe(string id)
static Thing CreateLetter(string idLetter)
static Thing Create(string id, int idMat=-1, int lv=-1)
override bool OnUse(Chara c)