Total RP 2
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Slackimo's bag of excuses

Go down

Slackimo's bag of excuses Empty Slackimo's bag of excuses

Post  arekku Tue Feb 18, 2014 2:57 pm

Thought I'd start off with this one (because it's one of the few of my items that actually works)

Pull a random excuse out of the bag of excuses, like Dr Evils big bag of sssch! but with excuses instead.

Code:

TRP2_Module_ImpExport = {
   ["ITE070823410664224"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "08/07/11, 23:41:06 by Takigawa",
      ["Nom"] = "Cat on fire",
      ["VerNum"] = 2,
   },
   ["ITE070823401985261"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "08/07/11, 23:40:57 by Takigawa",
      ["Nom"] = "I broke my leg",
      ["VerNum"] = 2,
   },
   ["Packeur"] = "Takigawa",
   ["Date"] = "18/02/14, 18:53:58",
   ["ITE011822421685066"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "18/01/12, 22:42:16 by Takigawa",
      ["Nom"] = "Hurricane",
      ["VerNum"] = 2,
   },
   ["ITE011822422069341"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "18/01/12, 22:42:20 by Takigawa",
      ["Nom"] = "Telephone",
      ["VerNum"] = 2,
   },
   ["ITE070917213897827"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "09/07/11, 17:21:38 by Takigawa",
      ["Nom"] = "My fish is drowning",
      ["VerNum"] = 2,
   },
   ["ITE070823412024093"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "08/07/11, 23:41:20 by Takigawa",
      ["Nom"] = "Lag",
      ["VerNum"] = 2,
   },
   ["ITE070500422787291"] = {
      ["Poids"] = 3353,
      ["Description"] = "Larimo's bag of excuses for not running back.\n\n\"I broke my leg\"",
      ["bUtilisable"] = true,
      ["Date"] = "10/07/11, 22:00:43 by Takigawa",
      ["TooltipUse"] = "Pull an excuse out of the bag",
      ["Createur"] = "Takigawa",
      ["Icone"] = "INV_Misc_Bag_11",
      ["Composants"] = " 1  1  1  1  1  1  1  1  1  1 ",
      ["Qualite"] = 2,
      ["Charges"] = 100,
      ["Valeur"] = 132,
      ["Nom"] = "Slackimo's Bag of Excuses",
      ["OnUseEndScripts"] = "exc = {}\nfor a,b in pairs(TRP2_Module_ObjetsPerso) do\nif b[\"Categorie\"]==\"Excuse\" then\ntable.insert(exc,a)\nend\nend\nrnd = math.random(getn(exc))\nexc = exc[rnd]\nTRP2_InvAddObjet(exc,\"Sac\",nil,1)\n",
      ["Categorie"] = "Container",
      ["Outils"] = " 1  1  1  1  1",
      ["Cooldown"] = 5,
      ["VerNum"] = 10,
   },
   ["ITE072323475190551"] = {
      ["Createur"] = "Takigawa",
      ["Categorie"] = "Excuse",
      ["Icone"] = "INV_Misc_Note_04",
      ["Date"] = "23/07/11, 23:47:51 by Takigawa",
      ["Nom"] = "Had pizza in oven",
      ["VerNum"] = 2,
   },
}

arekku

Posts : 14
Join date : 2014-02-17

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum