Instalar Steam						
					
				
				
									iniciar sesión
											 | 
						idioma
						
																																					简体中文 (Chino simplificado)
																													繁體中文 (Chino tradicional)
																													日本語 (Japonés)
																													한국어 (Coreano)
																													ไทย (Tailandés)
																													български (Búlgaro)
																													Čeština (Checo)
																													Dansk (Danés)
																													Deutsch (Alemán)
																													English (Inglés)
																													Español - España
																																							Ελληνικά (Griego)
																													Français (Francés)
																													Italiano
																													Bahasa Indonesia (indonesio)
																													Magyar (Húngaro)
																													Nederlands (Holandés)
																													Norsk (Noruego)
																													Polski (Polaco)
																													Português (Portugués de Portugal)
																													Português - Brasil (Portugués - Brasil)
																													Română (Rumano)
																													Русский (Ruso)
																													Suomi (Finés)
																													Svenska (Sueco)
																													Türkçe (Turco)
																													Tiếng Việt (Vietnamita)
																													Українська (Ucraniano)
																									Informar de un error de traducción
							
						
 
											 
													


 
						 
						 
						 
						 
						 
						 
						 
						 
						 
						 
						 
						

 En Twitter
En Twitter									 
							 
			
 20
 20			 
					





Thanks so much for reading my TED talk. =)
{
"SlotName": "Dogtag",
"Items": [
{
"ClassName": "Dogtag_Bandit",
"Chance": 1.0,
"Quantity": {
"Min": 0.0,
"Max": 0.0
},
"Health": [
{
"Min": 1.0,
"Max": 1.0,
"Zone": ""
}
],
"InventoryAttachments": [],
"InventoryCargo": [],
"ConstructionPartsBuilt": [],
"Sets": []
}
]
},
since AIs are currently still considered “players,” they may also receive them (not verified).
override Dogtag_Base EquipDogtag(PlayerBase player)
{
Dogtag_Base tag;
if (!player.HasDogtag()) // check if the player has a tag already
// create a new tag is the player doesn't have one
int slotId = InventorySlots.GetSlotIdFromString("Dogtag");
// update player's dogtags base on time
float playtime = player.StatGet("playtime");
// create dog tag based on playtime
if (playtime > 86400 && playtime < 259199)
{
tag = player.GetInventory().CreateAttachmentEx("Dogtag_Silver", slotId);
}
else if (playtime > 259200 && playtime < 604799)
{
tag = player.GetInventory().CreateAttachmentEx("Dogtag_Granite", slotId);
}
else if (playtime > 604800)
{
tag = player.GetInventory().CreateAttachmentEx("Dogtag_Cobalt", slotId);
}
else
{
tag = player.GetInventory().CreateAttachmentEx("Dogtag_Survivor", slotId);
}
}
tag = player.GetDogtag(); // get current tag on player, new or existing
tag.SetNickName(player.GetIdentity().GetName()); // updates player's name
return tag;
}