Garry's Mod

Garry's Mod

27 oy
ttt_potOfGreed
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Silah
Dosya Boyutu
Gönderilme
Güncellenme
269.448 KB
7 Mar 2020 @ 8:15
10 Nis 2020 @ 5:37
5 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
ttt_potOfGreed

Açıklama
Pot of greed is a weapon mod for Garry's mod's Trouble in Terrorist Town 2. It doesn't work with the original TTT gamemode as of now.

Github: can't link, my full name is apparently very insulting for steam. Ask me in DM or find it on github under the name of ttt_potOfGreed, made by some guy named Nicolas Lutz, all attached.

What does pot of greed even do?
Much like its Yu-Gi-Oh! counterpart, this item gives you two random items from the shop of your role.
Game design-wise, this item should be used when a shop contains a lot of different items modded in, as more often than not, some shop items go unused. The user will be able to enjoy an increased number of items in exchange for control over which items they want to buy.

ConVar options
  • ttt_potOfGreed_nbItemsToGive allows you to change the number of shop items given by the pot of greed (default is 2).

  • ttt_potOfGreed_conflictPolicy determines what to do when an item received takes the same slot as an item already in the buyer's inventory (default is 2).
    • 0 - do nothing. The new item is lost.
    • 1 - override the current item. The user may still lose items if several items taking the same slot are obtained.
    • 2 - override the current item, and prevent next given items from overriding this new item (e.g. you won't get a slot 4 grenade after another slot 4 grenade, but you might get two slot 7 items).
    • 3 - avoid needing to override the current item by preventing the pot from giving the same kind of item (e.g. you won't get a slot 4 grenade if you already have one when buying the pot. Not recommended, necessary on rare occasions).
    The conflict policy only concerns items taking standard slots (<6), otherwise it acts as if it was set to 0. The best is to make the pot the first item you buy if you want to use it!

Known issues

How to install
Subscribe to the collection, or download and extract the project from github in your addons folder. In any case, make sure TTT2 is installed as well.
Popüler Tartışmalar Tümünü Görüntüle (1)
2
14 Tem 2020 @ 10:54
% draw?
Arc Asterisk (Ion)
13 Yorum
TheSealWithSalt 16 Haz 2024 @ 3:14 
Wish the Item would work, as of now it drops nothing, we have a limited shop for variety, idk if it clashes with that perhaps, any idea ?
Sirius 29 Mar 2024 @ 11:38 
Everyday im crying at the club over how this is broken.
mexikoedi 25 Şub 2024 @ 14:16 
It creates an error on the newest version of TTT2 (0.13.0b) and seems to not work correctly:
Here the error:
[ttt_potOfGreed] lua/weapons/weapon_ttt_potofgreed.lua:157: attempt to call global 'EquipmentIsBuyable' (a nil value)
1. func_update - lua/weapons/weapon_ttt_potofgreed.lua:157
2. UpdateEquipmentTable - lua/weapons/weapon_ttt_potofgreed.lua:113
3. WasBought - lua/weapons/weapon_ttt_potofgreed.lua:156
4. callback - gamemodes/terrortown/gamemode/shared/sh_shop.lua:310
5. GiveEquipmentWeapon - gamemodes/terrortown/gamemode/server/sv_player_ext.lua:474
6. BuyEquipment - gamemodes/terrortown/gamemode/shared/sh_shop.lua:307
7. func - gamemodes/terrortown/gamemode/server/sv_shop.lua:95
8. unknown - lua/includes/extensions/net.lua:38
wizard ducklett 1 Tem 2022 @ 20:12 
but what does it do
Lutzi🦉  [yaratıcı] 10 Eyl 2021 @ 13:02 
No chance but I don't remember why I couldn't
The Pie Man 1 Eyl 2021 @ 9:25 
Any chance this will be ported to original TTT?
Dac64 11 Eyl 2020 @ 11:54 
WHAT DOES POT OF GREED DO!?
QU1CK5C0P3RM4N9000_YT 15 Mar 2020 @ 23:43 
bUt wHaT dOeS pOt-Of-GrEeD dO!!??/??/?!!!111!!
Pedrones7777 9 Mar 2020 @ 8:40 
tell me, what does it do?
not_ryuka 8 Mar 2020 @ 9:51 
what does it even do?