C#:
if (e.ItemName == "Сamp Fire")
{
e.Player.Message("That is the subject of");
}
if (e.ItemName == "Сamp Fire")
{
e.Player.Message("That is the subject of");
}
e.Player.Message(e.ItemName);Its CampFire.
Sent From My Samsung Galaxy S4
Why not find out what name it is?module С#
player.Message(e.itemname);
Learned - got a Camp Fire Blueprint - but even if you specify it in check - still no messageWhy not find out what name it is?
C#:player.Message(e.itemname);
public void ArizonaLevelCrafting(CraftingEvent e)what is your full code for On_Crafting?
http://fougerite.com/threads/the-speed-of-airdrop-and-the-time-of-the-explosion-c4.1016/Its CampFire.
Sent From My Samsung Galaxy S4
and what about all the other things?I write PRG system - if to register so ifC#:if (e.ItemName.ToLower().Contains("fire") {
(e.ItemName.ToLower().Contains("fire") || e.ItemName.ToLower().Contains("Cloth Helmet"))
Obviously It won't work...and what about all the other things?I write PRG system - if to register so if
then fire works , but with no helmetC#:(e.ItemName.ToLower().Contains("fire") || e.ItemName.ToLower().Contains("Cloth Helmet"))
if (!File.Exists(Path.Combine(ModuleFolder, "Data.log"))) { File.Create(Path.Combine(ModuleFolder, "Data.log")).Dispose(); }
System.IO.StreamWriter file = new System.IO.StreamWriter(Path.Combine(ModuleFolder, "Data.log"), true);
file.WriteLine("Name: '" + e.ItemName + "'");
file.Close();